- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testForbidden (0.42 sec)
-
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
fun test(component: Component) = apply { for ((codePoint, encoding) in encodings) { val codePointString = Encoding.IDENTITY.encode(codePoint) if (encoding == Encoding.FORBIDDEN) { testForbidden(codePoint, codePointString, component) continue } if (encoding == Encoding.PUNYCODE) { testPunycode(codePointString, component) continue }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go
result := observer.Body.String() if result != test.expected { t.Errorf("%s(..., %q) != %q, got %q", test.fn, test.uri, test.expected, result) } } } func TestForbidden(t *testing.T) { u := &user.DefaultInfo{Name: "NAME"} cases := []struct { expected string attributes authorizer.Attributes reason string contentType string }{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 29 07:45:20 UTC 2022 - 4.3K bytes - Viewed (0)