- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for addEqualityGroup (0.11 sec)
-
android/guava-tests/test/com/google/common/collect/TablesTest.java
new EqualsTester() .addEqualityGroup(entry, immutableCell("foo", 1, 'a')) .addEqualityGroup(immutableCell("bar", 1, 'a')) .addEqualityGroup(immutableCell("foo", 2, 'a')) .addEqualityGroup(immutableCell("foo", 1, 'b')) .addEqualityGroup( Tables.<@Nullable Object, @Nullable Object, @Nullable Object>immutableCell(
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-testlib/test/com/google/common/testing/EqualsTesterTest.java
assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, (Object[]) null)); } /** * Test adding objects only by addEqualityGroup, with no reference object specified in the * constructor. */ public void testAddEqualObjectWithOArgConstructor() { equalsTester.addEqualityGroup(equalObject1, notEqualObject1); try { equalsTester.testEquals();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
new EqualsTester() .addEqualityGroup(original) .addEqualityGroup( withNull, getSubjectGenerator().create((Object[]) createArrayWithNullValue())) .testEquals(); } @CollectionSize.Require(absent = ZERO) public void testNotEqualsEmpty() { new EqualsTester() .addEqualityGroup(multimap()) .addEqualityGroup(getSubjectGenerator().create()) .testEquals();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
assertThrows( NullPointerException.class, () -> equalsTester.addEqualityGroup(reference, (Object[]) null)); } /** * Test adding objects only by addEqualityGroup, with no reference object specified in the * constructor. */ public void testAddEqualObjectWithOArgConstructor() { equalsTester.addEqualityGroup(equalObject1, notEqualObject1); try { equalsTester.testEquals();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
new EqualsTester() .addEqualityGroup(original) .addEqualityGroup( withNull, getSubjectGenerator().create((Object[]) createArrayWithNullValue())) .testEquals(); } @CollectionSize.Require(absent = ZERO) public void testNotEqualsEmpty() { new EqualsTester() .addEqualityGroup(multimap()) .addEqualityGroup(getSubjectGenerator().create()) .testEquals();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TablesTest.java
new EqualsTester() .addEqualityGroup(entry, immutableCell("foo", 1, 'a')) .addEqualityGroup(immutableCell("bar", 1, 'a')) .addEqualityGroup(immutableCell("foo", 2, 'a')) .addEqualityGroup(immutableCell("foo", 1, 'b')) .addEqualityGroup( Tables.<@Nullable Object, @Nullable Object, @Nullable Object>immutableCell(
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/CacheBuilderSpecTest.java
.addEqualityGroup(parse("expireAfterWrite=60m"), parse("expireAfterWrite=1h")) .addEqualityGroup(parse("weakKeys"), parse("weakKeys")) .addEqualityGroup(parse("softValues"), parse("softValues")) .addEqualityGroup(parse("weakValues"), parse("weakValues")) .addEqualityGroup(parse("recordStats"), parse("recordStats")) .testEquals();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java
} public void testEqualsObject() { new EqualsTester() .addEqualityGroup(testTable, HashBasedTable.create(testTable)) .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create()) .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, ""))) .testEquals(); } @GwtIncompatible // ArrayTable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
private final EqualsTester tester = new EqualsTester(); TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) { if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) { tester.addEqualityGroup(jvmType); tester.addEqualityGroup((Object[]) types); } else { tester.addEqualityGroup(Lists.asList(jvmType, types).toArray()); } return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
private final EqualsTester tester = new EqualsTester(); TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) { if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) { tester.addEqualityGroup(jvmType); tester.addEqualityGroup((Object[]) types); } else { tester.addEqualityGroup(Lists.asList(jvmType, types).toArray()); } return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0)