- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,412 for shouldn (0.25 sec)
-
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
/** * RegularImmutableAsList should assume its input is null-free without checking, because it only * gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused = new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null}); // shouldn't throw! }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 1.4K bytes - Viewed (0) -
cmd/generic-handlers_test.go
r := &http.Request{ Proto: "HTTP/1.0", Method: http.MethodPost, URL: u, } if !guessIsRPCReq(r) { t.Fatal("Test shouldn't fail for a possible net/rpc request.") } r = &http.Request{ Proto: "HTTP/1.1", Method: http.MethodGet, } if guessIsRPCReq(r) { t.Fatal("Test shouldn't report as net/rpc for a non net/rpc request.") } r = &http.Request{ Proto: "HTTP/1.1", Method: http.MethodGet,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 17:44:56 GMT 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
helper = new SynchronizedAtomicHelper(); } ATOMIC_HELPER = helper; // Log after all static init is finished; if an installed logger uses any Futures methods, it // shouldn't break in cases where reflection is missing/broken. if (thrownReflectionFailure != null) { log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
checkMemoize(countingSupplier, memoizedSupplier); // Calls to the original memoized supplier shouldn't affect its copy. Object unused = memoizedSupplier.get(); assertThat(memoizedSupplier.toString()) .isEqualTo("Suppliers.memoize(<supplier that returned 10>)"); // Should get an exception when we try to serialize.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
checkMemoize(countingSupplier, memoizedSupplier); // Calls to the original memoized supplier shouldn't affect its copy. Object unused = memoizedSupplier.get(); assertThat(memoizedSupplier.toString()) .isEqualTo("Suppliers.memoize(<supplier that returned 10>)"); // Should get an exception when we try to serialize.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Cause should be available.", exception, handler.exception); assertEquals("EventBus should be available.", eventBus, handler.context.getEventBus()); assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.",
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
}.also { expected -> assertThat(expected.message).isEqualTo("timeout") } } /** * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout shouldn't * elapse because it shouldn't start until the request body is sent. */ @Test fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteNoFire() { enableProtocol(Protocol.HTTP_2) server.enqueue(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 23.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt
bufferB.writeUtf8("You shouldn't use my name.\n") operatorB.write(9, bufferB, 27) bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n") operatorA.write(36, bufferA, 33) operatorB.read(0, bufferB, 9) assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n") operatorA.read(9, bufferA, 27) assertThat(bufferA.readUtf8()).isEqualTo("You shouldn't use my name.\n")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.8K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
_, err := w.Write([]byte("1")) if err != context.DeadlineExceeded { t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded") } _, err = w.Write([]byte("1")) if err != context.DeadlineExceeded { t.Error("DeadlineWriter shouldn't be successful - should return context.DeadlineExceeded") } w.Close()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Feb 02 11:02:31 GMT 2024 - 5.1K bytes - Viewed (0)