Esempio n. 1
0
        public static void ResetResult(UnitTest test)
        {
            if (test == null)
            {
                return;
            }
            test.ResetLastResult();
            UnitTestGroup group = test as UnitTestGroup;

            if (group == null)
            {
                return;
            }
            foreach (UnitTest t in new List <UnitTest> (group.Tests))
            {
                ResetResult(t);
            }
        }
Esempio n. 2
0
		public static void ResetResult (UnitTest test)
		{
			if (test == null)
				return;
			test.ResetLastResult ();
			UnitTestGroup group = test as UnitTestGroup;
			if (group == null) 
				return;
			foreach (UnitTest t in new List<UnitTest> (group.Tests))
				ResetResult (t);
		}
 void ResetResult(UnitTest test)
 {
     test.ResetLastResult ();
     UnitTestGroup group = test as UnitTestGroup;
     if (group == null) return;
     foreach (UnitTest t in group.Tests)
         ResetResult (t);
 }