Esempio n. 1
0
 /// <summary>
 /// </summary>
 public static void ExploreAndRegisterAssemblies()
 {
     foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())
     {
         ExploreAndRegisterTestSuites(asm);
         if (Assembly2TestSuiteLink.GetTestSuites(asm).Count != 0)
         {
             AssemblyExplorer.SetAssemblyStatus(asm, AssemblyStatus.UNKNOWN);
         }
     }
 }
Esempio n. 2
0
        public static void UpdateAssemblyTimeElapsed(Assembly asm)
        {
            double totaltime = 0;

            foreach (var ts in Assembly2TestSuiteLink.GetTestSuites(asm))
            {
                UpdateTestSuiteTimeElapsed(ts);
                double testtime = GetTestSuiteTimeElapsed(ts);
                if (testtime != -1)
                {
                    totaltime += testtime;
                }
            }
            SetAssemblyTimeElapsed(asm, totaltime);
        }