Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for test_0 (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            assertEquals("test.sh", list.get(0));
            assertEquals("test1 ' test2", list.get(1));
    
            cmd = "test.sh 'test1 \" test2'";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(2, list.size());
            assertEquals("test.sh", list.get(0));
            assertEquals("test1 \" test2", list.get(1));
    
            cmd = "test.sh $INPUT_FILE";
            params.clear();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_ooow_as() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test_as.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            ftpInfo = new FtpClient.FtpInfo(value, Constants.UTF_8);
            assertEquals("ftp://123.123.123.123/test1/test.txt", ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(21, ftpInfo.getPort());
            assertEquals("/test1", ftpInfo.getParent());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. fess-crawler/src/test/resources/extractor/program/test.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package com.foo.bar;
    
    public class Test {
        public String test="テスト";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 701 bytes
    - Viewed (0)
  5. README.md

    mvn license:format
    
    # Run static analysis
    mvn spotbugs:check
    ```
    
    ### Running Tests
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=CrawlerTest
    
    # Run specific test method
    mvn test -Dtest=CrawlerTest#test_execute_web
    
    # Run tests for specific module
    mvn test -pl fess-crawler
    ```
    
    ## Examples
    
    ### Web Crawling with Custom Rules
    
    ```java
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        }
    
        @Test
        public void testConvertWithNullField() throws IOException {
            // Test convert with null field
            converter.init();
            String text = "test";
            String field = null;
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertEquals(1, readings.size());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("text/x-csrc", "extractor/program/test.c", "test.c");
            assertContentType("text/x-c++src", "extractor/program/test.cpp", "test.cpp");
            assertContentType("text/x-chdr", "extractor/program/test.h", "test.h");
            assertContentType("text/x-c++hdr", "extractor/program/test.hpp", "test.hpp");
            assertContentType("text/x-java-source", "extractor/program/test.java", "test.java");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                        assertTrue(url.contains("test/dir1") || url.contains("test/dir2") || url.contains("test/text1.txt")
                                || url.contains("test/text2.txt") || url.contains("test/text%203.txt"));
                    }
                }
            }
    
        }
    
        public void test_doGet_file() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test/text1.txt");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/fuga.pdf";
            params.put(ExtractData.URL, url);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            assertTrue(urlFilter.match("https://example.com/search?q=test"));
            assertTrue(urlFilter.match("https://example.com/search?q=test&page=2"));
            assertFalse(urlFilter.match("https://example.com/search?debug=true"));
            assertFalse(urlFilter.match("https://example.com/search?q=test&debug=true"));
        }
    
        /**
         * Test processUrl method with various URL patterns
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top