- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 2,530 for API (0.03 sec)
-
mockwebserver-junit5/README.md
To use, first add this library as a test dependency: ``` testRuntimeOnly("com.squareup.okhttp3:mockwebserver3-junit5:4.12.0") ``` Then in tests annotated `@org.junit.jupiter.api.Test`, you may add a [MockWebServer] as a test method parameter. It will be shut down automatically after the test runs. ``` class MyTest { @Test void test(MockWebServer server) { ... } } ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/test_security_api_key_query_description.py
from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyQuery from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyQuery(name="key", description="API Key Query") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
.github/hub_scripts/pr_ci.sh
# Simple shell script for launching CI jobs using the @bot-gradle GitHub comment listener. # Uses the [hub](https://hub.github.com/) CLI command to issue API requests to GitHub. # This script must be executed from the branch associated with the PR to issue the command on. # PR_NUMBER=$(hub pr show -f '%I')
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jan 22 15:25:21 UTC 2021 - 1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java
* under the License. */ package org.apache.maven.api; import java.util.Collection; import java.util.List; import java.util.Optional; import java.util.stream.Stream; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.Plugin; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Sep 24 07:54:24 UTC 2024 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/BoostDocTests.java
import java.util.HashMap; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class BoostDocTests extends CrudTestBase { private static final String NAME_PREFIX = "boostDocTest_"; private static final String API_PATH = "/api/admin/boostdoc"; private static final String LIST_ENDPOINT_SUFFIX = "settings";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java
import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class ElevateWordTests extends CrudTestBase { private static final String NAME_PREFIX = "elevateWordTest_"; private static final String API_PATH = "/api/admin/elevateword"; private static final String LIST_ENDPOINT_SUFFIX = "settings";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/RelatedContentTests.java
import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class RelatedContentTests extends CrudTestBase { private static final String NAME_PREFIX = "relatedContentTest_"; private static final String API_PATH = "/api/admin/relatedcontent"; private static final String LIST_ENDPOINT_SUFFIX = "settings";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/MappingTests.java
import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; @Tag("it") public class MappingTests extends DictCrudTestBase { private static final String NAME_PREFIX = "mappingTest_"; private static final String API_PATH = "/api/admin/dict/mapping"; private static final String LIST_ENDPOINT_SUFFIX = "settings";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
* under the License. */ package org.apache.maven.building; import java.util.Collections; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotSame; class ProblemCollectorFactoryTest { @Test void testNewInstance() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/sts-handlers.go
xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/logger" "github.com/minio/mux" "github.com/minio/pkg/v3/policy" "github.com/minio/pkg/v3/wildcard" ) const ( // STS API version. stsAPIVersion = "2011-06-15" stsVersion = "Version" stsAction = "Action" stsPolicy = "Policy" stsToken = "Token"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 33.9K bytes - Viewed (0)