Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 757 for test5 (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/helper/IndexingHelperTest.java

                    "_id", "001", //
                    "config_id", "W01", //
                    "url", "http://test.com/001"//
            )));
            docList.add(new HashMap<>(Map.of(//
                    "_id", "002", //
                    "thumbnail", "http://test.com/002", //
                    "url", "http://test.com/002"//
            )));
            indexingHelper.sendDocuments(client, docList);
            assertEquals(0, docList.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            assertTrue(exception.aborted());
        }
    
        public void test_aborted_multipleCallsReturnSameValue() {
            // Test that multiple calls to aborted() return the same value
            String url = "http://example.com/test";
            String message = "Test message";
            Exception cause = new RuntimeException("Test cause");
            boolean abort = true;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertNull(System.getProperty("fess." + now));
            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));
        }
    
        public void test_getCurrentTime() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}:
       *       <ul>
       *         <li>Test will fail if default value for a parameter cannot be determined.
       *         <li>Test will fail if the factory method returns null so testing instance methods is
       *             impossible.
       *         <li>Test will fail if the constructor or factory method throws exception.
       *       </ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top