- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for hashcode (0.07 sec)
-
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
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); } // Test equals method public void test_equals() {
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
} public void test_hashCode() { // Test hashCode consistency DictionaryExpiredException exception = new DictionaryExpiredException(); int hashCode1 = exception.hashCode(); int hashCode2 = exception.hashCode(); assertEquals(hashCode1, hashCode2); } public void test_toString() { // Test toString methodRegistered: 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
// Same inputs and output should have same hash code assertEquals(item1.hashCode(), item2.hashCode()); // Different inputs should have different hash code assertNotSame(item1.hashCode(), item3.hashCode()); // Same inputs but different output should have different hash code assertNotSame(item1.hashCode(), item4.hashCode()); } public void test_equals() {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/sso/SsoResponseTypeTest.java
public void test_hashCode() { // Test hashCode consistency int metadataHashCode = SsoResponseType.METADATA.hashCode(); int logoutHashCode = SsoResponseType.LOGOUT.hashCode(); // Hash code should be consistent for the same object assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode()); assertEquals(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/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
assertTrue(result.contains("acceptCookieTimeZone=false")); assertTrue(result.contains("@")); // Verify that hashCode is included in hex format String expectedHashCode = Integer.toHexString(provider.hashCode()); assertTrue(result.contains(expectedHashCode)); } // Test toString() format consistency public void test_toString_formatConsistency() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
HandleGuid guid2 = new HandleGuid(uuid); HandleGuid guid3 = new HandleGuid(); assertEquals(guid1, guid2); assertEquals(guid1.hashCode(), guid2.hashCode()); assertNotEquals(guid1, guid3); assertNotEquals(guid1.hashCode(), guid3.hashCode()); assertNotEquals(guid1, null); assertNotEquals(guid1, "not a guid"); } @Test public void testHandleGuidToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
// 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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
hashCodes.add(CrawlerStatus.INITIALIZING.hashCode()); hashCodes.add(CrawlerStatus.RUNNING.hashCode()); hashCodes.add(CrawlerStatus.DONE.hashCode()); // While not guaranteed, typically enum hashCodes are different assertTrue(hashCodes.size() > 1); } /** * Test compareTo method */ public void test_compareTo() { // Compare with self
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
assertNotSame(item1.hashCode(), item3.hashCode()); // Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } public void test_hashCode_withNullInput() { // Test hashCode with null input should throw NullPointerException ProtwordsItem item = new ProtwordsItem(1, null); try { item.hashCode(); fail("Expected NullPointerException");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0)