- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for test_hashCode (0.14 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
item.setNewInput(""); assertTrue(item.isDeleted()); item.setNewInput(null); assertFalse(item.isDeleted()); } public void test_hashCode() { // Test hashCode 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
assertFalse(SsoResponseType.METADATA.equals(null)); assertFalse(SsoResponseType.METADATA.equals("METADATA")); } public void test_hashCode() { // Test hashCode consistency int metadataHashCode = SsoResponseType.METADATA.hashCode(); int logoutHashCode = SsoResponseType.LOGOUT.hashCode();
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
// Test that toString returns a non-null value String result = crawlerEngineClient.toString(); assertNotNull(result); } // Test hashCode method public void test_hashCode() { // Test that hashCode returns consistent value int hashCode1 = crawlerEngineClient.hashCode(); int hashCode2 = crawlerEngineClient.hashCode(); assertEquals(hashCode1, hashCode2);
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/protwords/ProtwordsItemTest.java
item.setNewInput(""); assertTrue(item.isDeleted()); item.setNewInput(null); assertFalse(item.isDeleted()); } public void test_hashCode() { // Test hashCode 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/DictionaryExpiredExceptionTest.java
assertNotSame(exception1, exception2); assertFalse(exception1.equals(exception2)); assertTrue(exception1.equals(exception1)); } public void test_hashCode() { // Test hashCode consistency DictionaryExpiredException exception = new DictionaryExpiredException(); int hashCode1 = exception.hashCode(); int hashCode2 = exception.hashCode();
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/mapping/CharMappingItemTest.java
// Should not throw exception item.sort(); // Original inputs should still be sorted assertEquals("a", item.getInputs()[0]); } public void test_hashCode() { String[] inputs1 = { "a", "b" }; String[] inputs2 = { "a", "b" }; String[] inputs3 = { "c", "d" }; CharMappingItem item1 = new CharMappingItem(1L, inputs1, "output");
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
import org.codelibs.fess.unit.UnitFessTestCase; import org.w3c.dom.NamedNodeMap; import org.w3c.dom.Node; 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");
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/collect/testing/testers/ListHashCodeTester.java
} /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() { return getMethod(ListHashCodeTester.class, "testHashCode"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
} /** * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on * unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() { return getMethod(ListHashCodeTester.class, "testHashCode"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetHashCodeTester<E> extends AbstractSetTester<E> { public void testHashCode() { int expectedHashCode = 0; for (E element : getSampleElements()) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0)