Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 21 for non_existent (0.05 seconds)

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

  1. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

                assertTrue("Field " + field + " should be found", queryFieldConfig.isSortField(field));
            }
    
            // Test negative cases
            assertFalse(queryFieldConfig.isSortField("nonexistent"));
            assertFalse(queryFieldConfig.isSortField("title"));
            assertFalse(queryFieldConfig.isSortField(""));
            assertFalse(queryFieldConfig.isSortField(null));
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K 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/helper/OsddHelperTest.java

                @Override
                public String getSsoType() {
                    return "none";
                }
            });
            final OsddHelper osddHelper = new OsddHelper();
            osddHelper.setOsddPath("osdd/nonexistent.xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail("Should throw exception when osddFile is null");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            // Test that Files.deleteIfExists doesn't throw on non-existing file
            Path tempDir = Files.createTempDirectory("toctou_test");
            try {
                Path nonExistingFile = tempDir.resolve("non_existing.tmp");
                assertFalse(Files.exists(nonExistingFile));
    
                // Should return false without throwing exception
                boolean deleted = Files.deleteIfExists(nonExistingFile);
    
    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)
  8. 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)
  9. 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)
  10. 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)
Back to Top