- Sort Score
- Result 10 results
- Languages All
Results 1121 - 1130 of 7,602 for _class (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertThrows(IllegalStateException.class, () -> service.awaitRunning()); assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!"); executionThread.join(); assertTrue(service.startUpCalled); assertEquals(Service.State.FAILED, service.state()); assertThat(service.failureCause()).hasMessageThat().isEqualTo("kaboom!"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 12.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt
* overriding [.configureSocket]. */ open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() { @Throws(IOException::class) override fun createSocket(): Socket { val socket = delegate.createSocket() return configureSocket(socket) } @Throws(IOException::class) override fun createSocket( host: String, port: Int, ): Socket {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertFalse(future.isCancelled()); assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS)); nested.set("foo"); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals("foo", future.get()); } private static class Foo {} private static class FooChild extends Foo {} public void testSetFuture_genericsHierarchy() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
return new ClassSanityTester() .setDefault(byte[].class, new byte[] {1, 2, 3, 4}) .setDistinctValues(byte[].class, new byte[] {1, 2, 3, 4}, new byte[] {5, 6, 7, 8}) .setDistinctValues(String.class, "7f8005ff0e", "7f8005ff0f") .forAllPublicStaticMethods(HashCode.class); } private static void assertExpectedHashCode(ExpectedHashCode expectedHashCode, HashCode hash) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
/** * Generators of different types of map and related collections, such as keys, entries and values. * * @author Hayward Chan */ @GwtCompatible @ElementTypesAreNonnullByDefault public class MapGenerators { public static class ImmutableMapGenerator extends TestStringMapGenerator { @Override protected Map<String, String> create(Entry<String, String>[] entries) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testOfNullKey() { assertThrows(NullPointerException.class, () -> ImmutableMap.of(null, 1)); assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, null, 2)); } public void testOfNullValue() { assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", null)); assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, "two", null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
} catch (AssertionFailedError error) { // expected assertContains("expected:<class ", error.getMessage()); } assertFalse(errorNotThrown); } private static class ClassWhichDoesNotImplementEquals implements Serializable { private static final long serialVersionUID = 1L; } private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
} catch (AssertionFailedError error) { // expected assertContains("expected:<class ", error.getMessage()); } assertFalse(errorNotThrown); } private static class ClassWhichDoesNotImplementEquals implements Serializable { private static final long serialVersionUID = 1L; } private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; import junit.framework.TestCase; /** * Unit test for {@link FakeTimeLimiter}. * * @author Jens Nyman */ public class FakeTimeLimiterTest extends TestCase { private static final int DELAY_MS = 50; private static final String RETURN_VALUE = "abc"; private TimeLimiter timeLimiter; @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testOfNullKey() { assertThrows(NullPointerException.class, () -> ImmutableMap.of(null, 1)); assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, null, 2)); } public void testOfNullValue() { assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", null)); assertThrows(NullPointerException.class, () -> ImmutableMap.of("one", 1, "two", null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.6K bytes - Viewed (0)