コード例 #1
0
 /// <summary>
 /// Logs an <see cref="Status.Fatal"/> event with details and a media object <see cref="ScreenCapture"/>
 /// </summary>
 /// <param name="details">Details</param>
 /// <param name="provider">A <see cref="MediaEntityModelProvider"/> object</param>
 /// <returns>A <see cref="ExtentTest"/> object</returns>
 public ExtentTest Fatal(string details, MediaEntityModelProvider provider = null)
 {
     return(Log(Status.Fatal, details, provider));
 }
コード例 #2
0
 /// <summary>
 /// Logs an <see cref="Status.Fail"/> event with an exception and a media object <see cref="ScreenCapture"/>
 /// </summary>
 /// <param name="ex"><see cref="Exception"/></param>
 /// <param name="provider">A <see cref="MediaEntityModelProvider"/> object</param>
 /// <returns>A <see cref="ExtentTest"/> object</returns>
 public ExtentTest Fail(Exception ex, MediaEntityModelProvider provider = null)
 {
     return(Log(Status.Fail, ex, provider));
 }
コード例 #3
0
 /// <summary>
 /// Logs an <see cref="Status.Info"/> event with details and a media object <see cref="ScreenCapture"/>
 /// </summary>
 /// <param name="details">Details</param>
 /// <param name="provider">A <see cref="MediaEntityModelProvider"/> object</param>
 /// <returns>A <see cref="ExtentTest"/> object</returns>
 public ExtentTest Info(string details, MediaEntityModelProvider provider = null)
 {
     Log(Status.Info, details, provider);
     return(this);
 }
コード例 #4
0
 /// <summary>
 /// Logs an <see cref="Status.Debug"/> event with details and a media object <see cref="ScreenCapture"/>
 /// </summary>
 /// <param name="details">Details</param>
 /// <param name="provider">A <see cref="MediaEntityModelProvider"/> object</param>
 /// <returns>A <see cref="ExtentTest"/> object</returns>
 public ExtentTest Debug(string details, MediaEntityModelProvider provider = null)
 {
     return(Log(Status.Debug, details, provider));
 }
コード例 #5
0
 /// <summary>
 /// Logs an <see cref="Status.Error"/> event with details and a media object <see cref="ScreenCapture"/>
 /// </summary>
 /// <param name="details">Details</param>
 /// <param name="provider">A <see cref="MediaEntityModelProvider"/> object</param>
 /// <returns>A <see cref="ExtentTest"/> object</returns>
 public ExtentTest Error(string details, MediaEntityModelProvider provider = null)
 {
     return(Log(Status.Error, details, provider));
 }
コード例 #6
0
 /// <summary>
 /// Logs an <see cref="Status.Warning"/> event with an exception and a media object <see cref="ScreenCapture"/>
 /// </summary>
 /// <param name="ex"><see cref="Exception"/></param>
 /// <param name="provider">A <see cref="MediaEntityModelProvider"/> object</param>
 /// <returns>A <see cref="ExtentTest"/> object</returns>
 public ExtentTest Warning(Exception ex, MediaEntityModelProvider provider = null)
 {
     return(Log(Status.Warning, ex, provider));
 }