Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_constructor_withIdZero (0.12 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

     */
    package org.codelibs.fess.dict.stopwords;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class StopwordsItemTest extends UnitFessTestCase {
    
        public void test_constructor_withIdZero() {
            // Test when id is 0 (create mode)
            StopwordsItem item = new StopwordsItem(0, "the");
            assertEquals(0, item.getId());
            assertEquals("the", item.getInput());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

     */
    package org.codelibs.fess.dict.protwords;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class ProtwordsItemTest extends UnitFessTestCase {
    
        public void test_constructor_withIdZero() {
            // Test constructor with id = 0 (create mode)
            ProtwordsItem item = new ProtwordsItem(0, "testword");
    
            assertEquals(0, item.getId());
            assertEquals("testword", item.getInput());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            assertEquals(1, item.getInputs().length);
            assertEquals("input", item.getInputs()[0]);
            assertEquals("output", item.getOutput());
        }
    
        public void test_constructor_withIdZero() {
            // Test when id is 0 (create mode)
            String[] inputs = { "x", "y" };
            CharMappingItem item = new CharMappingItem(0L, inputs, "result");
    
            assertEquals(0L, item.getId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top