Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for non_existent (0.09 seconds)

  1. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            execJob.testDeleteTempDir(testDir);
            assertFalse(testDir.exists());
    
            // Test with non-existent directory
            File nonExistentDir = new File(tempDir, "non_existent");
            execJob.testDeleteTempDir(nonExistentDir);
        }
    
        // Test appendJarFile method
        @Test
        public void test_appendJarFile() throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_noParentsNeeded() throws IOException {
        File file = file(getTempDir(), "nonexistent.file");
        assertTrue(file.getParentFile().exists());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  5. android/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
    - 26.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            assertEquals("default", DocumentUtil.getValue(doc, "nonexistent", String.class, "default"));
            assertEquals(Integer.valueOf(42), DocumentUtil.getValue(doc, "nonexistent", Integer.class, 42));
            assertEquals(Long.valueOf(123L), DocumentUtil.getValue(doc, "nonexistent", Long.class, 123L));
    
            doc.put("key", "value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertNull(dataStoreParams.get("key3"));
        }
    
        // Test get for non-existent key
        @Test
        public void test_getNonExistentKey() {
            assertNull(dataStoreParams.get("nonexistent"));
        }
    
        // Test getAsString with String value
        @Test
        public void test_getAsStringWithStringValue() {
            dataStoreParams.put("stringKey", "stringValue");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_password_bearer_optional.py

        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Notexistent testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. tests/test_security_oauth2_password_bearer_optional_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {"token": "testtoken"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Notexistent testtoken"})
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. tests/main_test.go

    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 1.5K bytes
    - Click Count (0)
Back to Top