Beispiel #1
0
 public void CheckCustomException(Type testClassType, IRunnableTest test)
 {
     try
     {
         test.RunTest();
     }
     catch (Exception ex)
     {
         throw new Exception($"The custom exception test for class {testClassType.Name} failed - see inner exception for details.", ex);
     }
 }
Beispiel #2
0
 protected void AddTest(IRunnableTest test)
 {
     m_tests.Add(test);
 }
Beispiel #3
0
 protected void AddTest(IRunnableTest test)
 {
     m_tests.Add( test );
 }