- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for EquivalenceTester (0.08 sec)
-
android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java
} public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { return new EquivalenceTester<>(equivalence); } /** * Adds a group of objects that are supposed to be equivalent to each other and not equivalent to * objects in any other equivalence group added to this tester. */ @CanIgnoreReturnValue public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EquivalenceTester.java
} public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { return new EquivalenceTester<>(equivalence); } /** * Adds a group of objects that are supposed to be equivalent to each other and not equivalent to * objects in any other equivalence group added to this tester. */ @CanIgnoreReturnValue public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Tests for {@link EquivalenceTester}. * * @author Gregory Kick */ @GwtCompatible public class EquivalenceTesterTest extends TestCase { private EquivalenceTester<Object> tester; private MockEquivalence equivalenceMock; @Override public void setUp() throws Exception { super.setUp();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Tests for {@link EquivalenceTester}. * * @author Gregory Kick */ @GwtCompatible public class EquivalenceTesterTest extends TestCase { private EquivalenceTester<Object> tester; private MockEquivalence equivalenceMock; @Override public void setUp() throws Exception { super.setUp();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
*/ public void testEqualsEquivalent() { EquivalenceTester.of(Equivalence.equals()) .addEquivalenceGroup(new Integer(42_000_000), 42_000_000) .addEquivalenceGroup("a") .test(); } public void testIdentityEquivalent() { EquivalenceTester.of(Equivalence.identity()) .addEquivalenceGroup(new Integer(42_000_000))
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/RelationshipTester.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.List; import junit.framework.AssertionFailedError; /** * Implementation helper for {@link EqualsTester} and {@link EquivalenceTester} that tests for * equivalence classes. * * @author Gregory Kick */ @GwtCompatible @ElementTypesAreNonnullByDefault final class RelationshipTester<T> { static class ItemReporter {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0)