- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for non_existent_ (0.14 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
@Test 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 @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0) -
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()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
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)