- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 236 for existence (0.15 seconds)
-
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals(123, dataStoreParams.get("key2")); dataStoreParams.put("key3", null); 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
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) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java
/** * Changes current cwd, if the new path is existing directory. * * @throws NullPointerException if {@code seg} is {@code null}. * @throws IllegalArgumentException if {@code seg} leads to non-existent directory. */ public void change(String seg) { Path newCwd = resolve(seg); if (Files.isDirectory(newCwd)) { this.directory = newCwd; } else {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
tempFile = new File(Curl.tmpDir, "non-existent-file.tmp"); assertFalse(tempFile.exists()); ContentCache cache = new ContentCache(tempFile); // Should throw IOException when file doesn't exist try { cache.close(); fail("Expected IOException for non-existent file"); } catch (IOException e) {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
cmd/os-readdir_test.go
"fmt" "os" "path" "path/filepath" "runtime" "sort" "testing" ) // Test to check for different input arguments. func TestReadDirFail(t *testing.T) { // Check non existent directory. if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/es/docs/tutorial/handling-errors.md
# Manejo de Errores { #handling-errors } Existen muchas situaciones en las que necesitas notificar un error a un cliente que está usando tu API. Este cliente podría ser un navegador con un frontend, un código de otra persona, un dispositivo IoT, etc. Podrías necesitar decirle al cliente que: * El cliente no tiene suficientes privilegios para esa operación. * El cliente no tiene acceso a ese recurso. * El ítem al que el cliente intentaba acceder no existe.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.6K bytes - Click Count (0) -
docs/fr/docs/history-design-future.md
Pendant le développement, j'ai également contribué à [**Starlette**](https://www.starlette.dev/), l'autre exigence clé. ## Développement { #development }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.8K bytes - Click Count (0) -
cmd/os-reliable.go
switch { case isSysErrNotDir(err) && !osIsNotExist(err): // Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning // true if the source file path contains an non-existent directory. In that case, // we want to return errFileNotFound instead, which will honored in subsequent // switch cases return errFileAccessDenied case isSysErrPathNotFound(err):Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertNull(result); } @Test void testGetByNameWithNonExistentFile() { // Test with non-existent file when(mockConfig.getLmHostsFileName()).thenReturn("/non/existent/lmhosts"); NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext); assertNull(result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
assertEquals("script for engine2", engine2.getLastScript()); } @Test public void test_execute_withInvalidScriptType() { // Try to execute with non-existent script type try { scriptExecutor.execute("nonexistent", "some script"); fail("Expected ScriptEngineException"); } catch (ScriptEngineException e) {
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) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
@Test public void test_propertyNotFound() { try { fessConfig.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertEquals("non.existent.property", e.getMessage()); } } // Test isExtensionAllowed method /*Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.6K bytes - Click Count (0)