- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 119 for existence (0.38 sec)
-
docs/pt/docs/tutorial/handling-errors.md
``` { "item": "The Foo Wrestlers" } ``` Mas se o cliente faz uma requisição para `http://example.com/items/bar` (ou seja, um não existente `item_id "bar"`), esse cliente receberá um HTTP status code 404 (o erro "não encontrado" — *not found error*), e uma resposta JSON: ```JSON { "detail": "Item not found" } ``` /// tip | Dica
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.9K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
expectedRespStatus: http.StatusBadRequest, }, // Test case - 8. // non-existent bucket is used. // writing BucketPolicy should fail. // should result in 404 StatusNotFound { bucketName: "non-existent-bucket", bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, "non-existent-bucket", "non-existent-bucket")),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 32.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
} catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); } // Test with multiple names - should also throw exception for non-existent files try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
} }; try { emptyEnv.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertTrue(e.getMessage().contains("non.existent.property")); } try { emptyEnv.is("non.existent.boolean"); fail("Should throw ConfigPropertyNotFoundException");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K bytes - Viewed (0) -
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 public void test_getNonExistentKey() { assertNull(dataStoreParams.get("nonexistent")); } // Test getAsString with String value public void test_getAsStringWithStringValue() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
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());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
} } // Test getScriptEngine with non-existent name public void test_getScriptEngine_nonExistentName() { try { scriptEngineFactory.getScriptEngine("nonexistent"); fail("Should throw ScriptEngineException for non-existent engine"); } catch (ScriptEngineException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
} } } 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); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
assertEquals("script for engine2", engine2.getLastScript()); } 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) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0)