Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for tail (0.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            ResponseData responseData = new ResponseData();
            assertTrue(ruleWithoutContainer.match(responseData));
    
            // Register should fail with null container
            try {
                ruleWithoutContainer.register(0);
                fail("Should throw exception with null container");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

     *   <li>Extracting text from metadata if the main content extraction fails</li>
     *   <li>Reading content as plain text if all other methods fail</li>
     *   <li>Applying post-extraction filters</li>
     *   <li>Handling Tika exceptions, including zip bomb exceptions</li>
     * </ul>
     *
     * <p>
     * The class also supports configuration options such as:
     * </p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            final InputStream is = ResourceUtil.getResourceAsStream("test/text1.txt");
    
            try {
                mimeTypeHelper.getContentType(null, "");
                fail();
            } catch (final MimeTypeException e) {}
    
            assertEquals("text/plain", mimeTypeHelper.getContentType(is, ""));
            assertEquals("text/plain", mimeTypeHelper.getContentType(is, " "));
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            accessResultDataImpl.setTransformerName("transformer");
    
            try {
                final Object obj = xpathTransformer.getData(accessResultDataImpl);
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_getData_nullData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            testTransformer.setThrowException(true);
    
            ResponseData responseData = new ResponseData();
    
            try {
                testTransformer.transform(responseData);
                fail("Should throw CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Test exception", e.getMessage());
            }
    
            assertEquals(1, testTransformer.getTransformCallCount());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            }
        }
    
        /**
         * Test exception in method that declares throws
         */
        public void test_exceptionInMethod() {
            try {
                methodThatThrowsException();
                fail("Should have thrown CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Method exception", e.getMessage());
            }
        }
    
        private void methodThatThrowsException() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import static org.codelibs.opensearch.runner.OpenSearchRunner.newConfigs;
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.time.ZonedDateTime;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            tikaExtractor.maxCompressionRatio = 1;
            tikaExtractor.maxUncompressionSize = 10000;
            try {
                tikaExtractor.getText(in, null);
                fail();
            } catch (final ExtractException e) {
                logger.info(e.getMessage());
            }
        }
    
        public void test_getTika_tar() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top