Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 176 for existence (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertTrue(laterAge >= 200, "Age should increase after delay");
        }
    
        @Test
        public void testKeyAgeNonExistent() {
            assertEquals(-1, keyManager.getKeyAge("non-existent"), "Non-existent key should return -1 for age");
        }
    
        @Test
        public void testConfigureKeyRotation() {
            // Test that configuration doesn't throw
            keyManager.configureKeyRotation(60000);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                }
            }
        }
    
        @Test
        public void test_init_withNonExistentSSLCertificate() {
            setupMockConfig("localhost:9200", "", "", "/non/existent/cert.crt");
    
            curlHelper.init();
    
            // Should handle non-existent certificate gracefully
            SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
            assertNull(sslSocketFactory);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_authorization_code_bearer.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Non-existent testtoken"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_token():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            execJob.testAddSystemProperty(cmdList, "non.existent.property", "default.value", null);
            assertEquals(1, cmdList.size());
            assertEquals("-Dnon.existent.property=default.value", cmdList.get(0));
    
            // Test with property that doesn't exist and no default value
            cmdList.clear();
            execJob.testAddSystemProperty(cmdList, "another.non.existent", null, null);
            assertEquals(0, cmdList.size());
    
    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)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            }
        }
    
        // Test getScriptEngine with non-existent name
        @Test
        public void test_getScriptEngine_nonExistentName() {
            try {
                scriptEngineFactory.getScriptEngine("nonexistent");
                fail("Should throw ScriptEngineException for non-existent engine");
            } catch (ScriptEngineException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. tensorflow/c/c_api_experimental_test.cc

    TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) {
      TF_GraphRemoveFunction(func_graph_, "wrong_name", s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(std::string("Tried to remove non-existent function 'wrong_name'."),
                std::string(TF_Message(s_)));
    }
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) {
      TF_Function* funcs[1];
      DefineFunction(func_name_, &func_);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  7. tests/test_security_oauth2_authorization_code_bearer_description.py

        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_incorrect_token():
        response = client.get("/items", headers={"Authorization": "Non-existent testtoken"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_token():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top