Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 563 for test$ (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertNull(System.getProperty("test." + now));
            appValue.set("=abc\nfess." + now + "=test1\ntest." + now + "=test2");
            helper.updateSystemProperties();
            assertEquals("test1", System.getProperty("fess." + now));
            assertEquals("test2", System.getProperty("test." + now));
        }
    
        @Test
        public void test_getCurrentTime() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        @Test
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        @Test
        public void test_getAsStringWithStringValue() {
            dataStoreParams.put("stringKey", "stringValue");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class SecuredTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        // Test that Secured annotation has correct meta-annotations
        @Test
        public void test_annotationMetadata() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly set
            CommandExecutionException exception1 = new CommandExecutionException("Test");
            CommandExecutionException exception2 = new CommandExecutionException("Test");
    
            // Both instances should be of the same class
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

        }
    
        @Test
        public void test_getMessage() {
            // Test that getMessage returns null (no message set in constructor)
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test that getCause returns null (no cause set in constructor)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java

        }
    
        /**
         * Test that delayForWaitingNewUrl doesn't throw exceptions
         * This tests the improved error handling with proper logging
         * Note: This is a basic smoke test since full integration testing
         * requires ComponentUtil and other dependencies
         */
        @Test
        public void test_delayForWaitingNewUrl_noExceptions() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test main method with valid arguments
        @Test
        public void test_main_validArguments() {
            // Cannot directly test main as it calls System.exit
            // Test options parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            options.sessionId = "test-session";
            options.name = "test-name";
            assertEquals("test-session", options.sessionId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            GsaConfigException exception = new GsaConfigException("Serialization test");
    
            // Verify the exception is serializable (has serialVersionUID)
            assertNotNull(exception);
            // The serialVersionUID field exists and is accessible at compile time
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_stackTrace() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            inject(relatedContentHelper);
            inject(virtualHostHelper);
        }
    
        @Test
        public void test_init() {
            // Setup test data
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("test", "Test Content", ""));
            mockBhv.setTestData(testData);
    
            relatedContentHelper.init();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Edge case tests for RankFusionProcessor.
     * Tests boundary conditions, empty states, and error scenarios.
     */
    public class RankFusionProcessorEdgeCaseTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test behavior when no searchers are registered (empty list).
         */
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top