Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 79 for non_existent_ (0.09 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Test
        public void test_generate_parent_directory_not_exists() throws Exception {
            final File tempDir = new File(System.getProperty("java.io.tmpdir"));
            final File nonExistentParent = new File(tempDir, "non_existent_" + System.currentTimeMillis());
            final File outputFile = new File(nonExistentParent, "output.txt");
    
            try {
                assertFalse(nonExistentParent.exists());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  2. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  3. 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"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. 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")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        @Test
        public void test_recordOnNonExistentKey() {
            String key = "non_existent";
            crawlerStatsHelper.record(key, "test_action");
    
            assertNull(localLogMsg.get());
        }
    
        @Test
        public void test_runOnThreadOnNonExistentKey() {
            String key = "non_existent";
            crawlerStatsHelper.runOnThread(key);
    
            assertNull(localLogMsg.get());
        }
    
    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)
  6. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertEquals(true, docMap.get("key3"));
    
            assertTrue(docMap.containsKey("key1"));
            assertTrue(docMap.containsValue("value1"));
            assertFalse(docMap.containsKey("nonexistent"));
            assertFalse(docMap.containsValue("nonexistent"));
        }
    
        @Test
        public void test_put_and_get() {
            Map<String, Object> parentMap = new HashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

        public void test_sendCommand_jobNotFound() {
            try {
                processHelper.sendCommand("nonexistent", "test command");
                fail("Expected JobNotFoundException");
            } catch (JobNotFoundException e) {
                assertTrue(e.getMessage().contains("Job for nonexistent is not found"));
            }
        }
    
        @Test
        public void test_startProcess_basicCommand() {
            String sessionId = "test_session";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/MoreFilesTest.java

        Path path = FS.getPath("nonexistent.file");
        assertThat(path.getParent()).isNull();
        assertThat(path.toAbsolutePath().getParent()).isNotNull();
        MoreFiles.createParentDirectories(path); // test that there's no exception
      }
    
      public void testCreateParentDirectories_noParentsNeeded() throws IOException {
        Path path = tempDir.resolve("nonexistent.file");
        assertTrue(Files.exists(path.getParent()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                // Expected
            }
        }
    
        @Test
        public void test_getBoostedDocumentList_noBoostList() {
            KeyMatch keyMatch = new KeyMatch();
            keyMatch.setId("nonexistent");
            keyMatch.setTerm("nonexistent");
            keyMatch.setVirtualHost("");
    
            try {
                List<Map<String, Object>> result = keyMatchHelper.getBoostedDocumentList(keyMatch);
                assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. 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"));
            }
        }
    
        @Test
        public void test_execute_withNullScriptType() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
Back to Top