Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Item2 (0.23 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                    builder.field("value", 123);
                    builder.field("enabled", true);
                    builder.startArray("items");
                    builder.value("item1");
                    builder.value("item2");
                    builder.endArray();
                    builder.startObject("nested");
                    builder.field("inner", "value");
                    builder.endObject();
                    builder.endObject();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setObject("objectValue", new Object());
    
                // Test with collections
                java.util.List<String> list = java.util.Arrays.asList("item1", "item2");
                WebApiUtil.setObject("listValue", list);
    
                java.util.Map<String, String> map = new java.util.HashMap<>();
                map.put("key", "value");
                WebApiUtil.setObject("mapValue", map);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top