Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 119 for existence (0.15 sec)

  1. 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")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. 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) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

        // Test property not found exception
        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
        /*
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/handling-errors.md

    # Manejo de Errores
    
    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.
    * etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    func TestNonExistentBucketOperations(t *testing.T) {
    	ExecObjectLayerTest(t, testNonExistentBucketOperations)
    }
    
    // Tests validate that bucket operation on non-existent bucket fails.
    func testNonExistentBucketOperations(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	var opts ObjectOptions
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  6. docs/pt/docs/help-fastapi.md

    ## Responda perguntas no GitHub
    
    Você pode acompanhar as <a href="https://github.com/fastapi/fastapi/issues" class="external-link" target="_blank">perguntas existentes</a> e tentar ajudar outros,            . 🤓
    
    Ajudando a responder as questões de varias pessoas, você pode se tornar um [Expert em FastAPI](fastapi-people.md#especialistas){.internal-link target=_blank} oficial. 🎉
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. 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);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("12.2.0", result.getVersion());
        }
    
        public void test_getArtifact_notFound() {
            Artifact result = pluginHelper.getArtifact("non-existent", "1.0.0");
            assertNull(result);
        }
    
        public void test_getArtifact_nullInputs() {
            assertNull(pluginHelper.getArtifact(null, "1.0.0"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        }
    
        @Test
        void testGetOptionNonExistent() {
            assertNull(dcerpcBinding.getOption("nonExistent"), "Should return null for a non-existent option.");
        }
    
        @Test
        void testToStringWithoutOptionsAndEndpoint() {
            String expected = PROTO + ":" + SERVER + "[null]";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle_test.go

    	}
    }
    
    func TestValidateTransitionTier(t *testing.T) {
    	globalTierConfigMgr = NewTierConfigMgr()
    	testCases := []struct {
    		xml         []byte
    		expectedErr error
    	}{
    		{
    			// non-existent storage-class
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
Back to top