- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 117 for EqualsTester (0.11 sec)
-
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) -
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 public void testEqualsObjectNullValues() { new EqualsTester() .addEqualityGroup(testTable)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Equivalence.Wrapper; import com.google.common.collect.ImmutableList; import com.google.common.testing.EqualsTester; import com.google.common.testing.EquivalenceTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import junit.framework.TestCase;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
T instance = generator.newFreshProxy(interfaceType); new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType))) // TODO: add an overload to EqualsTester to print custom error message? .testEquals(); } private static <T> void testToString(
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-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java
import com.google.common.collect.Maps; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.features.MapFeature; import com.google.common.testing.EqualsTester; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.checkerframework.checker.nullness.qual.Nullable;
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-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) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
* limitations under the License. */ package com.google.common.reflect; import static org.junit.Assert.assertThrows; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.reflect.Method; import java.lang.reflect.TypeVariable; import junit.framework.TestCase; /** * Unit test for {@link TypeParameter}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K 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) -
guava-tests/test/com/google/common/collect/TablesTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.Table.Cell; import com.google.common.testing.EqualsTester; import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link Tables}. * * @author Jared Levy
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.1K bytes - Viewed (0)