Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for doc123 (0.6 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

        public void test_createTask() {
            // Test createTask method (requires FessConfig)
            generator = new TestThumbnailGenerator();
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "doc123");
    
            // Since createTask depends on FessConfig, it may not work properly
            // in unit tests without full container
            try {
                generator.createTask("/path/to/thumb.jpg", docMap);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test basic functionality
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "doc123");
    
            emptyGenerator.setName("empty");
            String path = "/path/to/thumbnail.jpg";
    
            // Since createTask requires FessConfig, it may not work properly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/DocListTest.java

            DocList docList = new DocList();
    
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("id", "1");
            doc1.put("title", "Test Document 1");
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("id", "2");
            doc2.put("title", "Test Document 2");
    
            docList.add(doc1);
            docList.add(doc2);
    
            assertEquals(2, docList.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/text/JsonUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author shinsuke
     *
     */
    public class JsonUtilTest {
        @Test
        public void escape() {
            assertThat(JsonUtil.escape("abc123あア亜"), is("abc123あア亜"));
            assertThat(JsonUtil.escape("\\\"/\b\t\n\f\r\0"), is("\\\\\\\"\\/\\b\\t\\n\\f\\r\\u0000"));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top