Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for test_getId (0.12 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            StopwordsItem item = new StopwordsItem(1, "");
            assertEquals("", item.toLineString());
    
            item.setNewInput("new");
            assertEquals("new", item.toLineString());
        }
    
        public void test_getId() {
            // Test getId method from parent class
            StopwordsItem item1 = new StopwordsItem(0, "word1");
            assertEquals(0, item1.getId());
    
            StopwordsItem item2 = new StopwordsItem(999, "word2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput("tempword");
            assertEquals("tempword", item.toLineString());
    
            item.setNewInput(null);
            assertEquals("originalword", item.toLineString());
        }
    
        public void test_getId() {
            // Test getId method inherited from DictionaryItem
            ProtwordsItem item1 = new ProtwordsItem(0, "word");
            assertEquals(0, item1.getId());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

                return new HashMap<>();
            }
    
            @Override
            public String getEventType() {
                return "";
            }
        }
    
        // Test getId method
        public void test_getId() {
            // Test normal ID
            TestSearchLogEvent event = new TestSearchLogEvent("test-id-123", 1L, "search");
            assertEquals("test-id-123", event.getId());
    
            // Test ID change
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            String[] inputs = {};
            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            assertEquals("=>output", item.toLineString());
        }
    
        public void test_getId() {
            // Test getId method from parent class
            CharMappingItem item = new CharMappingItem(42L, new String[] { "input" }, "output");
            assertEquals(42L, item.getId());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top