WriteLine() public method

public WriteLine ( ) : void
return void
Beispiel #1
0
 protected FXQATestBase() : base()
 {
     if (log == null)
     {
         log = new FXTest.Log.Log();
     }
     testName = this.GetType().Name;
     log.StartTest(testName);
     log.WriteTag("TestInitialize", false);
     try {
         InitTest();
         if (baseInitTestCalled)
         {
             initPassed = true;
         }
         else
         {
             initPassed = false;
             log.WriteLine("*****ERROR: FXQATestBase.InitTest() was not called!");
             log.WriteLine("*****All test classes which override InitTest() must call base.InitTest().");
         }
     }
     catch (Exception e) {
         log.WriteLine("Test initialization failed :");
         log.WriteLine();
         log.WriteLine(e.ToString());
     }
     log.CloseTag();
 }
Beispiel #2
0
 public void IncCounters (bool b, String comments, Log log) {
     IncCounters(b, comments);
     if ( !b && log != null )
         log.WriteLine(Comments);
 }
Beispiel #3
0
 public ScenarioResult(bool b, string comments, Log log) : this(b, comments) {
     if ( !b && log != null )
         log.WriteLine(comments);
 }