- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for non_existent (0.04 sec)
-
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
assertEquals(1, intValues.length); assertEquals("123", intValues[0]); String[] nullValues = defaultContentsParser.getFieldValues(document, "non_existent"); assertEquals(0, nullValues.length); } @Test public void test_parseSearchWords() throws Exception { String[] words = new String[] { "検索", "エンジン" };
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 12.2K bytes - Viewed (0) -
tests/lru_test.go
k, v, ok := lc.RemoveOldest() if k != "" { t.Fatalf("should be empty") } if v != "" { t.Fatalf("should be empty") } if ok { t.Fatalf("should be false") } ok = lc.Remove("non_existent") if ok { t.Fatalf("should be false") } lc.Add("key1", "val1") if lc.Len() != 1 { t.Fatalf("length differs from expected") } v, ok = lc.Get("key1") if !ok {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003.py
assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_incorrect_token_type(client: TestClient): response = client.get( "/users/me", headers={"Authorization": "Notexistent testtoken"} )Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.7K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial004.py
"disabled": False, } def test_incorrect_token(mod: ModuleType): client = TestClient(mod.app) response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == "Bearer"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test @DisplayName("Should get integer property") void testGetInt() { assertEquals(123, Config.getInt(testProperties, "test.int")); assertEquals(-1, Config.getInt(testProperties, "nonexistent.int"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL"); }, "Should throw UnknownHostException for non-existent NetBIOS name"); // Verify the exception message indicates name resolution failure assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005.py
"disabled": False, } def test_incorrect_token(mod: ModuleType): client = TestClient(mod.app) response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Could not validate credentials"} assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
CIFSContext fileContext = createFreshContext(); SmbFile nonExistent = new SmbFile(baseUrl + "shared/nonexistent_" + timestamp + ".txt", fileContext); assertFalse(nonExistent.exists(), "Non-existent file should return false"); // Create file and check nonExistent.createNewFile(); nonExistent.close(); Thread.sleep(200);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
tests/test_tutorial/test_first_steps/test_tutorial001_tutorial002_tutorial003.py
client = TestClient(mod.app) return client @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(client: TestClient, path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 1.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). * (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.) */ public CrawlerSystemException(final String message, final Throwable cause) { super(message, cause); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3K bytes - Viewed (0)