- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for bodyContains (0.16 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/HtmlDependencyVerificationReportRendererTest.groovy
when: generateReport() then: bodyContains("First section") bodyContainsExact("First section 0 error") when: renderer.startNewSection("Second section") generateReport() then: bodyContains("First section") bodyContains("Second section") bodyContainsExact("First section 0 error")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 14.6K bytes - Viewed (0) -
tests/integration/pilot/label_test.go
to := apps.A // First, expect to fail. Subset does not match _ = from.CallOrFail(t, echo.CallOptions{ To: to, Port: echo.Port{ Name: "http", }, Count: 1, Check: check.BodyContains("no healthy upstream"), }) lbls := map[string]string{"subset": "my-subset"} assert.NoError(t, to[0].UpdateWorkloadLabel(lbls, nil)) t.Cleanup(func() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/test/framework/components/echo/check/checkers.go
return nil } return fmt.Errorf("expected gRPC response code %q. Instead got: %w", expected.String(), err) } } // BodyContains checks that the response body contains the given string. func BodyContains(expected string) echo.Checker { return Each(func(r echoClient.Response) error { if !strings.Contains(r.RawContent, expected) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 03 16:19:07 UTC 2023 - 17.5K bytes - Viewed (0) -
tests/integration/security/egress_sidecar_tls_origination_test.go
exRsp.ErrorMessage, err, result.Responses) } return nil } return check.And(check.NoErrorAndStatus(exRsp.StatusCode), check.BodyContains(exRsp.ErrorMessage)).Check(result, nil) }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
// IP=10.244.2.20 // Alpn= // RequestHeader=Accept:*/* // RequestHeader=User-Agent:curl/7.81.0 // Hostname=uncaptured-v1-868c9b59b5-rxvfq Check: check.BodyContains(`Hostname=uncaptured-v`), // can hit v1 or v2 }) }) }) } }) } // Ambient ServiceEntry support for auto assigned vips is lacking for now, but planned.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
tests/integration/security/authz_test.go
HTTP: echo.HTTP{ Path: c.path, Headers: headers.New().WithHost(c.host).WithAuthz(c.token).Build(), }, Check: check.And(check.NoErrorAndStatus(wantCode), check.BodyContains(body)), } from.CallOrFail(t, opts) }) } }) }) } func TestAuthz_Conditions(t *testing.T) { framework.NewTest(t).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0)