Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 757 for test$ (0.02 sec)

  1. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            }
            super.tearDown();
        }
    
        private String getTestContent() {
            return "# This is a comment\n" + "test1\n" + "test2\n" + "test3\n" + "\n" + // empty line
                    "test\\\\4\n" + // escaped backslash
                    "test5\n";
        }
    
        public void test_getType() {
            assertEquals("protwords", protwordsFile.getType());
        }
    
        public void test_getPath() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

        }
    
        public void test_store_withValidData() {
            // Prepare test data
            DataStoreParams paramMap = new DataStoreParams();
            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("url", "http://example.com/test");
            dataMap.put("title", "Test Document");
    
            // Execute
            indexUpdateCallback.store(paramMap, dataMap);
    
            // Verify
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with system property that exists
            System.setProperty("test.property", "test.value");
            execJob.testAddSystemProperty(cmdList, "test.property", "default", null);
            assertEquals(1, cmdList.size());
            assertEquals("-Dtest.property=test.value", cmdList.get(0));
    
            // Test with append value
            cmdList.clear();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        }
    
        // Test command string construction edge cases
        public void test_command_string_edge_cases() throws Exception {
            // Test with commands containing special characters
            final List<String> specialCommands = Arrays.asList("echo \"test with quotes\"", "echo 'test with single quotes'",
                    "echo test with spaces", "echo test&with&ampersand", "echo test|with|pipe");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            }
        }
    
        public void test_addCondition() {
            // Test adding conditions
            generator = new TestThumbnailGenerator();
    
            // Test adding single condition
            generator.addCondition("field1", "value1");
    
            // Test adding multiple conditions for same field
            generator.addCondition("field1", "value2");
    
            // Test adding conditions for different fields
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlExceptionTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    
    import org.junit.Test;
    
    /**
     * Test class for CurlException.
     * Tests exception creation, message handling, and cause propagation.
     */
    public class CurlExceptionTest {
    
        @Test
        public void testConstructorWithMessage() {
            String message = "Test error message";
            CurlException exception = new CurlException(message);
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlResponseTest.java

    import org.codelibs.curl.io.ContentCache;
    import org.junit.Test;
    
    /**
     * Test class for CurlResponse.
     * Tests response handling, header operations, and content access.
     */
    public class CurlResponseTest {
    
        @Test
        public void testConstructor() {
            CurlResponse response = new CurlResponse();
            assertNotNull(response);
        }
    
        @Test
        public void testHttpStatusCode() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
        public void test_getAppType() {
            // Test default empty when no env var is set
            String originalAppType = System.getenv("FESS_APP_TYPE");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test process with available generator
        public void test_process_availableGenerator() throws IOException {
            // Skip this test as it requires container components
            // The process method needs actual ThumbnailQueueBhv and other components
            assertTrue(true);
        }
    
        // Test process with unavailable generator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            // Should match included path
            assertTrue(pattern.match("/test/path"));
    
            // Should not match non-included path
            assertFalse(pattern.match("/other/path"));
        }
    
        public void test_labelTypePattern_match_onlyExcluded() {
            LabelTypePattern pattern = new LabelTypePattern("test", null, "/exclude.*");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top