- Sort Score
- Num 10 results
- Language All
Results 581 - 590 of 3,236 for requis (0.04 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
} @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGet_nullNotContainedAndUnsupported() { try { assertNull("get(null) should return null or throw", get(null)); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGet_nonNullWhenNullContained() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
public class QueuePollTester<E> extends AbstractQueueTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testPoll_empty() { assertNull("emptyQueue.poll() should return null", getQueue().poll()); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ONE) public void testPoll_size1() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.5K bytes - Click Count (0) -
tests/test_dependency_yield_scope.py
def test_app_level_dep_scope_request() -> None: app = FastAPI(dependencies=[Depends(raise_after_yield, scope="request")]) @app.get("/app-scope-request") def get_app_scope_request(): return {"status": "ok"} with TestClient(app, raise_server_exceptions=False) as client: response = client.get("/app-scope-request") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.7K bytes - Click Count (0) -
tests/test_response_dependency.py
# Tests for Request type hint with Depends def test_request_with_depends_annotated(): """Request type hint should work in dependency chain.""" app = FastAPI() def extract_request_info(request: Request) -> dict: return { "path": request.url.path, "user_agent": request.headers.get("user-agent", "unknown"), }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 05 18:23:16 GMT 2026 - 5.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
})), null); InternalSession.associate(session, iSession); ArtifactResolutionResult result = repositorySystem.resolve(request); resolutionErrorHandler.throwErrors(request, result); assertEquals(2, result.getArtifacts().size()); // // System scoped version which should // d.setScope(Artifact.SCOPE_SYSTEM);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
InvokerRequest request = mock(InvokerRequest.class); // Mock all required properties for LookupContext constructor when(request.cwd()).thenReturn(workingDirectory); when(request.installationDirectory()).thenReturn(Paths.get("/maven")); when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user")); when(request.topDirectory()).thenReturn(workingDirectory);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 8.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
} } return chain.proceed(chain.request()); } }; private final OkHttpClient client = new OkHttpClient.Builder() .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java
@CollectionFeature.Require(SUPPORTS_REMOVE) public void testClear() { collection.clear(); assertTrue("After clear(), a collection should be empty.", collection.isEmpty()); assertEquals(0, collection.size()); assertFalse(collection.iterator().hasNext()); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testClear_unsupported() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
* under the License. */ package org.apache.maven.configuration; /** * A request to configure a bean from some configuration in the POM or similar. * */ public interface BeanConfigurationRequest { /** * Gets the bean to configure. Eventually, a valid request must have a bean set. * * @return The bean to configure, or {@code null} if none. */ Object getBean();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java
extends AbstractMultimapTester<K, V, Multimap<K, V>> { @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutUnsupported() { assertThrows( UnsupportedOperationException.class, () -> multimap().putAll(getSubjectGenerator().create(mapEntry(k3(), v3())))); } @MapFeature.Require(SUPPORTS_PUT) // Empty multimaps *do* have defined equals semantics.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.2K bytes - Click Count (0)