- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 825 for assertequal (0.08 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
assertTrue(callableFuture.isDone()); assertEquals("foo", callableFuture.get()); TestRunnable runnable2 = new TestRunnable(); ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3); assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class); assertTrue(runnableFuture2.isDone()); assertTrue(runnable2.run); assertEquals((Integer) 3, runnableFuture2.get()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTest.java
} public void testImmutableEntryToString() { Cell<String, Integer, Character> entry = immutableCell("foo", 1, 'a'); assertEquals("(foo,1)=a", entry.toString()); Cell<@Nullable String, @Nullable Integer, @Nullable Character> nullEntry = immutableCell(null, null, null); assertEquals("(null,null)=null", nullEntry.toString()); } public void testEntryEquals() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
assertTrue(callableFuture.isDone()); assertEquals("foo", callableFuture.get()); TestRunnable runnable2 = new TestRunnable(); ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3); assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class); assertTrue(runnableFuture2.isDone()); assertTrue(runnable2.run); assertEquals((Integer) 3, runnableFuture2.get()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
@AndroidIncompatible // no FpUtils and no Math.nextDown in old versions public void testNextDown() throws Exception { Method jdkNextDown = getJdkNextDown(); for (double d : FINITE_DOUBLE_CANDIDATES) { assertEquals(jdkNextDown.invoke(null, d), DoubleUtils.nextDown(d)); } } private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java
import org.apache.maven.project.MavenProject; import org.apache.maven.project.inheritance.AbstractProjectInheritanceTestCase; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * A test which demonstrates maven's dependency management * */ @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
@CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size1() { assertEquals( "size1Collection.toString should return [{element}]", "[" + e0() + "]",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java
Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableMultiset);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
} } public void testContainsKeyAgreesWithGet() { for (K k : sampleKeys()) { assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k)); } } public void testContainsKeyAgreesWithAsMap() { for (K k : sampleKeys()) { assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k)); } } public void testContainsKeyAgreesWithKeySet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.java
@CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size0() { assertEquals("emptyCollection.toString should return []", "[]", collection.toString()); } @CollectionSize.Require(ONE) @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING) public void testToString_size1() { assertEquals( "size1Collection.toString should return [{element}]", "[" + e0() + "]",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LenientSerializableTester.java
Set<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableSet); return copy; } @CanIgnoreReturnValue @GwtIncompatible // SerializableTester static <E> Multiset<E> reserializeAndAssertLenient(Multiset<E> original) { Multiset<E> copy = reserialize(original); assertEquals(original, copy); assertTrue(copy instanceof ImmutableMultiset);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.6K bytes - Viewed (0)