- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 134 for testEqual (0.15 sec)
-
android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java
} }); } public void testEquals() { Multimap<Integer, String> map1 = ImmutableMultimap.of(1, "one"); Multimap<Integer, String> map2 = ImmutableMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
.addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, ""))) .testEquals(); } @GwtIncompatible // ArrayTable public void testEqualsObjectNullValues() { new EqualsTester() .addEqualityGroup(testTable) .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) .testEquals(); } public void testToString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
} } @CollectionSize.Require(SEVERAL) public void testEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Map<K, Collection<V>> expected = Maps.newHashMap(); expected.put(k0(), newHashSet(v0(), v3())); expected.put(k1(), newHashSet(v0())); new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals(); } @CollectionSize.Require(SEVERAL)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
continue; } testSuccessfulForwarding(interfaceType, method, wrapperFunction); testExceptionPropagation(interfaceType, method, wrapperFunction); } if (testsEquals) { testEquals(interfaceType, wrapperFunction); } testToString(interfaceType, wrapperFunction); } /** Returns the most concrete public methods from {@code type}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
import junit.framework.TestCase; /** * Unit tests of {@link RemovalNotification}. * * @author Ben Yu */ public class RemovalNotificationTest extends TestCase { public void testEquals() { new EqualsTester() .addEqualityGroup( RemovalNotification.create("one", 1, RemovalCause.EXPLICIT), RemovalNotification.create("one", 1, RemovalCause.REPLACED))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTest.java
.addEqualityGroup(immutableCell("foo", 1, 'b')) .addEqualityGroup( Tables.<@Nullable Object, @Nullable Object, @Nullable Object>immutableCell( null, null, null)) .testEquals(); } public void testEntryEqualsNull() { Cell<@Nullable String, @Nullable Integer, @Nullable Character> entry = immutableCell(null, null, null); new EqualsTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EmptyImmutableTableTest.java
.addEqualityGroup(nonEmptyTable) .testEquals(); } @GwtIncompatible // ArrayTable public void testEqualsObjectNullValues() { new EqualsTester() .addEqualityGroup(INSTANCE) .addEqualityGroup(ArrayTable.create(ImmutableSet.of('A'), ImmutableSet.of(1))) .testEquals(); } public void testToString() { assertEquals("{}", INSTANCE.toString());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
} }); } public void testEquals() { ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one"); ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
} }); } public void testEquals() { ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one"); ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java
} }); } public void testEquals() { SetMultimap<Integer, String> map1 = ImmutableSetMultimap.of(1, "one"); SetMultimap<Integer, String> map2 = ImmutableSetMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0)