Beispiel #1
0
        public static void TestClassCleanup()
        {
            try
            {
                if (cleanup)
                {
                    log("cleaning up test data...");
                    CleanupTestData();
                }
            }
            catch
            {
                log("cleanup test data failed. The data may or may not been deleted");
            }
            finally
            {
                foreach (var client in clients)
                {
                    client.Dispose();
                }

                helperClient.Dispose();
            }
        }