- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 74 for isInstanceOf (0.19 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
fail("Was not expecting onSuccess() to be called."); } @Override public synchronized void onFailure(Throwable t) { assertFalse(called); assertThat(t).isInstanceOf(CancellationException.class); called = true; } }; addCallback(f, callback, directExecutor()); f.cancel(true); } public void testThrowErrorFromGet() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); checkStrength(map, Strength.STRONG, Strength.WEAK); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.StrongKeyWeakValueEntry.Helper.class); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.WeakKeyStrongValueEntry.Helper.class); } public void testSetWeakValues() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakValues()); checkStrength(map, Strength.STRONG, Strength.WEAK); assertThat(map.entryHelper) .isInstanceOf(MapMakerInternalMap.StrongKeyWeakValueEntry.Helper.class); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, TimeUnit.SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); } public void testToString() { final Runnable[] currentTask = new Runnable[1]; final Executor delegate = new Executor() { @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.4K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar
class. * Classes of basic types will be converted to the relevant "Object" classes */ public class IsInstanceOf extends DiagnosingMatcher<Object> { private final Class<?> expectedClass; private final Class<?> matchableClass; /** * Creates a new instance of IsInstanceOf * * @param expectedClass The predicate evaluates to true for instances of this class * or one of its subclasses. */ public IsInstanceOf(Class<?> expectedClass) { this.expectedClass = expectedClass; this.matchableClass = matchableClass(expectedClass);...
Archive - Registered: Sun Apr 14 03:35:08 GMT 2024 - Last Modified: Sun Oct 02 08:41:25 GMT 2022 - 31.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, TimeUnit.SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); } public void testToString() { final Runnable[] currentTask = new Runnable[1]; final Executor delegate = new Executor() { @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
int mod = i % 3; if (mod == 0 || mod == 2) { assertThat(result.get(i)).isInstanceOf(ExecutionException.class); assertThat((ExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e); } else { assertThat(result.get(i)).isInstanceOf(UncheckedExecutionException.class); assertThat((UncheckedExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
Exception e = assertThrows( Exception.class, () -> new RecursiveTypeBoundBugExample<>().testAllDeclarations()); assertThat(e).hasCauseThat().isInstanceOf(AssertionError.class); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public void testSubtypeOfInnerClass_nonStaticAnonymousClass() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
int mod = i % 3; if (mod == 0 || mod == 2) { assertThat(result.get(i)).isInstanceOf(ExecutionException.class); assertThat((ExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e); } else { assertThat(result.get(i)).isInstanceOf(UncheckedExecutionException.class); assertThat((UncheckedExecutionException) result.get(i)).hasCauseThat().isSameInstanceAs(e);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 86.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.doesNotContain import assertk.assertions.isEqualTo import assertk.assertions.isIn import assertk.assertions.isInstanceOf import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isSameAs import java.io.File import java.io.IOException import java.io.InterruptedIOException
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0)