Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for test_hashCode (0.31 seconds)

  1. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertFalse(SsoResponseType.METADATA.equals(null));
            assertFalse(SsoResponseType.METADATA.equals("METADATA"));
        }
    
        @Test
        public void test_hashCode() {
            // Test hashCode consistency
            int metadataHashCode = SsoResponseType.METADATA.hashCode();
            int logoutHashCode = SsoResponseType.LOGOUT.hashCode();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            item.setNewInput("");
            assertTrue(item.isDeleted());
    
            item.setNewInput(null);
            assertFalse(item.isDeleted());
        }
    
        @Test
        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");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  3. 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
        @Test
        public void test_hashCode() {
            // Test that hashCode returns consistent value
            int hashCode1 = crawlerEngineClient.hashCode();
            int hashCode2 = crawlerEngineClient.hashCode();
            assertEquals(hashCode1, hashCode2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput("");
            assertTrue(item.isDeleted());
    
            item.setNewInput(null);
            assertFalse(item.isDeleted());
        }
    
        @Test
        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");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertNotSame(exception1, exception2);
            assertFalse(exception1.equals(exception2));
            assertTrue(exception1.equals(exception1));
        }
    
        @Test
        public void test_hashCode() {
            // Test hashCode consistency
            DictionaryExpiredException exception = new DictionaryExpiredException();
            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

    import org.junit.jupiter.api.Test;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    
    public class PrunedTagTest extends UnitFessTestCase {
    
        @Test
        public void test_hashCode() {
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.hashCode() >= 0);
    
        }
    
        @Test
        public void test_equals() {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  7. 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]);
        }
    
        @Test
        public void test_hashCode() {
            String[] inputs1 = { "a", "b" };
            String[] inputs2 = { "a", "b" };
            String[] inputs3 = { "c", "d" };
    
            CharMappingItem item1 = new CharMappingItem(1L, inputs1, "output");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top