- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for newItem (0.04 seconds)
-
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
} @Test public void test_constructor() { // Test that constructor creates a valid instance TestDictionaryItem newItem = new TestDictionaryItem(); assertNotNull(newItem); assertEquals(0L, newItem.getId()); } @Test public void test_idFieldAccess() { // Test direct field access through inheritanceCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} @Test public void test_insert() { // Create new item for insertion ProtwordsItem newItem = new ProtwordsItem(0, "newWord"); // Insert the item protwordsFile.insert(newItem); // Verify the item was added protwordsFile.reload(null); boolean found = false;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
} // Test insert method @Test public void test_insert() throws Exception { writeTestFile("a,b => c\n"); CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z"); charMappingFile.insert(newItem); // Verify the item was added PagingList<CharMappingItem> result = charMappingFile.selectList(0, 10); assertEquals(2, result.size());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} // Test insert method @Test public void test_insert() { loadTestData(); StopwordsItem newItem = new StopwordsItem(0, "test"); stopwordsFile.insert(newItem); // Verify the item was added boolean found = false; for (StopwordsItem item : stopwordsFile.stopwordsItemList) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
item.setNewInput(""); assertEquals("", item.toLineString()); // Test with item created with id=0 ProtwordsItem newItem = new ProtwordsItem(0, "newword"); assertEquals("newword", newItem.toLineString()); } @Test public void test_toLineString_withEmptyInput() { // Test toLineString with empty input
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)