示例#1
0
 public void EndTest(Guid id, LogStatus status, Exception e)
 {
     tests[id].Log(Convert(status), e);
     report.EndTest(tests[id]);
     Flush();
 }
示例#2
0
 public void LogTest(Guid id, LogStatus status, string description = null)
 => tests[id].Log(Convert(status), description);
示例#3
0
 public void EndTest(Guid id, LogStatus status, string details)
 {
     tests[id].Log(Convert(status), details);
     report.EndTest(tests[id]);
     Flush();
 }
示例#4
0
 RelevantCodes.ExtentReports.LogStatus Convert(LogStatus status)
 => (RelevantCodes.ExtentReports.LogStatus)Enum
 .Parse(typeof(RelevantCodes.ExtentReports.LogStatus), status.ToString());