protected override void AssertContentNotContainsEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response content ", $"does not contain {arg.ActionValue}.");
Пример #2
0
 protected virtual void AssertContentTypeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertContentEncodingEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response Cache-Info header ", $"is equal to {arg.ActionValue}.");
Пример #4
0
 protected override void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response ", $"cookie {arg.ActionValue} exists.");
Пример #5
0
 protected virtual void AssertResponseHeaderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertResultNotEqualsEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response content ", $"is not equal to {arg.ActionValue}.");
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response status code ", "is successfull.");
Пример #8
0
 protected virtual void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Пример #9
0
 protected virtual void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
Пример #10
0
 protected override void AssertSuccessStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response status code ", "is successfull.");
Пример #11
0
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response ", "is compatible to specified schema.");
Пример #12
0
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response status code ", $"is equal to {arg.ActionValue}.");
Пример #13
0
 protected override void AssertResultEqualsEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response content ", $"is equal to {arg.ActionValue}.");
Пример #14
0
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response execution time ", $"is under {arg.ActionValue}.");
 protected override void AssertCookieExistsEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response ", $"cookie {arg.ActionValue} exists.");
Пример #16
0
 protected virtual void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertExecutionTimeUnderEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response execution time ", $"is under {arg.ActionValue}.");
Пример #18
0
 protected virtual void AssertResultNotEqualsEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response status code ", $"is equal to {arg.ActionValue}.");
Пример #20
0
 protected virtual void AssertStatusCodeEventHandler(object sender, ApiAssertEventArgs arg)
 {
 }
 protected override void AssertSchemaEventHandler(object sender, ApiAssertEventArgs arg) => BugReportingContextService.AddAssertStep($"Assert response ", "is compatible to specified schema.");
Пример #22
0
 protected override void AssertContentContainsEventHandler(object sender, ApiAssertEventArgs arg) => DynamicTestCasesService.AddAssertStep($"Assert response content ", $"contains {arg.ActionValue}.");