Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for myitem2 (0.05 seconds)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            // Symmetry
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
        }
    
        @Test
        public void test_equals_withNullInput() {
            // Test equals with null input - should not throw, uses null-safe comparison
            ProtwordsItem item1 = new ProtwordsItem(1, null);
            ProtwordsItem item2 = new ProtwordsItem(2, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. 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));
        }
    
        @Test
        public void test_equals_withNullInput() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (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());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (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());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
        @Test
        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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        }
    
        @Test
        public void test_register_nonEntityList() {
            RenderData data = new RenderData();
            List<String> stringList = Arrays.asList("item1", "item2", "item3");
    
            RenderDataUtil.register(data, "strings", stringList);
    
            Object result = data.getDataMap().get("strings");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  7. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            final List<String> items = List.of("item1", "item2", "item3");
            chatApiManager.sendSseEvent(writer, "test", Map.of("items", items));
    
            final String output = stringWriter.toString();
            assertTrue(output.contains("event: test"));
            assertTrue(output.contains("["));
            assertTrue(output.contains("item1"));
            assertTrue(output.contains("item2"));
            assertTrue(output.contains("item3"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  9. docs/en/docs/release-notes.md

        * This applies to ORMs like SQLAlchemy, Peewee, Tortoise ORM, GINO ORM and virtually any other.
        * If your *path operations* return an arbitrary object with attributes (e.g. `my_item.name` instead of `my_item["name"]`) AND you use a `response_model`, make sure to update the Pydantic models with `orm_mode = True` as described in the docs (link above).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top