- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 85 for non_existent (0.07 seconds)
-
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K 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 Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
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 Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 56.9K bytes - Click Count (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
CIFSContext context = getTestContext(); context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true"); context.getConfig().setProperty("jcifs.smb.client.rdmaProvider", "nonexistent"); SmbFile file = new SmbFile("smb://server/share/test.txt", context); // Should work even if RDMA provider is not available file.createNewFile(); assertTrue(file.exists()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 35.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java
@Test public void test_getParamValueArray_withNullParam() { MockHttpServletRequest request = new MockHttpServletRequest(); String[] result = SearchRequestParams.getParamValueArray(request, "nonexistent"); assertEquals(0, result.length); } @Test public void test_getParamValueArray_withBlankValues() { MockHttpServletRequest request = new MockHttpServletRequest();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 26.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
@Test public void testDeleteByQueryWithNoMatches() { // Test delete with query that matches nothing boolean result = SuggestUtil.deleteByQuery(client, settings, TEST_INDEX, QueryBuilders.termQuery("nonexistent", "value")); assertTrue(result); // Should still return true even with no matches } @Test(expected = SuggesterException.class) public void testDeleteByQueryWithInvalidIndex() {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
chatClient.setSearchResults(Collections.emptyList()); chatClient.resetSearchDocumentsCalled(); final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent"); assertTrue(result.isEmpty()); } // ========== Testable subclass ========== static class TestableChatClient extends ChatClient {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K 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 Apr 03 09:05:14 GMT 2026 - Last Modified: Tue Feb 28 21:06:52 GMT 2023 - 424.5K bytes - Click Count (0)