Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for nonExistent (4.22 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.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 CrawlerSystemException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                    try {
                        // Call processRequest which triggers initialization
                        client.doGet("file://nonexistent.txt");
                    } catch (Exception e) {
                        // Expected for nonexistent file
                    }
                    initResults[index] = client.isInit.get();
                });
            }
    
            // Start all threads simultaneously
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/ExtractException.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 ExtractException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. 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.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

        }
    
        public void test_getValuesNonExistentKey() {
            // Test getValues with non-existent key
            ExtractData data = new ExtractData();
    
            String[] values = data.getValues("nonexistent");
            assertNull(values);
        }
    
        public void test_getKeySet() {
            // Test getKeySet method
            ExtractData data = new ExtractData();
    
            data.putValue("key1", "value1");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/SingletonContextTest.java

        }
    
        @Test
        void testInitIOExceptionHandling(@TempDir Path tempDir) {
            // Test handling IOException when loading jcifs.properties
            Path nonExistentPath = tempDir.resolve("nonexistent.properties");
            System.setProperty("jcifs.properties", nonExistentPath.toString());
    
            // Expect no exception to be thrown, but an error logged (which we can't directly assert here)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

            assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value.");
        }
    
        @Test
        void testGetOptionNonExistent() {
            assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option.");
        }
    
        @Test
        void testToStringWithoutOptionsAndEndpoint() {
            String expected = PROTO + ":" + SERVER + "[null]";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top