- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for test_equals (0.06 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
assertEquals(item1.hashCode(), item3.hashCode()); // Different input should have different hashCode assertNotSame(item1.hashCode(), item4.hashCode()); } public void test_equals() { // Test equals method StopwordsItem item1 = new StopwordsItem(1, "test"); StopwordsItem item2 = new StopwordsItem(1, "test"); StopwordsItem item3 = new StopwordsItem(2, "test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
assertEquals("METADATA", SsoResponseType.METADATA.toString()); assertEquals("LOGOUT", SsoResponseType.LOGOUT.toString()); } public void test_equals() { // Test equals method for enum constants assertTrue(SsoResponseType.METADATA.equals(SsoResponseType.METADATA)); assertTrue(SsoResponseType.LOGOUT.equals(SsoResponseType.LOGOUT));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
int hashCode1 = crawlerEngineClient.hashCode(); int hashCode2 = crawlerEngineClient.hashCode(); assertEquals(hashCode1, hashCode2); } // Test equals method public void test_equals() { // Test equals method basic functionality assertTrue(crawlerEngineClient.equals(crawlerEngineClient)); assertFalse(crawlerEngineClient.equals(null));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
} assertNotNull(originalException); assertNotNull(rethrownException); assertSame(originalException, rethrownException); } public void test_equals() { // Test that different instances are not equal DictionaryExpiredException exception1 = new DictionaryExpiredException(); DictionaryExpiredException exception2 = new DictionaryExpiredException();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
try { item.hashCode(); fail("Expected NullPointerException"); } catch (NullPointerException e) { // Expected } } public void test_equals() { // Test equals method ProtwordsItem item1 = new ProtwordsItem(1, "word"); ProtwordsItem item2 = new ProtwordsItem(2, "word"); ProtwordsItem item3 = new ProtwordsItem(1, "different");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
public class PrunedTagTest extends UnitFessTestCase { public void test_hashCode() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.hashCode() >= 0); } public void test_equals() { PrunedTag prunedtag = new PrunedTag("tag"); assertTrue(prunedtag.equals(prunedtag)); assertEquals(false, prunedtag.equals(null)); assertEquals(false, prunedtag.equals(""));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
import org.jspecify.annotations.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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
.addEqualityGroup(Predicates.not(TRUE)) .addEqualityGroup(isOdd()) .testEquals(); } public void testNot_equalityForNotOfKnownValues() { new EqualsTester() .addEqualityGroup(TRUE, Predicates.alwaysTrue()) .addEqualityGroup(FALSE) .addEqualityGroup(Predicates.not(TRUE)) .testEquals(); new EqualsTester() .addEqualityGroup(FALSE, Predicates.alwaysFalse())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
.addEqualityGroup(g) .testEquals(); new EqualsTester() .addEqualityGroup(g, Functions.<@Nullable Object>constant(null)) .addEqualityGroup(Functions.constant("incorrect")) .addEqualityGroup(Functions.toStringFunction()) .addEqualityGroup(f) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0)