Home
last modified time | relevance | path

Searched +full:integ +full:- +full:tests (Results 1 – 25 of 27) sorted by relevance

12

/external/aws-sdk-java-v2/scripts/
Drun-integ-test2 """Run Integ Tests based on the changed files
7 # Minimal modules to tests when core changes are detected.
8 # s3 - xml, dynamodb - json, sqs - query
11 # Minimal modules to tests when http client changes are detected.
12 # s3 - streaming/non streaming, kinesis - h2
14 "apache-client": ["s3", "apache-client"],
15 "netty-nio-client": ["kinesis", "s3", "netty-nio-client"],
16 "url-connection-client": ["url-connection-client"]
23 process = Popen(["git", "diff", "HEAD^", "--name-only"], stdout=PIPE)
37 # filter out non-java file
[all …]
/external/aws-sdk-java-v2/test/module-path-tests/
DREADME.md1 # AWS SDK Module Path Tests
6 - Mock tests: calling xml/json prococol sync/async clients using mock http clients.
7 - Integ tests: calling service clients using `UrlConnectionHttpClient`, `ApacheHttpClient` and `Net…
12 mvn exec:exec -P mock-tests
13 mvn exec:exec -P integ-tests
Dpom.xml1 <?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>module-path-tests</artifactId>
30 <name>AWS Java SDK :: Test :: Module Path Tests</name>
31 <description>A set of tests to run v2 in module path with Java 9+.</description>
38 <artifactId>bom-internal</artifactId>
[all …]
/external/aws-sdk-java-v2/services/cloudwatchlogs/src/it/java/software/amazon/awssdk/services/cloudwatchlogs/
DServiceIntegrationTest.java52 * Integration tests for the CloudWatch Logs service.
58 private static final String LOG_MESSAGE_PREFIX = "java-integ-test";
64 …private static final String LOG_METRIC_FILTER_PATTERN = "[prefix=java-integ-test, timestamp, conte…
66 private static final String CLOUDWATCH_METRIC_NAME = "java-integ-test-transformed-metric-name";
67 …private static final String CLOUDWATCH_METRIC_NAMESPACE = "java-integ-test-transformed-metric-name…
72 private final String logGroupName = "java-integ-test-log-group-name-" + nameSuffix;
73 private final String logStreamName = "java-integ-test-log-stream-name-" + nameSuffix;
74 private final String logMetricFilterName = "java-integ-test-log-metric-filter-" + nameSuffix;
195 * Tests that we have deserialized the exception response correctly. See TT0064111680
/external/aws-sdk-java-v2/services/s3/src/it/java/software/amazon/awssdk/services/s3/
DCopyObjectIntegrationTest.java37 * The S3 bucket created and used by these tests.
39 private static final String BUCKET_NAME = temporaryBucketName("copy-object-integ-test");
43 private static final String SOURCE_KEY = "source-key";
47 private static final String DESTINATION_KEY = "destination-key";
58 * Releases resources used by tests.
67 * Creates/populates all the test data needed for these tests (bucket,
74 file = new RandomTempFile("copy-object-integ-test-" + new Date().getTime(), CONTENT_LENGTH); in initializeTestData()
84 * Tests that the simple form of the copy object operation correctly copies
DCopySourceIntegrationTest.java43 …* Integration tests for the {@code sourceBucket}, {@code sourceKey}, and {@code sourceVersionId} p…
46 * COPY source key). This also effectively tests for parity with the SDK v1 behavior.
53 …ic final String SOURCE_UNVERSIONED_BUCKET_NAME = temporaryBucketName("copy-source-integ-test-src");
54 … String SOURCE_VERSIONED_BUCKET_NAME = temporaryBucketName("copy-source-integ-test-versioned-src");
55 …e static final String DESTINATION_BUCKET_NAME = temporaryBucketName("copy-source-integ-test-dest");
61 s3.putBucketVersioning(r -> r in initializeTestData()
63 .versioningConfiguration(v -> v.status(BucketVersioningStatus.ENABLED))); in initializeTestData()
118 * Motivated by: https://github.com/aws/aws-sdk-js/issues/727
134 versionToContentMap.forEach((versionId, originalContent) -> { in copyObject_WithVersion_AcceptsSameKeyAsPut()
DListObjectsV2PaginatorsIntegrationTest.java53 * Content length for sample keys created by these tests.
58 * The name of the bucket created, used, and deleted by these tests.
60 private static String bucketName = temporaryBucketName("list-objects-v2-integ-test");
62 …private static String emptyBucketName = temporaryBucketName("list-objects-integ-test-emptybucket");
65 * List of all keys created by these tests.
81 * Creates all the test resources for the tests.
90 createKey("key-" + numberFormatter.format(i)); in createResources()
103 … File file = new RandomTempFile("list-objects-integ-test-" + new Date().getTime(), CONTENT_LENGTH); in createKey()
120 … .flatMap(r -> r.contents() != null ? r.contents().stream() : Stream.empty()) in test_SyncResponse_onEmptyBucket()
131 … assertThat(iterable.stream().flatMap(r -> r.contents().stream()).count(), equalTo(OBJECT_COUNT)); in test_SyncResponse_onNonEmptyBucket()
[all …]
DUserMetadataIntegrationTest.java36 * The S3 bucket created and used by these tests.
38 private static final String BUCKET_NAME = temporaryBucketName("user-metadata-integ-test");
51 * Creates/populates all the test data needed for these tests (bucket,
58 … file = new RandomTempFile("user-metadata-integ-test-" + new Date().getTime(), CONTENT_LENGTH); in initializeTestData()
76 String mixedCasePrefix = "x-AmZ-mEtA-"; in putObject_PutsUserMetadata()
79 final String key = "user-metadata-key"; in putObject_PutsUserMetadata()
84 … .overrideConfiguration(b -> b.putHeader(mixedCasePrefix + metadataKey, "test")) in putObject_PutsUserMetadata()
DS3ListObjectsV2IntegrationTest.java46 * Integration tests for the listObjectsV2 operation in the Amazon S3 Java
56 * Content length for sample keys created by these tests.
60 private static final String KEY_NAME_WITH_SPECIAL_CHARS = "special-chars-@$%";
63 * The name of the bucket created, used, and deleted by these tests.
65 private static String bucketName = temporaryBucketName("list-objects-integ-test");
67 * List of all keys created by these tests.
81 * Creates all the test resources for the tests.
89 createKey("key-" + numberFormatter.format(i)); in createResources()
107 … File file = new RandomTempFile("list-objects-integ-test-" + new Date().getTime(), CONTENT_LENGTH); in createKey()
118 * Individual Tests
[all …]
DListObjectsIntegrationTest.java43 * Integration tests for the listObjects operation in the Amazon S3 Java
52 private static final String KEY_NAME_WITH_SPECIAL_CHARS = "special-chars-@$%";
55 * The name of the bucket created, used, and deleted by these tests.
57 private static String bucketName = temporaryBucketName("list-objects-integ-test");
59 * List of all keys created by these tests.
73 * Creates all the test resources for the tests.
81 createKey("key-" + numberFormatter.format(i)); in createResources()
187 long offset = obj.lastModified().toEpochMilli() - Instant.now().toEpochMilli(); in assertS3ObjectSummariesAreValid()
DOperationsWithNonStandardResponsesIntegrationTest.java47 * The name of the bucket created, used, and deleted by these tests.
49 private static String bucketName = temporaryBucketName("single-string-integ-test");
72 … () -> s3.getBucketLocation(b-> b.bucket(bucketArn).build())); in getBucketLocation_withArn_throwsErrorMessageToUseBucketNameInstead()
DBucketInventoryConfigurationIntegrationTest.java48 * The bucket created and used by these tests.
50 … private static final String BUCKET_NAME = temporaryBucketName("java-bucket-inventory-integ-test");
54 * The key used in these tests.
135 String accountId = "test-account"; in testInventoryConfiguration_with_filter()
DBucketAnalyticsConfigurationIntegrationTest.java54 * The bucket created and used by these tests.
56 … private static final String BUCKET_NAME = temporaryBucketName("java-bucket-analytics-integ-test");
61 * The key used in these tests.
71 … .locationConstraint("us-west-2") in setUpFixture()
/external/conscrypt/srcgen/
Dgenerate_android_src.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 if [[ -z "${ANDROID_BUILD_TOP}" ]]; then
28 benchmark-android \
29 benchmark-base \
35 DEFAULT_CONSTRUCTORS_FILE=${CONSCRYPT_DIR}/srcgen/default-constructors.txt
43 source ${ANDROID_BUILD_TOP}/tools/currysrc/scripts/repackage-common.sh
46 rm -fr ${REPACKAGED_DIR}/common/src/test/java/com/android/org/conscrypt/ConscryptSuite.java
47 rm -fr ${REPACKAGED_DIR}/common/src/test/java/com/android/org/conscrypt/ConscryptJava7Suite.java
50 rm -fr openjdk-integ-tests ${REPACKAGED_DIR}/openjdk-integ-tests
54 CLANG_STABLE_BIN=${ANDROID_BUILD_TOP}/prebuilts/clang/host/linux-x86/clang-stable/bin
[all …]
/external/aws-sdk-java-v2/buildspecs/
Don-demand-integ-test.yml5 runtime-versions:
10- mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -Dfai…
11 - JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
12 - echo $JAVA_VERSION
13 - |
14 if [ "$JAVA_VERSION" -ge "9" ]; then
15 cd test/module-path-tests
17 mvn exec:exec -P integ-tests
Dinteg-test.yml5 runtime-versions:
10 - |
11 if [ ! -z "$INTEGRATION_TEST_ROLE_ARN" ]; then
12-role --role-arn "$INTEGRATION_TEST_ROLE_ARN" --role-session-name "integration-tests" --duration-s…
18- mvn clean install -Dskip.unit.tests -P integration-tests -Dfindbugs.skip -Dcheckstyle.skip -T1C …
19 - JAVA_VERSION=$(java -version 2>&1 | grep -i version | cut -d'"' -f2 | cut -d'.' -f1-1)
20 - echo $JAVA_VERSION
21 - echo $MAVEN_OPTIONS
22 - |
23 if [ "$JAVA_VERSION" -ge "9" ]; then
[all …]
/external/aws-sdk-java-v2/services/elasticache/src/it/java/software/amazon/awssdk/services/elasticache/
DParameterGroupsIntegrationTest.java45 private static final String DESCRIPTION = "Java SDK integ test param group";
50 /** Releases all resources created by tests. */
63 /** Tests that we can call the parameter group operations in the ElastiCache API. */
84 cacheParameterGroupName = "java-sdk-integ-test-" + System.currentTimeMillis(); in testParameterGroupOperations()
/external/aws-sdk-java-v2/services/s3/src/it/java/software/amazon/awssdk/services/s3/s3express/
DS3ExpressIntegrationTestBase.java46 private static final String S3EXPRESS_BUCKET_PATTERN = "s3express-java-integ--%s--x-s3";
47 protected static final String STANDARD_BUCKET = "s3express-java-integ-tests";
97 client.waiter().waitUntilBucketExists(r -> r.bucket(bucketName)); in createBucketS3Express()
103 … ListObjectsV2Response response = Waiter.run(() -> s3.listObjectsV2(r -> r.bucket(bucketName))) in deleteBucketAndAllContents()
/external/aws-sdk-java-v2/services/sns/src/it/java/software/amazon/awssdk/core/auth/policy/
DSnsPolicyIntegrationTest.java29 * 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/aws-sdk-java-v2/http-clients/url-connection-client/src/it/java/software/amazon/awssdk/http/urlconnection/
DS3WithUrlHttpClientIntegrationTest.java50 * The name of the bucket created, used, and deleted by these tests.
52 private static final String BUCKET_NAME = "java-sdk-integ-" + System.currentTimeMillis();
56 private static final String SIGNED_PAYLOAD_HEADER_VALUE = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD";
57 private static final String UNSIGNED_PAYLOAD_HEADER_VALUE = "UNSIGNED-PAYLOAD";
63 * Creates all the test resources for the tests.
71 … .overrideConfiguration(o -> o.addExecutionInterceptor(new UserAgentVerifyingInterceptor()) in createResources()
74 s3Http = s3ClientBuilder.endpointOverride(URI.create("http://s3.us-west-2.amazonaws.com")) in createResources()
142 … .map(m -> m.getOrDefault("x-amz-content-sha256", Collections.emptyList())) in getSha256Values()
150 …assertThat(context.httpRequest().firstMatchingHeader("User-Agent").get()).containsIgnoringCase("io… in beforeTransmission()
151 …assertThat(context.httpRequest().firstMatchingHeader("User-Agent").get()).containsIgnoringCase("ht… in beforeTransmission()
/external/jsoup/src/test/java/org/jsoup/integration/
DConnectIT.java22 …* Failsafe integration tests for Connect methods. These take a bit longer to run, so included as I…
25 // Slow Rider tests.
28 // todo - implement in interruptable channels, so it's immediate in canInterruptBodyStringRead()
30 Thread runner = new Thread(() -> { in canInterruptBodyStringRead()
54 // todo - implement in interruptable channels, so it's immediate in canInterruptDocumentRead()
56 Thread runner = new Thread(() -> { in canInterruptDocumentRead()
80 Thread runner = new Thread(() -> { in canInterruptThenJoinASpawnedThread()
108 long took = end - start; in totalTimeout()
158 boolean fullyRead = stream.read() == -1; in remainingAfterFirstRead()
166 // bodyStream is not capped to body size - only for jsoup consumed stream in remainingAfterFirstRead()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/testing/
DBUILD7 # http://www.apache.org/licenses/LICENSE-2.0
42 "//javatests/com/google/android/gmscore/integ/modules/userprofile/...",
57 …"//third_party/java_src/android_app/bugle/tests/robolectric/javatests/com/google/android/apps/mess…
190 "@cronet-api",
/external/aws-sdk-java-v2/services/sns/src/it/java/software/amazon/awssdk/services/sns/
DSNSIntegrationTest.java72 * Integration tests for Cloudcast operations.
81 /** The ARN of the topic created by these tests. */
109 * Tests that we can correctly handle exceptions from SNS.
128 …topicArn = sns.createTopic(CreateTopicRequest.builder().name("unicodeMessageTest-" + System.curren… in testSendUnicodeMessages()
131 …CreateQueueRequest.builder().queueName("unicodeMessageTest-" + System.currentTimeMillis()).build()) in testSendUnicodeMessages()
153 * Tests that we can invoke operations on Cloudcast and correctly interpret the responses.
160 ….createTopic(CreateTopicRequest.builder().name("test-topic-" + System.currentTimeMillis()).build()… in testCloudcastOperations()
258 …sns.createTopic(CreateTopicRequest.builder().name("test-topic-" + System.currentTimeMillis()).buil… in testSimplifiedMethods()
279 …queueUrl = sqs.createQueue(CreateQueueRequest.builder().queueName("subscribeTopicTest-" + System.c… in testSimplifiedMethods()
353 while (maxRetries-- > 0) { in receiveMessage()
[all …]
/external/aws-sdk-java-v2/
Dpom.xml2 <!--
15 -->
17 <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.…
19 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
22 <artifactId>aws-sdk-java-pom</artifactId>
27 for building software on AWS' cost-effective, scalable, and reliable
53 <module>aws-sdk-java</module>
56 <module>services-custom</module>
58 <module>bom-internal</module>
60 <module>http-client-spi</module>
[all …]
/external/sdk-platform-java/gapic-generator-java/
DCHANGELOG.md3 ## [2.12.0](https://github.com/googleapis/gapic-generator-java/compare/v2.11.0...v2.12.0) (2022-12-
8-generator-java as jar ([#1111](https://github.com/googleapis/gapic-generator-java/issues/1111)) (…
13-standard directory structure ([#1108](https://github.com/googleapis/gapic-generator-java/issues/1…
18 …ed-dependencies-bom ([#1115](https://github.com/googleapis/gapic-generator-java/issues/1115)) ([40…
20 ## [2.11.0](https://github.com/googleapis/gapic-generator-java/compare/v2.10.3...v2.11.0) (2022-11-
25 …tps://github.com/googleapis/gapic-generator-java/issues/1080)) ([bd9532c](https://github.com/googl…
30 …tps://github.com/googleapis/gapic-generator-java/issues/1076)) ([f5d5524](https://github.com/googl…
31-cloud-shared-dependencies to v3.0.6 ([#1088](https://github.com/googleapis/gapic-generator-java/i…
32 …tps://github.com/googleapis/gapic-generator-java/issues/1094)) ([4bf419f](https://github.com/googl…
34 ## [2.10.3](https://github.com/googleapis/gapic-generator-java/compare/v2.10.2...v2.10.3) (2022-11-
[all …]

12