Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for should (0.03 sec)

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

            String sessionId = "test-session-001";
            urlFilter.init(sessionId);
            // Initialization should complete without errors
            assertNotNull(urlFilter);
        }
    
        /**
         * Test initialization with null session ID
         */
        public void test_init_withNullSessionId() {
            urlFilter.init(null);
            // Should handle null session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
    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/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

         * @param objs the log objects
         */
        protected void processDefault(final Object... objs) {
        }
    
        /**
         * Processes system error log events.
         *
         * @param objs the log objects (should contain a Throwable)
         */
        protected void processSystemError(final Object... objs) {
            final Throwable t = (Throwable) objs[0];
            if (logger.isErrorEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            assertNotNull(component1);
            assertNotNull(component2);
    
            // Should be same instance for singleton
            assertSame(component1, component2);
            // The first creation should increment the counter
            assertTrue("Instance count should be at least 1", SingletonTestComponent.getInstanceCount() >= 1);
        }
    
        /**
         * Test wrap method
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                CrawlerStatus.valueOf("INVALID");
                fail("Should throw IllegalArgumentException for invalid value");
            } catch (IllegalArgumentException e) {
                // Expected
                assertTrue(e.getMessage().contains("INVALID"));
            }
    
            try {
                CrawlerStatus.valueOf("initializing"); // lowercase
                fail("Should throw IllegalArgumentException for lowercase value");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

    /**
     * Interface for reading documents and extracting their contents into a map.
     * Implementations of this interface should provide the logic for reading
     * documents and converting them into a key-value structure.
     *
     * <p>This interface extends {@link java.io.Closeable}, so implementations
     * should also handle resource cleanup when the {@link #close()} method is called.</p>
     */
    public interface DocumentReader extends Closeable {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            // Should be instance of RuntimeException
            assertTrue(exception instanceof RuntimeException);
    
            // Should be instance of Exception
            assertTrue(exception instanceof Exception);
    
            // Should be instance of Throwable
            assertTrue(exception instanceof Throwable);
    
            // Should not require try-catch (unchecked exception)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *  a number of objects each time it is called.  This could be optimized
         *  to keep the same objects around, but then thread-safety issues would arise.
         *
         *  @param contextNode The node to start searching from.
         *  @param expression A valid XPath string.
         *  @return An XPathEvaluationResult, which can be used to obtain a string, number, nodelist, etc, should never be null.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java

        /**
         * Adds a rule to the specified index.
         *
         * @param index the position at which the rule should be added
         * @param rule the rule to be added
         */
        /**
         * Adds a rule to the specified index.
         *
         * @param index the position at which the rule should be added
         * @param rule the rule to be added
         */
        void addRule(int index, Rule rule);
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            // Properties should work without container
            assertEquals("noContainer", ruleWithoutContainer.getRuleId());
    
            TestResponseProcessor processor = new TestResponseProcessor();
            ruleWithoutContainer.setResponseProcessor(processor);
            assertSame(processor, ruleWithoutContainer.getResponseProcessor());
    
            // Match should work
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            }
        }
    
        /**
         * Returns whether SIDs (Security Identifiers) should be resolved.
         *
         * @return true if SIDs should be resolved, false otherwise
         */
        public boolean isResolveSids() {
            return resolveSids;
        }
    
        /**
         * Sets whether SIDs (Security Identifiers) should be resolved.
         *
         * @param resolveSids true to resolve SIDs, false otherwise
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top