- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for testEqual (0.14 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java
assertResolveConflict(a2n, a2n, a1n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a2n, a1n, a2n); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
assertResolveConflict(a2n, a2n, a1n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java
assertResolveConflict(a1n, a2n, a1n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
assertResolveConflict(a1n, a2n, a1n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java
getMultiset(), getSubjectGenerator().create(getSampleElements().toArray())) .testEquals(); } @CollectionSize.Require(absent = ZERO) public void testNotEqualsEmpty() { new EqualsTester() .addEqualityGroup(getMultiset()) .addEqualityGroup(getSubjectGenerator().create()) .testEquals(); } public void testHashCodeMatchesEntrySet() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Tester for equals() and hashCode() methods of a class. * * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. * * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:11:50 UTC 2023 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
continue; } testSuccessfulForwarding(interfaceType, method, wrapperFunction); testExceptionPropagation(interfaceType, method, wrapperFunction); } if (testsEquals) { testEquals(interfaceType, wrapperFunction); } testToString(interfaceType, wrapperFunction); } /** Returns the most concrete public methods from {@code type}. */
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/MultimapEqualsTester.java
.testEquals(); } public void testEqualsFalse() { List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); targetEntries.add(mapEntry(k0(), v3())); new EqualsTester() .addEqualityGroup(multimap()) .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray())) .testEquals(); } @CollectionSize.Require(absent = ZERO)
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/reflect/TypeParameterTest.java
} public <A, B> void testEquals() throws Exception { Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); new EqualsTester() .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {}) .addEqualityGroup(new TypeParameter<B>() {}) .testEquals(); } public void testNullPointers() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 1.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java
.testEquals(); } public void testEqualsFalse() { List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements()); targetEntries.add(mapEntry(k0(), v3())); new EqualsTester() .addEqualityGroup(multimap()) .addEqualityGroup(getSubjectGenerator().create(targetEntries.toArray())) .testEquals(); } @CollectionSize.Require(absent = ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.5K bytes - Viewed (0)