Beispiel #1
0
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response status code is successfull.");
Beispiel #2
0
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response is compatible to specified schema.");
Beispiel #3
0
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response execution time is under {arg.ActionValue}.");
Beispiel #4
0
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response status code is equal to {arg.ActionValue}.");
Beispiel #5
0
 protected override void AssertContentNotContainsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response content does not contain {arg.ActionValue}.");
Beispiel #6
0
 protected override void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response cookie {arg.ActionValue} exists.");
 protected virtual void AssertResponseHeaderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Beispiel #8
0
 protected override void AssertResponseHeaderEventHandler(object sender, ApiAssertEventArgs arg) => Logger.LogInformation($"Assert response header is equal to {arg.ActionValue}.");
 protected virtual void AssertResultNotEqualsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected virtual void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Beispiel #14
0
 protected override void AssertContentEncodingEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response Cache-Info header is equal to {arg.ActionValue}.");
 protected virtual void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Beispiel #16
0
 protected override void AssertContentEqualsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response content is equal to {arg.ActionValue}.");
Beispiel #17
0
 protected override void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg) => Logger.LogInformation($"Assert response Content-Type is equal to {arg.ActionValue}.");