Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            assertNull(item.getNewInputs());
    
            // Set new inputs
            String[] newInputs = { "new1", "new2" };
            item.setNewInputs(newInputs);
            assertNotNull(item.getNewInputs());
            assertEquals(2, item.getNewInputs().length);
            assertEquals("new1", item.getNewInputs()[0]);
            assertEquals("new2", item.getNewInputs()[1]);
        }
    
        public void test_getNewOutput_setNewOutput() {
    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

            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());
            assertEquals("new1", stopwordsFile.stopwordsItemList.get(0).getInput());
            assertEquals("new2", stopwordsFile.stopwordsItemList.get(1).getInput());
    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, but not selected, price should not change
    	DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"})
    
    	if product.Name != "Product New2" || product.Price != 170 || product.Code != "L1212" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code changed, price should changed
    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