Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for NonExistent (0.05 sec)

  1. src/test/java/jcifs/ConfigTest.java

            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
            assertEquals(123, Config.getInt(testProperties, "test.int"));
            assertEquals(-1, Config.getInt(testProperties, "nonexistent.int"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

                nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL");
            }, "Should throw UnknownHostException for non-existent NetBIOS name");
    
            // Verify the exception message indicates name resolution failure
            assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            // Try to execute with non-existent script type
            try {
                scriptExecutor.execute("nonexistent", "some script");
                fail("Expected ScriptEngineException");
            } catch (ScriptEngineException e) {
                assertTrue(e.getMessage().contains("nonexistent"));
            }
        }
    
        public void test_execute_withNullScriptType() {
            // Try to execute with null script type
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.put("key3", null);
            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        public void test_getAsStringWithStringValue() {
            dataStoreParams.put("stringKey", "stringValue");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        public void test_init_nonExistentDirectory() {
            ThumbnailManager manager = new ThumbnailManager() {
                @Override
                public void init() {
                    baseDir = new File(tempDir, "nonexistent/dir");
                    if (baseDir.mkdirs()) {
                        logger.info("Created: {}", baseDir.getAbsolutePath());
                    }
                    if (!baseDir.isDirectory()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. 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);
        }
    
        public void test_add_overwriteExistingOrigin() {
            // Setup
            String origin = "https://example.com";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            HandleInfo info = manager.getHandleByPath("/test/file.txt");
            assertNotNull(info);
            assertEquals(guid, info.getCreateGuid());
    
            assertNull(manager.getHandleByPath("/nonexistent/file.txt"));
        }
    
        @Test
        public void testMultipleHandles() {
            HandleGuid guid1 = manager.requestDurableHandle("/test/file1.txt", HandleType.DURABLE_V2, 120000, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

        }
    
        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");
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            CIFSContext fileContext = createFreshContext();
            SmbFile nonExistent = new SmbFile(baseUrl + "shared/nonexistent_" + timestamp + ".txt", fileContext);
            assertFalse(nonExistent.exists(), "Non-existent file should return false");
    
            // Create file and check
            nonExistent.createNewFile();
            nonExistent.close();
            Thread.sleep(200);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top