Exemple #1
0
        public void AfterEachTest()
        {
            queue.Dispose();
            thread.Dispose();

            AppDomain currentDomain = AppDomain.CurrentDomain;

            currentDomain.UnhandledException -= errorHandler;

            Assert.IsTrue(unhandledException == null || unhandledException is ThreadAbortException);
        }