- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 128 for test_equals2 (0.07 sec)
-
android/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) -
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) -
android/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) -
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) -
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) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
assertFalse(kuromojiItem.isDeleted()); kuromojiItem.setNewToken(""); assertTrue(kuromojiItem.isUpdated()); assertTrue(kuromojiItem.isDeleted()); } public void test_equals1() { final KuromojiItem kuromojiItem1 = new KuromojiItem(1, "t1", "s1", "r1", "p1"); assertTrue(kuromojiItem1.equals(kuromojiItem1));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K 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)