| /external/python/httplib2/tests/ |
| D | test_auth.py | 3 import tests 28 password = tests.gen_password() 29 handler = tests.http_reflect_with_auth( 32 with tests.server_request(handler, request_count=3) as uri: 43 password = tests.gen_password() 44 handler = tests.http_reflect_with_auth( 47 with tests.server_request(handler, request_count=4) as uri: 62 password1 = tests.gen_password() 63 password2 = tests.gen_password() 65 handler = tests.http_reflect_with_auth( [all …]
|
| /external/python/google-auth-library-python/system_tests/system_tests_sync/app_engine_test_app/ |
| D | main.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """App Engine standard application that runs basic system tests for 16 google.auth.app_engine. 17 This application has to run tests manually instead of using pytest because 28 import google.auth 29 from google.auth import _helpers 30 from google.auth import app_engine 31 import google.auth.transport.urllib3 43 EMAIL_SCOPE = "https://www.googleapis.com/auth/userinfo.email" 45 HTTP_REQUEST = google.auth.transport.urllib3.Request(HTTP) [all …]
|
| /external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ |
| D | AwsRequestSignerTest.java | 32 package com.google.auth.oauth2; 50 * Tests for {@link AwsRequestSigner}. 53 * https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html 73 …oto/botocore/blob/879f8440a4e9ace5d3cf145ce8b3d5e5ffb892ef/tests/unit/auth/aws4_testsuite/get-vani… 74 …oto/botocore/blob/879f8440a4e9ace5d3cf145ce8b3d5e5ffb892ef/tests/unit/auth/aws4_testsuite/get-vani… 83 AwsRequestSigner.newBuilder(BOTOCORE_CREDENTIALS, "GET", url, "us-east-1") in sign_getHost() 91 "AWS4-HMAC-SHA256 Credential=AKIDEXAMPLE/20110909/us-east-1/host/" in sign_getHost() 100 assertEquals("us-east-1", signature.getRegion()); in sign_getHost() 104 …otocore/blob/879f8440a4e9ace5d3cf145ce8b3d5e5ffb892ef/tests/unit/auth/aws4_testsuite/get-relative-… 105 …otocore/blob/879f8440a4e9ace5d3cf145ce8b3d5e5ffb892ef/tests/unit/auth/aws4_testsuite/get-relative-… [all …]
|
| /external/python/google-auth-library-python/tests/ |
| D | test_aws.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 23 from google.auth import _helpers 24 from google.auth import aws 25 from google.auth import environment_vars 26 from google.auth import exceptions 27 from google.auth import transport 34 SERVICE_ACCOUNT_EMAIL = "service-1234@service-name.iam.gserviceaccount.com" 36 "https://us-east1-iamcredentials.googleapis.com/v1/projects/-" 42 SUBJECT_TOKEN_TYPE = "urn:ietf:params:aws:token-type:aws4_request" 44 REGION_URL = "http://169.254.169.254/latest/meta-data/placement/availability-zone" [all …]
|
| /external/python/google-auth-library-python/ |
| D | CONTRIBUTING.rst | 9 Here are some guidelines for hacking on ``google-auth-library-python``. 12 -------------- 14 A few notes on making changes to ``google-auth-library-python``. 16 - If you've added a new feature or modified an existing feature, be sure to 18 documentation (in ``docs/``). You can re-generate the reference documentation 19 using ``nox -s docgen``. 21 - The change must work fully on the following CPython versions: 24 - The codebase *must* have 100% test statement coverage after each commit. 25 You can test coverage via ``nox -e cover``. 28 --------------- [all …]
|
| D | noxfile.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 26 "tests", 36 session.install("flake8", "flake8-import-order", "docutils", BLACK_VERSION) 37 session.install("-e", ".") 38 session.run("black", "--check", *BLACK_PATHS) 41 "--import-order-style=google", 42 "--application-import-names=google,tests,system_tests", 44 "tests", 48 "python", "setup.py", "check", "--metadata", "--restructuredtext", "--strict" 68 CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" [all …]
|
| /external/tcpdump/tests/ |
| D | TESTLIST | 1 # The options -# and -n are useless in TESTLIST. They are already set 6 # We cannot rely on, for example, "print-x.out" and 7 # "print-X.out" being different files - we might be running 8 # this on a case-insensitive file system, e.g. a Windows 9 # file system or a case-insensitive HFS+ file system on 12 # Therefore, for "X" and "XX", we have "print-capX.out" 13 # and "print-capXX.out". 15 print-x print-flags.pcap print-x.out -x 16 print-xx print-flags.pcap print-xx.out -xx 17 print-X print-flags.pcap print-capX.out -X [all …]
|
| /external/aws-sdk-java-v2/ |
| D | .brazil.json | 5 "annotations": { "packageName": "AwsJavaSdk-Core-Annotations" }, 6 "apache-client": { "packageName": "AwsJavaSdk-HttpClient-ApacheClient" }, 7 "arns": { "packageName": "AwsJavaSdk-Core-Arns" }, 8 "auth": { "packageName": "AwsJavaSdk-Core-Auth" }, object 9 "auth-crt": { "packageName": "AwsJavaSdk-Core-AuthCrt" }, 10 "aws-cbor-protocol": { "packageName": "AwsJavaSdk-Core-AwsCborProtocol" }, 11 "aws-core": { "packageName": "AwsJavaSdk-Core-AwsCore" }, 12 "aws-crt-client": { "packageName": "AwsJavaSdk-HttpClient-CrtClient" }, 13 "aws-ion-protocol": { "packageName": "AwsJavaSdk-Core-AwsIonProtocol" }, 14 "aws-json-protocol": { "packageName": "AwsJavaSdk-Core-AwsJsonProtocol" }, [all …]
|
| /external/jsoup/src/test/java/org/jsoup/integration/ |
| D | ProxyTest.java | 28 Tests Jsoup.connect proxy support */ 68 .header("Random-Header-name", "hello") in redirectViaProxy() 75 assertEquals("hello", ihVal("Random-Header-name", doc)); in redirectViaProxy() 99 …tions(); // reset any existing authed connections from previous tests, so we can test the auth flow in canAuthenticateToProxy() 101 … // the proxy wants auth, but not the server. HTTP and HTTPS, so tests direct proxy and CONNECT in canAuthenticateToProxy() 110 int code = execute.statusCode(); // no auth sent in canAuthenticateToProxy() 113 …URLConnection will throw the proxy connect as a Stringly typed IO exception - "Unable to tunnel th… in canAuthenticateToProxy() 120 .auth(ctx -> { in canAuthenticateToProxy() 133 .auth(ctx -> { in canAuthenticateToProxy() 148 Connection session = Jsoup.newSession() // both proxy and server will want auth in canAuthToProxyAndServer() [all …]
|
| /external/jsoup/src/test/java/org/jsoup/integration/servlets/ |
| D | AuthFilter.java | 16 …A filter to test basic authenticated requests. If the request header "X-Wants-Authentication" is s… 20 public static final String WantsServerAuthentication = "X-Wants-ServerAuthentication"; 25 public static final String WantsProxyAuthentication = "X-Wants-ProxyAuthentication"; 30 … port that always wants auth - so the CONNECT tunnels can be authed. (The Java proxy tunnel CONNEC… 37 …uth true if this filter should always check for authentication, regardless of the Wants Auth header 38 …* @param forProxy true if this wraps a Proxy and should use Proxy-Authenticate headers, credential… 46 authorizationHeader = forProxy ? "Proxy-Authorization" : "Authorization"; in AuthFilter() 50 return "pass-" + Math.random(); in newPassword() 53 …// passwords get rotated in tests so that Java's auth cache is invalidated and a new auth callback… 54 // requires tests hitting these are called serially. [all …]
|
| /external/python/google-auth-library-python/system_tests/system_tests_sync/ |
| D | conftest.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from google.auth import _helpers 19 import google.auth.transport.requests 20 import google.auth.transport.urllib3 65 yield google.auth.transport.urllib3.Request(URLLIB3_HTTP) 67 yield google.auth.transport.requests.Request(REQUESTS_SESSION) 76 return google.auth.transport.urllib3.AuthorizedHttp( 84 session = google.auth.transport.requests.AuthorizedSession(credentials) 86 return google.auth.transport.requests.Request(session) 109 return json.loads(response.data.decode("utf-8")) [all …]
|
| /external/python/google-auth-library-python/tests/transport/ |
| D | test_mtls.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from google.auth import exceptions 19 from google.auth.transport import mtls 23 "google.auth.transport._mtls_helper._check_dca_metadata_path", autospec=True 33 @mock.patch("google.auth.transport._mtls_helper.get_client_cert_and_key", autospec=True) 34 @mock.patch("google.auth.transport.mtls.has_default_client_cert_source", autospec=True) 43 # The following tests will assume default client cert source exists. 59 "google.auth.transport._mtls_helper.get_client_ssl_credentials", autospec=True 61 @mock.patch("google.auth.transport.mtls.has_default_client_cert_source", autospec=True) 70 # The following tests will assume default client cert source exists.
|
| /external/google-auth-library-java/oauth2_http/ |
| D | pom.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 8 <groupId>com.google.auth</groupId> 9 <artifactId>google-auth-library-parent</artifactId> 10 <version>1.23.0</version><!-- {x-version-update:google-auth-library-parent:current} --> 14 <artifactId>google-auth-library-oauth2-http</artifactId> 15 <name>Google Auth Library for Java - OAuth2 HTTP</name> 34 <artifactId>maven-surefire-plugin</artifactId> 37 <!-- Excludes integration tests when unit tests are run. --> [all …]
|
| /external/angle/doc/ |
| D | TestingAndProcesses.md | 7 We run a large number of tests for each ANGLE CL, both in ANGLE standalone and Chromium 8 configurations, both pre- and post- commit. Some tests will fail, crash, or timeout. If these 16 Many tests are run with an option that enables the Vulkan Validation Layers (sometimes referred to 17 as VVL). Validation errors will cause an otherwise-passing test to fail. 19 The [vulkan-deps into ANGLE AutoRoller](https://autoroll.skia.org/r/vulkan-deps-angle-autoroll) 20 updates ANGLE to the top-of-tree (ToT) upstream Vulkan tools and SDK. Sometimes validation errors 24 [upstream bug](https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/new), and 26 `vulkan-deps` AutoRoller introduces a new validation error. The ANGLE Wrangler isn't expected to 32 `Hotlist-Wrangler` on the bug. 42 [src/tests/deqp_support](../src/tests/deqp_support) directory. Notice the format of a line and [all …]
|
| /external/python/google-auth-library-python/tests_async/oauth2/ |
| D | test_id_token.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 20 from google.auth import environment_vars 21 from google.auth import exceptions 22 import google.auth.compute_engine._metadata 26 from tests.oauth2 import test_id_token 63 @mock.patch("google.auth.jwt.decode", autospec=True) 81 @mock.patch("google.auth.jwt.decode", autospec=True) 101 @mock.patch("google.auth.jwt.decode", autospec=True) 217 with mock.patch("google.auth.compute_engine._metadata.ping", return_value=True): 219 google.auth.compute_engine.IDTokenCredentials, [all …]
|
| /external/libsrtp2/crypto/include/ |
| D | crypto_kernel.h | 11 * Copyright(c) 2001-2017 Cisco Systems, Inc. 49 #include "auth.h" 61 * insecure - not yet initialized 62 * secure - initialized and passed self-tests 79 * linked list of auth types 104 srtp_kernel_auth_type_t *auth_type_list; /* list of all auth func types */ 115 * runs the self-test operations on the random number generators and 127 * The function srtp_crypto_kernel_shutdown() de-initializes the 140 * running tests on the ciphers, auth funcs, and rng, and prints out a 143 * srtp_err_status_ok all tests were passed [all …]
|
| /external/aws-sdk-java-v2/test/tests-coverage-reporting/ |
| D | pom.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 15 --> 18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 19 …xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 21 <artifactId>aws-sdk-java-pom</artifactId> 28 <artifactId>tests-coverage-reporting</artifactId> 29 <name>AWS Java SDK :: Test :: Tests Coverage Reporting</name> 30 <description>Used to aggregate integration and unit tests coverage reports 36 <artifactId>auth</artifactId> [all …]
|
| /external/tpm2-tss/test/integration/ |
| D | sapi-hierarchy-change-auth.int.c | 1 /* SPDX-License-Identifier: BSD-2-Clause */ 3 * Copyright (c) 2017-2018, Intel Corporation 18 #include "sapi-util.h" 22 * Test auth value changes for Owner Auth 39 LOG_INFO("HIERARCHY_CHANGE_AUTH TESTS:" ); in test_owner_auth() 48 /* Init new auth */ in test_owner_auth() 67 /* Provide current auth value in SessionData hmac field */ in test_owner_auth() 69 /* change auth value to different value */ in test_owner_auth() 76 /* Provide current auth value in SessionData hmac field */ in test_owner_auth() 78 /* change auth value to different value */ in test_owner_auth() [all …]
|
| /external/aws-sdk-java-v2/test/service-test-utils/src/main/java/software/amazon/awssdk/testutils/service/ |
| D | AwsIntegrationTestBase.java | 21 import software.amazon.awssdk.auth.credentials.AwsCredentials; 22 import software.amazon.awssdk.auth.credentials.AwsCredentialsProviderChain; 23 import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider; 24 import software.amazon.awssdk.auth.credentials.ProfileCredentialsProvider; 25 import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider; 37 private static final String TEST_CREDENTIALS_PROFILE_NAME = "aws-test-account"; 52 * @return AWSCredentials to use during tests. Setup by base fixture 61 …* @return {@link IdentityProvider<AwsCredentialsIdentity>} to use during tests. Setup by base fixt…
|
| /external/aws-sdk-java-v2/codegen/src/test/java/software/amazon/awssdk/codegen/poet/ |
| D | ClientTestModels.java | 38 …File serviceModel = new File(ClientTestModels.class.getResource("client/c2j/json/service-2.json").… in awsJsonServiceModels() 51 …= new File(ClientTestModels.class.getResource("client/c2j/query-to-json-errorcode/service-2.json")… in awsQueryCompatibleJsonServiceModels() 52 …ionModel = new File(ClientTestModels.class.getResource("client/c2j/query-to-json-errorcode/customi… in awsQueryCompatibleJsonServiceModels() 53 …orsModel = new File(ClientTestModels.class.getResource("client/c2j/query-to-json-errorcode/paginat… in awsQueryCompatibleJsonServiceModels() 64 …del = new File(ClientTestModels.class.getResource("client/c2j/json-bearer-auth/service-2.json").ge… in bearerAuthServiceModels() 65 …onModel = new File(ClientTestModels.class.getResource("client/c2j/json-bearer-auth/customization.c… in bearerAuthServiceModels() 66 …rsModel = new File(ClientTestModels.class.getResource("client/c2j/json-bearer-auth/paginators.json… in bearerAuthServiceModels() 77 …eModel = new File(ClientTestModels.class.getResource("client/c2j/rest-json/service-2.json").getFil… in restJsonServiceModels() 78 …File customizationModel = new File(ClientTestModels.class.getResource("client/c2j/rest-json/custom… in restJsonServiceModels() 79 …File paginatorsModel = new File(ClientTestModels.class.getResource("client/c2j/rest-json/paginator… in restJsonServiceModels() [all …]
|
| /external/cronet/net/http/ |
| D | http_auth_handler_digest_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 32 "Digest realm=\"Oblivion\", nonce=\"nonce-value\""; 57 token->clear(); in RespondToChallenge() 62 factory->set_nonce_generator(std::move(nonce_generator)); in RespondToChallenge() 70 int rv_create = factory->CreateAuthHandlerFromString( in RespondToChallenge() 74 ADD_FAILURE() << "Unable to create auth handler."; in RespondToChallenge() 84 request->url = GURL(request_url); in RespondToChallenge() 86 int rv_generate = handler->GenerateAuthToken( in RespondToChallenge() 89 ADD_FAILURE() << "Problems generating auth token"; in RespondToChallenge() 100 // clang-format off in TEST() [all …]
|
| /external/aws-sdk-java-v2/services/sns/src/it/java/software/amazon/awssdk/core/auth/policy/ |
| D | SnsPolicyIntegrationTest.java | 16 package software.amazon.awssdk.core.auth.policy; 20 import software.amazon.awssdk.core.auth.policy.Statement.Effect; 21 import software.amazon.awssdk.core.auth.policy.conditions.StringCondition; 22 import software.amazon.awssdk.core.auth.policy.conditions.StringCondition.StringComparisonType; 29 * Integration tests for the service specific access control policy code provided by the Sns client. 43 * Tests that we can construct valid policies with Sns specific conditions/resources/etc. 47 String topicName = "java-sns-policy-integ-test-" + System.currentTimeMillis(); in testPolicies()
|
| /external/googleapis/google/devtools/testing/v1/ |
| D | testing_v1.yaml | 7 - name: google.devtools.testing.v1.ApplicationDetailService 8 - name: google.devtools.testing.v1.DirectAccessService 9 - name: google.devtools.testing.v1.TestEnvironmentDiscoveryService 10 - name: google.devtools.testing.v1.TestExecutionService 13 summary: |- 14 Allows developers to run automated tests for their mobile applications on 19 - selector: google.devtools.testing.v1.ApplicationDetailService.GetApkDetails 21 canonical_scopes: |- 22 https://www.googleapis.com/auth/cloud-platform 23 - selector: 'google.devtools.testing.v1.DirectAccessService.*' [all …]
|
| /external/python/google-auth-library-python/system_tests/system_tests_async/ |
| D | conftest.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 18 from google.auth import _helpers 19 import google.auth.transport.requests 20 import google.auth.transport.urllib3 26 from google.auth.transport import _aiohttp_requests as aiohttp_requests 83 return json.loads(data.decode("utf-8")) 108 "In order to run system tests, test data must exist in " 114 """Pytest hook that runs before Pytest collects any tests."""
|
| /external/grpc-grpc/doc/ |
| D | interop-test-descriptions.md | 6 and the [gRPC over HTTP/2 v2 protocol](./PROTOCOL-HTTP2.md). 9 ------ 12 provided the test case it is expected to run as a command-line parameter. Names 16 * --server_host=HOSTNAME 18 * --server_host_override=HOSTNAME 20 :authority header. If unspecified, the value of --server_host will be 22 * --server_port=PORT 24 * --test_case=TESTCASE 26 * --use_tls=BOOLEAN 28 * --use_test_ca=BOOLEAN [all …]
|