WriteLogFile() public method

Stores a log file for the test run. Depending on the execution environment, this call may not successful.
public WriteLogFile ( string logName, string fileContent ) : void
logName string The name of the log file.
fileContent string The log file content as a string.
return void
コード例 #1
0
 public void WriteLogFile(UnitTestHarness harness)
 {
     _writer.Finished = DateTime.Now;
     harness.WriteLogFile(TestResultsFileName, _writer.GetXmlAsString());
 }
コード例 #2
0
 public void WriteLogFile(UnitTestHarness harness)
 {
     _writer.Finished = DateTime.Now;
     harness.WriteLogFile(TestResultsFileName, _writer.GetXmlAsString());
 }