Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 30 for non_existent_ (0.07 seconds)

  1. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            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)
  2. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            TestCorsHandler handler = new TestCorsHandler("example-handler");
            corsHandlerFactory.add(origin, handler);
    
            // Execute
            CorsHandler result = corsHandlerFactory.get("https://nonexistent.com");
    
            // Verify
            assertNull(result);
        }
    
        @Test
        public void test_add_overwriteExistingOrigin() {
            // Setup
            String origin = "https://example.com";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

                Path path = ResourceUtil.getConfOrClassesPath("nonexistent.conf");
                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
                assertTrue(e.getMessage().contains("nonexistent.conf"));
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        @Test
        public void test_getScriptEngine_nonExistentName() {
            try {
                scriptEngineFactory.getScriptEngine("nonexistent");
                fail("Should throw ScriptEngineException for non-existent engine");
            } catch (ScriptEngineException e) {
                assertEquals("nonexistent is not found.", e.getMessage());
            }
        }
    
        // Test getScriptEngine with empty string
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/curl/CurlException.java

         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new CurlException with the specified detail message.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Jul 05 01:38:18 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            thread.start();
            thread.join(1000);
    
            assertTrue(thread.contains("exact line"));
            assertTrue(thread.contains("another line"));
            assertFalse(thread.contains("nonexistent"));
        }
    
        @Test
        public void test_contains_withTrimming() throws InterruptedException {
            String input = "  trimmed line  \n\tanother\t";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

        }
    
        @Test
        public void test_replaceUrl_withNonExistentSessionId() {
            final String url = "file:///home/user/";
            assertEquals(url, pathMappingHelper.replaceUrl("nonexistent", url));
        }
    
        @Test
        public void test_replaceUrl_withEmptyList() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        @Test
        public void test_provide_notFound() {
            // Test with various classification names that should not be found
            assertProvideThrowsException("TestClassification");
            assertProvideThrowsException("NonExistent");
            assertProvideThrowsException("");
            assertProvideThrowsException("Some.Classification");
            assertProvideThrowsException("Project.TestClassification");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            execJob.testDeleteTempDir(testDir);
            assertFalse(testDir.exists());
    
            // Test with non-existent directory
            File nonExistentDir = new File(tempDir, "non_existent");
            execJob.testDeleteTempDir(nonExistentDir);
        }
    
        // Test appendJarFile method
        @Test
        public void test_appendJarFile() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

        }
    
        @Test
        public void test_getMatchedLabelValueSet_emptyPatternList() {
            // Test with empty pattern list
            Set<String> result = labelTypeHelper.getMatchedLabelValueSet("/nonexistent/path");
            assertNotNull(result);
        }
    
        @Test
        public void test_getMatchedLabelValueSet_nullPath() {
            try {
                labelTypeHelper.getMatchedLabelValueSet(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
Back to Top