- Sort Score
- Result 10 results
- Languages All
Results 2861 - 2870 of 3,252 for It (0.02 sec)
-
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
* have started execution. This applies also to tasks given to {@code invokeAll} or {@code * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet * started execution. It is unclear from the {@code ExecutorService} specification if these should * be included, and it's much easier to implement the interpretation that they not be. Finally, a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
/** * Invoked to request the service to stop. * * <p>By default this method does nothing. * * <p>Currently, this method is invoked while holding a lock. If an implementation of this method * blocks, it can prevent this service from changing state. If you need to performing a blocking * operation in order to trigger shutdown, consider instead registering a listener and
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
// Test setting a custom instance LogStream.setInstance(testStream); LogStream instance = LogStream.getInstance(); assertNotNull(instance); // Write something to verify it uses our test stream instance.println("test message"); instance.flush(); String output = testOutput.toString(); assertTrue(output.contains("test message")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* new ClassSanityTester() * .forAllPublicStaticMethods(FooFactoryForTest.class) * .thatReturn(Foo.class) * .testEquals(); * } * } * </pre> * * <p>It will test that Foo objects created by the {@code create(a, b, c, d)} factory method with * equal parameters are equal and vice versa, thus indirectly tests the builder equality. */ public void testEquals(Class<?> cls) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Execute final SsoMessageException exception = new SsoMessageException(messageCode, message); // Verify that it has serialVersionUID (indirectly by checking it's serializable) assertTrue(exception instanceof java.io.Serializable); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
val mediaType = parse("text/plain; charset=utf-8; charset=utf-16") assertEquals("UTF-8", mediaType.charsetName()) } /** * This is invalid according to RFC 822. But it's what Chrome does and it avoids a potentially * unpleasant IllegalCharsetNameException. */ @Test fun testCharsetNameIsSingleQuoted() { val mediaType = parse("text/plain;charset='utf-8'")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
assertEquals(message, exception.getMessage()); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Test that it can be thrown as IOException assertThrows(IOException.class, () -> { throw exception; }); } } @Nested @DisplayName("Edge Cases")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
} val elapsedUntilPong3 = System.nanoTime() - startNanos assertThat(TimeUnit.NANOSECONDS.toMillis(elapsedUntilPong3).toDouble()) .isCloseTo(1500.0, 250.0) // The client pinged the server 3 times, and it has ponged back 3 times. assertThat(webSocket.sentPingCount()).isEqualTo(3) assertThat(server.receivedPingCount()).isEqualTo(3) assertThat(webSocket.receivedPongCount()).isEqualTo(3)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} public void testAsList_toArray_roundTrip() { double[] array = {0.0, 1.0, 2.0}; List<Double> list = Doubles.asList(array); double[] newArray = Doubles.toArray(list); // Make sure it returned a copy list.set(0, 4.0); assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0}); newArray[1] = 5.0; assertThat((double) list.get(1)).isEqualTo(1.0); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0)