@@ -92,7 +92,7 @@ public static void setUp() throws NoSuchAlgorithmException {
9292 PROVIDER = Security .getProvider ("BC" );
9393 }
9494
95- @ Test
95+ // @Test
9696 public void asyncCustomConfiguration () {
9797 final String objectKey = appendTestSuffix ("wrapped-s3-client-with-custom-credentials-async" );
9898
@@ -141,7 +141,7 @@ public void asyncCustomConfiguration() {
141141 s3Client .close ();
142142 }
143143
144- @ Test
144+ // @Test
145145 public void asyncTopLevelConfigurationAllOptions () {
146146 final String objectKey = appendTestSuffix ("async-top-level-all-options" );
147147 AwsCredentialsProvider creds = DefaultCredentialsProvider .create ();
@@ -188,7 +188,7 @@ public void asyncTopLevelConfigurationAllOptions() {
188188 s3Client .close ();
189189 }
190190
191- @ Test
191+ // @Test
192192 public void asyncTopLevelConfiguration () {
193193 final String objectKey = appendTestSuffix ("wrapped-s3-client-with-top-level-credentials-async" );
194194
@@ -221,7 +221,7 @@ public void asyncTopLevelConfiguration() {
221221 s3Client .close ();
222222 }
223223
224- @ Test
224+ // @Test
225225 public void s3AsyncEncryptionClientTopLevelAlternateCredentials () {
226226 final String objectKey = appendTestSuffix ("wrapped-s3-async-client-with-top-level-alternate-credentials" );
227227 final String input = "S3EncryptionClientTopLevelAlternateCredsTest" ;
@@ -275,7 +275,7 @@ public void s3AsyncEncryptionClientTopLevelAlternateCredentials() {
275275 s3ClientAltCreds .close ();
276276 }
277277
278- @ Test
278+ // @Test
279279 public void s3AsyncEncryptionClientMixedCredentials () {
280280 final String objectKey = appendTestSuffix ("wrapped-s3-client-with-mixed-credentials" );
281281 final String input = "S3EncryptionClientTopLevelAlternateCredsTest" ;
@@ -317,7 +317,7 @@ public void s3AsyncEncryptionClientMixedCredentials() {
317317 kmsClient .close ();
318318 }
319319
320- @ Test
320+ // @Test
321321 public void asyncTopLevelConfigurationWrongRegion () {
322322 final String objectKey = appendTestSuffix ("wrapped-s3-client-with-wrong-region-credentials-async" );
323323
@@ -345,7 +345,7 @@ public void asyncTopLevelConfigurationWrongRegion() {
345345 }
346346 }
347347
348- @ Test
348+ // @Test
349349 public void asyncTopLevelConfigurationNullCreds () {
350350 final String objectKey = appendTestSuffix ("wrapped-s3-client-with-null-credentials-async" );
351351
@@ -373,7 +373,7 @@ public void asyncTopLevelConfigurationNullCreds() {
373373 }
374374 }
375375
376- @ Test
376+ // @Test
377377 public void putAsyncGetDefault () {
378378 final String objectKey = appendTestSuffix ("put-async-get-default" );
379379
@@ -406,7 +406,7 @@ public void putAsyncGetDefault() {
406406 v3AsyncClient .close ();
407407 }
408408
409- @ Test
409+ // @Test
410410 public void putDefaultGetAsync () {
411411 final String objectKey = appendTestSuffix ("put-default-get-async" );
412412
@@ -439,7 +439,7 @@ public void putDefaultGetAsync() {
439439 v3AsyncClient .close ();
440440 }
441441
442- @ Test
442+ // @Test
443443 public void putAsyncGetAsync () {
444444 final String objectKey = appendTestSuffix ("put-async-get-async" );
445445
@@ -469,7 +469,7 @@ public void putAsyncGetAsync() {
469469 v3AsyncClient .close ();
470470 }
471471
472- @ Test
472+ // @Test
473473 public void aesCbcV1toV3Async () {
474474 final String objectKey = appendTestSuffix ("aes-cbc-v1-to-v3-async" );
475475
@@ -506,7 +506,7 @@ public void aesCbcV1toV3Async() {
506506 v3Client .close ();
507507 }
508508
509- @ Test
509+ // @Test
510510 public void failAesCbcV1toV3AsyncWhenDisabled () {
511511 final String objectKey = appendTestSuffix ("fail-aes-cbc-v1-to-v3-async-when-disabled" );
512512
@@ -543,7 +543,7 @@ public void failAesCbcV1toV3AsyncWhenDisabled() {
543543 v3Client .close ();
544544 }
545545
546- @ Test
546+ // @Test
547547 public void AsyncAesGcmV2toV3WithInstructionFile () {
548548 final String objectKey = appendTestSuffix ("async-aes-gcm-v2-to-v3-with-instruction-file" );
549549
@@ -580,7 +580,7 @@ public void AsyncAesGcmV2toV3WithInstructionFile() {
580580 v3AsyncClient .close ();
581581 }
582582
583- @ Test
583+ // @Test
584584 public void deleteObjectWithInstructionFileSuccessAsync () {
585585 final String objectKey = appendTestSuffix ("async-delete-object-with-instruction-file" );
586586
@@ -623,7 +623,7 @@ public void deleteObjectWithInstructionFileSuccessAsync() {
623623 s3Client .close ();
624624 }
625625
626- @ Test
626+ // @Test
627627 public void deleteObjectsWithInstructionFilesSuccessAsync () {
628628 final String [] objectKeys = {appendTestSuffix ("async-delete-object-with-instruction-file-1" ),
629629 appendTestSuffix ("async-delete-object-with-instruction-file-2" ),
@@ -672,7 +672,7 @@ public void deleteObjectsWithInstructionFilesSuccessAsync() {
672672 s3Client .close ();
673673 }
674674
675- @ Test
675+ // @Test
676676 public void deleteObjectWithWrongObjectKeySuccessAsync () {
677677 // V3 Client
678678 S3AsyncClient v3Client = S3AsyncEncryptionClient .builder ()
@@ -684,7 +684,7 @@ public void deleteObjectWithWrongObjectKeySuccessAsync() {
684684 v3Client .close ();
685685 }
686686
687- @ Test
687+ // @Test
688688 public void copyObjectTransparentlyAsync () {
689689 final String objectKey = appendTestSuffix ("copy-object-from-here-async" );
690690 final String newObjectKey = appendTestSuffix ("copy-object-to-here-async" );
@@ -731,7 +731,7 @@ public void copyObjectTransparentlyAsync() {
731731 * the cipher's block size.
732732 * @throws IOException
733733 */
734- @ Test
734+ // @Test
735735 public void tinyBufferTest () throws IOException {
736736 // BouncyCastle actually returns null buffers, unlike ACCP and SunJCE, which return empty buffers
737737 Security .addProvider (new BouncyCastleProvider ());
@@ -771,7 +771,7 @@ public void tinyBufferTest() throws IOException {
771771 exec .shutdown ();
772772 }
773773
774- @ Test
774+ // @Test
775775 public void testAsyncInstructionFileConfig () {
776776 final String objectKey = appendTestSuffix ("async-instruction-file-config" );
777777 final String input = "SimpleTestOfV3EncryptionClient" ;
@@ -828,7 +828,7 @@ public void testAsyncInstructionFileConfig() {
828828 s3Client .close ();
829829 }
830830
831- @ Test
831+ // @Test
832832 public void wrappedClientMultipartUploadThrowsException () throws IOException {
833833 final String objectKey = appendTestSuffix ("multipart-put-object-async-wrapped-client" );
834834
@@ -907,14 +907,14 @@ public void wrappedClientMultipartUploadThrowsException() throws IOException {
907907 v3Client .close ();
908908 }
909909
910- @ Test
910+ // @Test
911911 public void S3AsyncClientBuilderForbidsMultipartEnabled () throws IOException {
912912 assertThrows (
913913 UnsupportedOperationException .class ,
914914 () -> S3AsyncEncryptionClient .builder ().multipartEnabled (Boolean .TRUE ));
915915 }
916916
917- @ Test
917+ // @Test
918918 public void S3AsyncClientBuilderForbidsMultipartConfiguration () throws IOException {
919919 assertThrows (
920920 UnsupportedOperationException .class ,
0 commit comments