- Sort Score
- Result 10 results
- Languages All
Results 6731 - 6740 of 7,200 for RETURN (0.1 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0) -
docs/de/docs/advanced/response-headers.md
Sie können den Parameter `Response` auch in Abhängigkeiten deklarieren und darin Header (und Cookies) festlegen. ## Eine `Response` direkt zurückgeben { #return-a-response-directly } Sie können auch Header hinzufügen, wenn Sie eine `Response` direkt zurückgeben.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.8K bytes - Viewed (2) -
android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
protected Multimap<String, Integer> create() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("foo", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, ENTRY_PREDICATE); } private static final Predicate<String> KEY_PREDICATE = key -> !Objects.equals(key, "badkey"); public void testFilterKeys() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/MapCacheTest.java
this.mapCache = mapCache; } @Parameters public static Collection<Object[]> parameters() { Comparator<String> nullsLast = Ordering.natural().nullsLast(); return Arrays.asList( new Object[][] { {new MapIteratorCache<String, String>(new HashMap<String, String>())}, {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))},
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link ScopeArtifactFilter}. * */ class ScopeArtifactFilterTest { private Artifact newArtifact(String scope) { return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null); } @Test void testIncludeCompile() { ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 3.8K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
], ) def get_client(request: pytest.FixtureRequest) -> TestClient: mod = importlib.import_module( f"docs_src.path_params_numeric_validations.{request.param}" ) return TestClient(mod.app) @pytest.mark.parametrize( "path,expected_response", [ ("/items/1?q=", {"item_id": 1}), ("/items/1000?q=somequery", {"item_id": 1000, "q": "somequery"}), ], )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.6K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.request_files.{request.param}") client = TestClient(mod.app) return client def test_post_form_no_body(client: TestClient): response = client.post("/files/") assert response.status_code == 200, response.text assert response.json() == {"message": "No file sent"}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java
hasBlocks = true; } for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) { hasBlocks |= !extensionDoc.getExtensionBlocks().isEmpty(); } return hasBlocks; }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
} @Test @DisplayName("Should handle interface method contracts") void testMethodContracts() { // The interface should allow for various implementations // Test that methods can return any valid values // Names can be any string when(mockNetbiosName.getName()).thenReturn("ANYNAME"); assertNotNull(mockNetbiosName.getName()); // Scope can be null or any stringRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)