- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 7,625 for expect (0.04 sec)
-
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
}.also { expected -> assertThat(expected.message!!).contains("refused") } } @Test fun http100Continue() { server.enqueue(MockResponse().setBody("response")) val url = server.url("/").toUrl() val connection = url.openConnection() as HttpURLConnection connection.setDoOutput(true) connection.setRequestProperty("Expect", "100-Continue")Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
lenient().doNothing().when(mockBuffer).enc_ndr_small(anyInt()); DcerpcBind bindWithParams = new DcerpcBind(mockBinding, mockHandle); // When/Then - Expect NPE due to UUID.encode() limitations assertThrows(NullPointerException.class, () -> { bindWithParams.encode_in(mockBuffer); }, "Should fail on UUID encoding"); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
cmd/sftp-server.go
return nil, errAuthentication } } // Save each attribute to claims. claims[ldapAttribPrefix+attribKey] = attribValue[0] } if key != nil { // If a key was provided, we expect the user to have an sshPublicKey // attribute. if _, ok := claims[ldapAttribPrefix+"sshPublicKey"]; !ok { return nil, errAuthentication } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.5K bytes - Viewed (0) -
cmd/sts-handlers.go
if err != nil { writeSTSErrorResponse(ctx, w, ErrSTSAccessDenied, err) return } if newGlobalAuthZPluginFn() == nil { // if authZ is not set - we expect the policies to be present. if globalIAMSys.CurrentPolicies(p) == "" { writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue,Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.compare(0, 0)); assertEquals(0, expected.value); reserializeAndAssert(c); } public void testExplicit_one() { Comparator<Integer> c = Ordering.explicit(0); assertEquals(0, c.compare(0, 0)); IncomparableValueException expected =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
IncomparableValueException expected = assertThrows(IncomparableValueException.class, () -> c.compare(0, 0)); assertEquals(0, expected.value); reserializeAndAssert(c); } public void testExplicit_one() { Comparator<Integer> c = Ordering.explicit(0); assertEquals(0, c.compare(0, 0)); IncomparableValueException expected =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 42.8K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
instead use the **(old) default value style**, if you call that function without FastAPI in **other places**, you have to **remember** to pass the arguments to the function for it to work correctly, otherwise the values will be different from what you expect (e.g. `QueryInfo` or something similar instead of `str`). And your editor won't complain, and Python won't complain running that function, only when the operations inside error out. Because `Annotated` can have more than one metadata annotation,...
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
misc/go_android_exec/main.go
// binary name instead. adb("exec-out", "killall -QUIT "+binName) } }() cmd := `export TMPDIR="` + deviceGotmp + `"` + `; export GOROOT="` + deviceGoroot + `"` + `; export GOPATH="` + deviceGopath + `"` + `; export CGO_ENABLED=0` + `; export GOPROXY=` + os.Getenv("GOPROXY") + `; export GOCACHE="` + deviceRoot + `/gocache"` + `; export PATH="` + deviceGoroot + `/bin":$PATH` +
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
Request .Builder() .url(server.url("/")) .build(), ) assertFailsWith<IOException> { call.execute() }.also { expected -> assertThat(expected.message).isIn("timeout", "Read timed out") } assertThat(eventRecorder.recordedEventTypes()).containsExactly( CallStart::class, ProxySelectStart::class, ProxySelectEnd::class,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
import okio.Source import okio.Timeout /** * Reads HTTP/2 transport frames. * * This implementation assumes we do not send an increased [frame][Settings.getMaxFrameSize] to the * peer. Hence, we expect all frames to have a max length of [Http2.INITIAL_MAX_FRAME_SIZE]. */ class Http2Reader( /** Creates a frame reader with max header table size of 4096. */ private val source: BufferedSource,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0)