Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bodyContains (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top