- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for test_equals1 (0.14 sec)
-
src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java
stemmerOverrideItem.setNewInput(""); stemmerOverrideItem.setNewOutput(""); assertTrue(stemmerOverrideItem.isUpdated()); assertTrue(stemmerOverrideItem.isDeleted()); } public void test_equals1() { final StemmerOverrideItem stemmerOverrideItem1 = new StemmerOverrideItem(1, "aaa", "a"); assertTrue(stemmerOverrideItem1.equals(stemmerOverrideItem1));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java
synonymItem.setNewInputs(new String[0]); synonymItem.setNewOutputs(new String[0]); assertTrue(synonymItem.isUpdated()); assertTrue(synonymItem.isDeleted()); } public void test_equals1() { final SynonymItem synonymItem1 = new SynonymItem(1, new String[] { "a", "A" }, new String[] { "b", "B" }); assertTrue(synonymItem1.equals(synonymItem1));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
assertFalse(kuromojiItem.isDeleted()); kuromojiItem.setNewToken(""); assertTrue(kuromojiItem.isUpdated()); assertTrue(kuromojiItem.isDeleted()); } public void test_equals1() { final KuromojiItem kuromojiItem1 = new KuromojiItem(1, "t1", "s1", "r1", "p1"); assertTrue(kuromojiItem1.equals(kuromojiItem1));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
@ElementTypesAreNonnullByDefault public final class ForwardingWrapperTester { private boolean testsEquals = false; /** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
@ElementTypesAreNonnullByDefault public final class ForwardingWrapperTester { private boolean testsEquals = false; /** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /**
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/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/test/com/google/common/testing/EqualsTesterTest.java
equalsTester.addEqualityGroup(reference); equalsTester.testEquals(); } /** * Test EqualsTester after populating equalObjects. This checks proper handling of equality and * verifies hashCode for valid objects */ public void testTestEqualsEqualsObjects() { equalsTester.addEqualityGroup(reference, equalObject1, equalObject2); 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
.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)