Exemplo n.º 1
0
 /// <summary>
 /// Adds a new class to the test project's classes only if
 /// the class is a test class.
 /// </summary>
 void AddNewTestClass(IClass c)
 {
     if (IsTestClass(c))
     {
         TestClass testClass = CreateTestClass(c);
         TestClasses.Add(testClass);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Adds a new class to the test project's classes only if
 /// the class is a test class.
 /// </summary>
 void AddNewTestClass(IClass c)
 {
     if (TestClass.IsTestClass(c))
     {
         TestClass testClass = new TestClass(c);
         TestClasses.Add(testClass);
     }
 }