- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGenericHttpResponseChecker (0.41 sec)
-
staging/src/k8s.io/apiserver/pkg/registry/generic/rest/response_checker_test.go
package rest import ( "bytes" "fmt" "io/ioutil" "net/http" "reflect" "strings" "testing" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" ) func TestGenericHttpResponseChecker(t *testing.T) { responseChecker := NewGenericHttpResponseChecker(v1.Resource("pods"), "foo") tests := []struct { resp *http.Response expectError bool expected error name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 19:04:33 UTC 2018 - 2.6K bytes - Viewed (0)