Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for doc123 (0.06 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/rank/fusion/SearchResultTest.java

            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("id", "1");
            doc1.put("title", "Document 1");
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("id", "2");
            doc2.put("title", "Document 2");
    
            SearchResult result = SearchResult.create().addDocument(doc1).addDocument(doc2).allRecordCount(2L).queryTime(25L).build();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/QueryResponseListTest.java

            assertEquals(-1, qrList.indexOf(doc3));
        }
    
        public void test_listOperations_iterators() {
            List<Map<String, Object>> documentList = new ArrayList<>();
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Doc1");
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Doc2");
            documentList.add(doc1);
            documentList.add(doc2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 39.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

                    Map<String, Object> doc1 = new HashMap<>();
                    doc1.put("id", "1");
                    doc1.put("title", "Document 1");
                    callback.store(initParamMap, doc1);
    
                    Map<String, Object> doc2 = new HashMap<>();
                    doc2.put("id", "2");
                    doc2.put("title", "Document 2");
                    callback.store(initParamMap, doc2);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Test Document 1");
            doc1.put("content", "Test content 1");
            documentItems.add(doc1);
    
            Map<String, Object> doc2 = new HashMap<>();
            doc2.put("title", "Test Document 2");
            doc2.put("content", "Test content 2");
            documentItems.add(doc2);
    
            searchRenderData.setDocumentItems(documentItems);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                assertTrue(doc.get(field).toString().toLowerCase().contains(query), doc.toString());
            }
            List<Map<String, Object>> docs2 = JsonPath.from(wcResponse2).getList("data");
            for (Map<String, Object> doc : docs2) {
                assertTrue(doc.get(field).toString().toLowerCase().contains(query), doc.toString());
            }
        }
    
        @Test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            MockletHttpServletRequest request = getMockRequest();
    
            List<Map<String, Object>> documentItems = new ArrayList<>();
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("docId", "doc1");
            doc1.put("title", "Test Document 1");
            documentItems.add(doc1);
    
            try {
                userInfoHelper.storeQueryId("query1", documentItems);
                assertTrue(true);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top