- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for EqualsTester (0.15 sec)
-
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
} /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */ public void testTestEqualsEmptyLists() { equalsTester.addEqualityGroup(reference); equalsTester.testEquals(); } /** * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
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/test/com/google/common/testing/EqualsTesterTest.java
} /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */ public void testTestEqualsEmptyLists() { equalsTester.addEqualityGroup(reference); equalsTester.testEquals(); } /** * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
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-tests/test/com/google/common/base/PredicatesTest.java
} public void testNot_equality() { new EqualsTester() .addEqualityGroup(Predicates.not(isOdd()), Predicates.not(isOdd())) .addEqualityGroup(Predicates.not(TRUE)) .addEqualityGroup(isOdd()) .testEquals(); } public void testNot_equalityForNotOfKnownValues() { new EqualsTester() .addEqualityGroup(TRUE, Predicates.alwaysTrue())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
} } } @GwtIncompatible // too slow public void testEquals() { EqualsTester equalsTester = new EqualsTester(); for (long a : TEST_LONGS) { BigInteger big = (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64)); equalsTester.addEqualityGroup( UnsignedLong.fromLongBits(a), UnsignedLong.valueOf(big),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
assertEquals(jvmType.toString(), ourType.toString()); new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals(); } public void testNewArrayType_primitive() { Type jvmType = new TypeCapture<int[]>() {}.capture(); Type ourType = Types.newArrayType(int.class); assertEquals(jvmType.toString(), ourType.toString()); new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals(); }
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
assertEquals(jvmType.toString(), ourType.toString()); new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals(); } public void testNewArrayType_primitive() { Type jvmType = new TypeCapture<int[]>() {}.capture(); Type ourType = Types.newArrayType(int.class); assertEquals(jvmType.toString(), ourType.toString()); new EqualsTester().addEqualityGroup(jvmType, ourType).testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
} } } @GwtIncompatible // too slow public void testEquals() { EqualsTester equalsTester = new EqualsTester(); for (long a : TEST_LONGS) { BigInteger big = (a >= 0) ? BigInteger.valueOf(a) : BigInteger.valueOf(a).add(BigInteger.ZERO.setBit(64)); equalsTester.addEqualityGroup( UnsignedLong.fromLongBits(a), UnsignedLong.valueOf(big),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
new EqualsTester().addEqualityGroup(input, multimap).testEquals(); } public void testCopyOfEmpty() { ArrayListMultimap<String, Integer> input = ArrayListMultimap.create(); ImmutableListMultimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); new EqualsTester().addEqualityGroup(input, multimap).testEquals(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
import com.google.common.collect.ImmutableTable; import com.google.common.collect.Lists; import com.google.common.collect.Table.Cell; import com.google.common.primitives.Ints; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.util.concurrent.AtomicLongMap; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.nio.ByteBuffer;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
import com.google.common.collect.Ordering.ArbitraryOrdering; import com.google.common.collect.Ordering.IncomparableValueException; import com.google.common.collect.testing.Helpers; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Random;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0)