- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 74 for isSameInstanceAs (0.46 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
new ClosingFunction<TestCloseable, String>() { @Override public String apply(DeferredCloser closer, TestCloseable v) throws Exception { assertThat(v).isSameInstanceAs(closeable1); return "value"; } }, executor); assertThat(getFinalValue(closingFuture)).isEqualTo("value");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 74.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} catch (UncheckedExecutionException caughtEe) { assertThat(caughtEe).hasCauseThat().isSameInstanceAs(uee); } UncheckedExecutionException caughtUee = assertThrows( UncheckedExecutionException.class, () -> cacheUnchecked.getUnchecked(new Object())); assertThat(caughtUee).hasCauseThat().isSameInstanceAs(uee); cacheUnchecked.refresh(new Object()); checkLoggedCause(uee);
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) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
} }; assertEquals(0, service.startUpCalled); RuntimeException e = assertThrows(RuntimeException.class, () -> service.startAsync().awaitRunning()); assertThat(e).hasCauseThat().isSameInstanceAs(exception); assertEquals(1, service.startUpCalled); assertEquals(Service.State.FAILED, service.state()); assertThat(service.transitionStates).containsExactly(Service.State.STARTING); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphsTest.java
assertThat(transpose(transpose)).isSameInstanceAs(directedGraph); AbstractGraphTest.validateGraph(transpose); for (Integer node : directedGraph.nodes()) { assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node)); assertThat(directedGraph.outDegree(node)).isSameInstanceAs(transpose.inDegree(node)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 24.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray iia3 = ImmutableDoubleArray.of(5, 25, 125); assertThat(iia0.subArray(0, 0)).isSameInstanceAs(ImmutableDoubleArray.of()); assertThat(iia1.subArray(0, 0)).isSameInstanceAs(ImmutableDoubleArray.of()); assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableDoubleArray.of()); assertThat(iia1.subArray(0, 1).asList()).containsExactly(5.0);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 21.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
ImmutableLongArray iia3 = ImmutableLongArray.of(5, 25, 125); assertThat(iia0.subArray(0, 0)).isSameInstanceAs(ImmutableLongArray.of()); assertThat(iia1.subArray(0, 0)).isSameInstanceAs(ImmutableLongArray.of()); assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableLongArray.of()); assertThat(iia1.subArray(0, 1).asList()).containsExactly(5L);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
} public void testMinMaxNatural_equalInstances() { Foo a = new Foo(1); Foo b = new Foo(1); assertThat(Comparators.min(a, b)).isSameInstanceAs(a); assertThat(Comparators.max(a, b)).isSameInstanceAs(a); } public void testMinMaxComparator() { Comparator<Integer> natural = Ordering.natural(); Comparator<Integer> reverse = Collections.reverseOrder(natural);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
assertThat(transformation.inverse().slope()).isWithin(ALLOWED_ERROR).of(xDelta / yDelta); assertThat(transformation.inverse()).isSameInstanceAs(transformation.inverse()); assertThat(transformation.inverse().inverse()).isSameInstanceAs(transformation); } /** * Asserts that {@code transformation} is horizontal with the given value of {@code y}. Includes
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
new ClosingFunction<TestCloseable, String>() { @Override public String apply(DeferredCloser closer, TestCloseable v) throws Exception { assertThat(v).isSameInstanceAs(closeable1); return "value"; } }, executor); assertThat(getFinalValue(closingFuture)).isEqualTo("value");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 75.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparatorsTest.java
} public void testMinMaxNatural_equalInstances() { Foo a = new Foo(1); Foo b = new Foo(1); assertThat(Comparators.min(a, b)).isSameInstanceAs(a); assertThat(Comparators.max(a, b)).isSameInstanceAs(a); } public void testMinMaxComparator() { Comparator<Integer> natural = Ordering.natural(); Comparator<Integer> reverse = Collections.reverseOrder(natural);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 6.6K bytes - Viewed (0)