Пример #1
0
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response status code is successfull.");
Пример #2
0
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response is compatible to specified schema.");
Пример #3
0
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response execution time is under {arg.ActionValue}.");
Пример #4
0
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response status code is equal to {arg.ActionValue}.");
Пример #5
0
 protected override void AssertContentNotContainsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response content does not contain {arg.ActionValue}.");
Пример #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)
 {
 }
Пример #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)
 {
 }
Пример #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)
 {
 }
Пример #16
0
 protected override void AssertContentEqualsEventHandler(object sender, ApiAssertEventArgs arg) => DebugLogger.LogInformation($"Assert response content is equal to {arg.ActionValue}.");
Пример #17
0
 protected override void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg) => Logger.LogInformation($"Assert response Content-Type is equal to {arg.ActionValue}.");