Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for New3 (0.01 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item = new CharMappingItem(1L, inputs, "oldOutput");
    
            item.setNewInputs(new String[] { "new1", "new2", "new3" });
            item.setNewOutput("newOutput");
    
            // Should use new values when updated
            assertEquals("new1,new2,new3=>newOutput", item.toLineString());
        }
    
        public void test_toLineString_withSingleInput() {
            String[] inputs = { "single" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            }
        }
    
        // Test update with InputStream
        public void test_update_withInputStream() throws IOException {
            String content = "new1\n" + "new2\n" + "new3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.update(is);
    
            assertEquals(3, stopwordsFile.stopwordsItemList.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. tests/hooks_test.go

    	}
    
    	// Code changed, price should changed
    	DB.Model(&product).Select("Name", "Code", "Price").Updates(map[string]interface{}{"Name": "Product New3", "code": "L1213"})
    
    	if product.Name != "Product New3" || product.Price != 220 || product.Code != "L1213" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	var result Product3
    	DB.First(&result, product.ID)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top