Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for existingword (0.27 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

        }
    
        @Test
        public void test_constructor_withNonZeroId() {
            // Test constructor with id != 0 (existing item)
            ProtwordsItem item = new ProtwordsItem(123, "existingword");
    
            assertEquals(123, item.getId());
            assertEquals("existingword", item.getInput());
            assertNull(item.getNewInput());
        }
    
        @Test
        public void test_getNewInput() {
            // Test getNewInput method
    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)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            // Non-zero id should not auto-set newInput
            StopwordsItem existingItem = new StopwordsItem(1, "existingword");
            assertFalse(existingItem.isUpdated());
            assertNull(existingItem.getNewInput());
            assertEquals("existingword", existingItem.toLineString());
        }
    
        @Test
        public void test_multipleUpdates() {
            // Test multiple updates to newInput
    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)
Back to Top