Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for NonExistent (0.2 seconds)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

            assertNotNull(authenticator);
            assertEquals(testAuthenticator, authenticator);
        }
    
        @Test
        public void test_getAuthenticator_whenComponentDoesNotExist() {
            currentSsoType = "nonexistent";
            ssoManager = new SsoManager() {
                @Override
                protected String getSsoType() {
                    return currentSsoType;
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            }
        }
    
        @Test
        public void test_writeThreadDump_withInvalidPath() {
            // Test with invalid file path (directory that doesn't exist)
            String invalidPath = "/nonexistent/directory/thread-dump.txt";
    
            try {
                ThreadDumpUtil.writeThreadDump(invalidPath);
                // Should not throw exception but log warning
            } catch (Exception e) {
    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)
  5. 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)
  6. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

        @Test
        public void test_getParamValueArray_withNullParam() {
            MockHttpServletRequest request = new MockHttpServletRequest();
            String[] result = SearchRequestParams.getParamValueArray(request, "nonexistent");
            assertEquals(0, result.length);
        }
    
        @Test
        public void test_getParamValueArray_withBlankValues() {
            MockHttpServletRequest request = new MockHttpServletRequest();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java

            ComponentUtil.register(mockJobManager, JobManager.class.getCanonicalName());
    
            final ScheduledJob scheduledJob = new ScheduledJob();
            scheduledJob.setId("nonexistent-job");
    
            try {
                scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id"));
                fail("Expected JobNotFoundException");
            } catch (final JobNotFoundException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

        }
    
        @Test
        public void test_getMapValue_missing() {
            final Map<String, Object> map = Map.of("key", "value");
            assertNull(coordinatorHelper.getMapValue(map, "nonexistent"));
        }
    
        @Test
        public void test_getListValue_exists() {
            final List<Map<String, Object>> list = List.of(Map.of("id", "1"), Map.of("id", "2"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            chatClient.setSearchResults(Collections.emptyList());
            chatClient.resetSearchDocumentsCalled();
    
            final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent");
            assertTrue(result.isEmpty());
        }
    
        // ========== Testable subclass ==========
    
        static class TestableChatClient extends ChatClient {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  10. 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)
Back to Top