Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for unexpected (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            try {
                urlFilter.processUrl(null);
                // Should handle null gracefully or throw appropriate exception
            } catch (NullPointerException e) {
                // Expected behavior for null input
                assertTrue(true);
            }
        }
    
        /**
         * Test processUrl with empty URL
         */
        public void test_processUrl_emptyUrl() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
    
            try {
                ruleManager.addRule(5, rule2);
                fail("Should throw IndexOutOfBoundsException for index > size");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
        }
    
        /**
         * Test adding null rule at index
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            String field = "content";
    
            try {
                List<String> results = converter.convert(text, field, "en");
                assertNotNull(results);
            } catch (Exception e) {
                // Expected behavior - null text might cause exception
                assertNotNull(e);
            }
        }
    
        @Test
        public void testConvertWithWhitespaceText() throws IOException {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

     * This handler extends {@link URLStreamHandler} to provide a way to open connections to storage objects
     * using URLs with the "storage" protocol.
     *
     * <p>
     * The URL format is expected to be: {@code storage://bucketName/objectName}.
     * The bucket name and object name are extracted from the URL.
     * </p>
     *
     * <p>
     * The handler relies on environment variables for configuration:
     * </p>
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            factory.setComponentName(null);
    
            try {
                factory.create();
                fail("Should throw exception for null component name");
            } catch (Exception e) {
                // Expected behavior
                assertTrue(true);
            }
        }
    
        /**
         * Test creation with invalid component name
         */
        public void test_create_invalidComponentName() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            SuggestItem item2 = new SuggestItem(text, readings, null, 0L, 0L, 2.5f, null, null, null, SuggestItem.Kind.QUERY);
            assertEquals(2.5f, item2.getUserBoost(), 0.001f); // Should keep the value
        }
    
        @Test(expected = IllegalArgumentException.class)
        public void testMergeDifferentIds() {
            // Test that merge throws exception for different IDs
            String[] text1 = { "item1" };
            String[][] readings1 = { { "read1" } };
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            try {
                ruleWithoutContainer.register(0);
                fail("Should throw exception with null container");
            } catch (NullPointerException e) {
                // Expected
            }
        }
    
        /**
         * Test concurrent property access
         */
        public void test_concurrentPropertyAccess() throws Exception {
            final int threadCount = 10;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top