- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 39 for nonexistent (0.2 seconds)
-
internal/config/certs_test.go
t.Fatalf("Unable to create temporary file. %v", err) } defer os.Remove(tempFile5) testCases := []struct { certFile string expectedResultLen int expectedErr bool }{ {"nonexistent-file", 0, true}, {tempFile1, 0, true}, {tempFile2, 0, true}, {tempFile3, 0, true}, {tempFile4, 1, false}, {tempFile5, 2, false}, } for _, testCase := range testCases {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.6K bytes - Click Count (0) -
cmd/xl-storage_test.go
// TestXLStorages xlStorage.getDiskInfo() func TestXLStorageGetDiskInfo(t *testing.T) { path := t.TempDir() testCases := []struct { diskPath string expectedErr error }{ {path, nil}, {"/nonexistent-dir", errDiskNotFound}, } // Check test cases. for _, testCase := range testCases { if _, _, err := getDiskInfo(testCase.diskPath); err != testCase.expectedErr {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
tests/test_path.py
def test_text_get(): response = client.get("/text") assert response.status_code == 200, response.text assert response.json() == "Hello World" def test_nonexistent(): response = client.get("/nonexistent") assert response.status_code == 404, response.text assert response.json() == {"detail": "Not Found"} def test_path_foobar(): response = client.get("/path/foobar")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
android/guava/src/com/google/common/io/Files.java
} } /** * Creates any necessary but nonexistent parent directories of the specified file. Note that if * this operation fails it may have succeeded in creating some (but not all) of the necessary * parent directories. * * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent * directories of the specified file could not be created. * @since 4.0
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
tests/test_application.py
@pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/api_route", 200, {"message": "Hello World"}), ("/non_decorated_route", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 51.9K bytes - Click Count (0) -
guava/src/com/google/common/io/Files.java
} } /** * Creates any necessary but nonexistent parent directories of the specified file. Note that if * this operation fails it may have succeeded in creating some (but not all) of the necessary * parent directories. * * @throws IOException if an I/O error occurs, or if any necessary but nonexistent parent * directories of the specified file could not be created. * @since 4.0
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
assertEquals("", root.childText("description"), "Should get empty description text"); // Test getting text from non-existing element assertNull(root.childText("nonexistent"), "Should return null for non-existing element"); } @Test void testAddGAVElements() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.23.md
- Fixed a bug where using `kubectl patch` with `$deleteFromPrimitiveList` on a nonexistent or empty list would add the item to the list ([#105421](https://github.com/kubernetes/kubernetes/pull/105421), [@brianpursley](https://github.com/brianpursley))
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Tue Feb 28 21:06:52 GMT 2023 - 424.5K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.10.md
* inside of which a write lock was intended to prevent races against * VM creation, but the usage of the sync.RWMutex type is incorrect, * plus is placed in a defer call so the locking is effectively * nonexistent. This patch adds an anonymous function call inside * the loop to correctly handle acquiring the write lock with deferred * unlock to run at that function's completion, following the normalCreated: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Thu May 05 13:44:43 GMT 2022 - 341.8K bytes - Click Count (0) -
cmd/object-handlers_test.go
}, // Test case - 2. // Abort non-existing upload ID. { bucket: bucketName, object: objectName, uploadID: "nonexistent-upload-id", accessKey: credentials.AccessKey, secretKey: credentials.SecretKey, expectedRespStatus: http.StatusNotFound, }, // Test case - 3.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0)