Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Item2 (0.04 sec)

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

            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
    
            item1.setNewInput("updated");
            item2.setNewInput("different");
    
            // Should still be equal based on original input
            assertTrue(item1.equals(item2));
        }
    
        public void test_toString() {
            // Test toString method
    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

            assertFalse(item1.equals("word"));
    
            // Symmetry
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
        }
    
        public void test_equals_withNullInput() {
            // Test equals with null input
            ProtwordsItem item1 = new ProtwordsItem(1, null);
            ProtwordsItem item2 = new ProtwordsItem(2, null);
            ProtwordsItem item3 = new ProtwordsItem(1, "word");
    
    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/DictionaryItemTest.java

            TestDictionaryItem item2 = new TestDictionaryItem();
    
            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
            // Verify they don't affect each other
            item1.id = 300L;
            assertEquals(300L, item1.getId());
            assertEquals(200L, item2.getId());
        }
    
        public void test_constructor() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item2 = new CharMappingItem(2L, inputs2, "output");
            CharMappingItem item3 = new CharMappingItem(3L, inputs3, "output");
            CharMappingItem item4 = new CharMappingItem(4L, inputs1, "different");
    
            // Same inputs and output should have same hash code
            assertEquals(item1.hashCode(), item2.hashCode());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            OptionalEntity<CharMappingItem> result2 = charMappingFile.get(2L);
            assertTrue(result2.isPresent());
            CharMappingItem item2 = result2.get();
            assertEquals(2L, item2.getId());
            assertArrayEquals(new String[] { "d", "e" }, item2.getInputs());
            assertEquals("f", item2.getOutput());
    
            OptionalEntity<CharMappingItem> result3 = charMappingFile.get(3L);
            assertFalse(result3.isPresent());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
        public void test_ofNullable_withList() {
            List<String> testValue = Arrays.asList("item1", "item2", "item3");
            OptionalEntity<List<String>> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            OptionalEntity<ProtwordsItem> item1 = protwordsFile.get(1);
            OptionalEntity<ProtwordsItem> item2 = protwordsFile.get(2);
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 10);
    
            assertTrue(item1.isPresent());
            assertTrue(item2.isPresent());
            assertTrue(list.size() > 0);
        }
    
        public void test_reload_withLargeFile() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        public void test_evaluate_withArrayParameter() {
            String template = "Items: ${items}";
            Map<String, Object> paramMap = new HashMap<>();
            String[] items = { "item1", "item2", "item3" };
            paramMap.put("items", items);
    
            Object result = scriptEngine.evaluate(template, paramMap);
            assertTrue(result.toString().contains("item1"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

            nested.put("level2", "value");
            doc.put("nested", nested);
    
            List<String> list = new ArrayList<>();
            list.add("item1");
            list.add("item2");
            doc.put("list", list);
    
            SearchResult result = SearchResult.create().addDocument(doc).allRecordCount(1L).build();
    
            assertEquals(1, result.getDocumentList().size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. tests/query_test.go

    		Now:     &now,
    		Item1: &QueryResetItem{
    			ID:   "u_1_1",
    			Name: "item_1_1",
    		},
    		Item2: &QueryResetItem{
    			ID:   "u_1_2",
    			Name: "item_1_2",
    		},
    	}
    
    	q2 := QueryResetNullValue{
    		Item1: &QueryResetItem{
    			ID:   "u_2_1",
    			Name: "item_2_1",
    		},
    		Item2: &QueryResetItem{
    			ID:   "u_2_2",
    			Name: "item_2_2",
    		},
    	}
    
    	var err error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
Back to top