Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for doc123 (0.03 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/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)
  5. 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)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractorTest.java

        }
    
        public void test_getDecodeText() throws Exception {
            assertEquals("", emlExtractor.getDecodeText(null));
            assertEquals("", emlExtractor.getDecodeText(""));
            assertEquals("abc123", emlExtractor.getDecodeText("abc123"));
            assertEquals("ใƒ†ใ‚นใƒˆ", emlExtractor.getDecodeText("=?UTF-8?B?44OG44K544OI?="));
        }
    
        public void test_getTextWithAttachment() throws IOException {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            // Test the getDocId logic without creating actual FilePurgeVisitor
            // The logic converts path to doc ID by removing path separators
            String pathStr = "_1/_2/docid123";
            String expectedDocId = "_1_2docid123";
            String actualDocId = pathStr.replace("/", "").replace("\\", "");
            assertEquals(expectedDocId, actualDocId);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/archive/tar/strconv_test.go

    			want: time.Unix(1, 123456789),
    			ok:   true,
    		},
    		{
    			name: "TrailingError",
    			in:   "1.123abc",
    			want: time.Time{},
    			ok:   false,
    		},
    		{
    			name: "LeadingError",
    			in:   "1.abc123",
    			want: time.Time{},
    			ok:   false,
    		},
    	}
    	for _, tt := range tests {
    		b.Run(tt.name, func(b *testing.B) {
    			b.ReportAllocs()
    			for b.Loop() {
    				ts, err := parsePAXTime(tt.in)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  10. src/bytes/bytes_test.go

    type StringTest struct {
    	in  string
    	out []byte
    }
    
    var upperTests = []StringTest{
    	{"", []byte("")},
    	{"ONLYUPPER", []byte("ONLYUPPER")},
    	{"abc", []byte("ABC")},
    	{"AbC123", []byte("ABC123")},
    	{"azAZ09_", []byte("AZAZ09_")},
    	{"longStrinGwitHmixofsmaLLandcAps", []byte("LONGSTRINGWITHMIXOFSMALLANDCAPS")},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
Back to top