@@ -32,31 +32,27 @@ public class FlattenUploadConfig {
3232 public static List <FlattenUploadConfig > testConfigs () {
3333 List <FlattenUploadConfig > configs = new ArrayList <>();
3434
35- boolean [] forcePathStyle = {true , false };
3635 boolean [] payloadSign = {true , false };
3736 RequestChecksumCalculation [] checksumValidations = {RequestChecksumCalculation .WHEN_REQUIRED ,
3837 RequestChecksumCalculation .WHEN_SUPPORTED };
39- for (boolean pathStyle : forcePathStyle ) {
40- for (RequestChecksumCalculation checksumValidation : checksumValidations ) {
41- for (BucketType bucketType : BucketType .values ()) {
42- for (UploadStreamingRegressionTesting .BodyType bodType : UploadStreamingRegressionTesting .BodyType .values ()) {
43- for (UploadStreamingRegressionTesting .ContentSize cs : UploadStreamingRegressionTesting .ContentSize .values ()) {
44- for (boolean ps : payloadSign ) {
45- FlattenUploadConfig testConfig = new FlattenUploadConfig ();
46- testConfig .setBucketType (bucketType );
47- testConfig .setForcePathStyle (pathStyle );
48- testConfig .setRequestChecksumValidation (checksumValidation );
49- testConfig .setBodyType (bodType );
50- testConfig .setContentSize (cs );
51- testConfig .setPayloadSigning (ps );
52- configs .add (testConfig );
53- }
38+ for (RequestChecksumCalculation checksumValidation : checksumValidations ) {
39+ for (BucketType bucketType : BucketType .values ()) {
40+ for (UploadStreamingRegressionTesting .BodyType bodType : UploadStreamingRegressionTesting .BodyType .values ()) {
41+ for (UploadStreamingRegressionTesting .ContentSize cs :
42+ UploadStreamingRegressionTesting .ContentSize .values ()) {
43+ for (boolean ps : payloadSign ) {
44+ FlattenUploadConfig testConfig = new FlattenUploadConfig ();
45+ testConfig .setBucketType (bucketType );
46+ testConfig .setRequestChecksumValidation (checksumValidation );
47+ testConfig .setBodyType (bodType );
48+ testConfig .setContentSize (cs );
49+ testConfig .setPayloadSigning (ps );
50+ configs .add (testConfig );
5451 }
5552 }
5653 }
5754 }
5855 }
59-
6056 return configs ;
6157 }
6258
0 commit comments