- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testInsert (0.05 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
assertNotNull(result); assertNotNull(stopwordsFile.stopwordsItemList); } // Test insert method public void test_insert() { loadTestData(); StopwordsItem newItem = new StopwordsItem(0, "test"); stopwordsFile.insert(newItem); // Verify the item was added boolean found = false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 3); assertEquals(3, list.size()); assertEquals("test1", list.get(0).getInput()); } public void test_insert() { // Create new item for insertion ProtwordsItem newItem = new ProtwordsItem(0, "newWord"); // Insert the item protwordsFile.insert(newItem);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
tests/upsert_test.go
package tests_test import ( "regexp" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestUpsert(t *testing.T) { lang := Language{Code: "upsert", Name: "Upsert"} if err := DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&lang).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } lang2 := Language{Code: "upsert", Name: "Upsert"}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertEquals(0, result5.size()); assertEquals(3, result5.getAllRecordCount()); } // Test insert method public void test_insert() throws Exception { writeTestFile("a,b => c\n"); CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z"); charMappingFile.insert(newItem);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0)