Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for properly (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNotNull(request);
            // The request should be properly created - we can't easily verify headers without mocking framework
        }
    
        public void test_post() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        public void test_put() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            // Create a concrete implementation for testing
            rankFusionSearcher = new TestRankFusionSearcher();
        }
    
        public void test_getName_defaultBehavior() {
            // Test that getName() properly converts class name to lowercase without "Searcher" suffix
            assertEquals("test_rank_fusion", rankFusionSearcher.getName());
        }
    
        public void test_getName_cachesBehavior() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
            ContainerNotAvailableException exception1 = new ContainerNotAvailableException("test");
            ContainerNotAvailableException exception2 = new ContainerNotAvailableException("test");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertSame(firstCall, secondCall);
            assertEquals(type, firstCall);
        }
    
        public void test_inheritanceFromFessSystemException() {
            // Test that InvalidAccessTokenException is properly inherited from FessSystemException
            String type = "SessionToken";
            String message = "Session expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        public void test_process_withPropertiesPath() throws Exception {
            // Test that properties path is properly handled
            // Create temporary properties file
            File propFile = File.createTempFile("test", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "test.property=value".getBytes());
    
            Crawler.Options options = new Crawler.Options();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/QueryTestBase.java

    /**
     * Base test class for query-related tests that properly initializes FessConfig
     */
    public abstract class QueryTestBase extends UnitFessTestCase {
    
        protected QueryProcessor queryProcessor;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup FessConfig with proper initialization
            setupBaseFessConfig();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        }
    
        public void test_ProtwordsUpdater_fileCreationException() {
            // This test verifies that ProtwordsUpdater constructor properly handles exceptions
            // The actual exception handling is tested by ensuring the updater can be created
            // and properly closed even when errors might occur
    
            protwordsFile.reload(null);
    
            // Test normal creation and cleanup of ProtwordsUpdater
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

        }
    
        // Test property not found exception
        public void test_propertyNotFound() {
            try {
                fessConfig.get("non.existent.property");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertEquals("non.existent.property", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
        }
    
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            monitorTarget.append(buf, "dateKey", supplier);
            String result = buf.toString();
            assertTrue(result.startsWith("\"dateKey\":\""));
            // Check that the date was converted to string and properly escaped
            assertTrue(result.contains("2021") || result.contains("Jan") || result.contains("1609459200000"));
        }
    
        // Test appendTimestamp method
        public void test_appendTimestamp() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top