Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 15 for ItemV2 (0.07 seconds)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertTrue(Files.equal(temp2, i18nFile));
      }
    
      public void testMoveFailures() throws IOException {
        File temp1 = createTempFile();
        File temp2 = createTempFile();
    
        moveHelper(false, new UnmovableFile(temp1, false, false), temp2);
        moveHelper(
            false, new UnmovableFile(temp1, false, false), new UnmovableFile(temp2, true, false));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. 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)
  3. tests/test_schema_extra_examples.py

            item_id: str = Path(
                examples=["item_1", "item_2"],
            ),
        ):
            return item_id
    
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.get("/path_example_examples/{item_id}")
            def path_example_examples(
                item_id: str = Path(
                    example="item_overridden",
                    examples=["item_1", "item_2"],
                ),
            ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            Map<String, Object> dataMap = new HashMap<>();
    
            // Add a List as initial value
            List<String> initialList = new ArrayList<>();
            initialList.add("item1");
            initialList.add("item2");
            dataMap.put("items", initialList);
    
            // Add a new value
            transformer.putResultDataBody(dataMap, "items", "item3");
    
            Object result = dataMap.get("items");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  7. 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)
  8. tests/test_openapi_examples.py

                    "summary": "Path One Summary",
                    "description": "Path One Description",
                    "value": "item_1",
                },
                "Path Two": {
                    "value": "item_2",
                },
            },
        ),
    ):
        return item_id
    
    
    @app.get("/query_examples/")
    def query_examples(
        data: str | None = Query(
            default=None,
            examples=[
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  9. 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)
  10. 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);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
Back to Top