@@ -32,31 +32,27 @@ public class FlattenUploadConfig {
32
32
public static List <FlattenUploadConfig > testConfigs () {
33
33
List <FlattenUploadConfig > configs = new ArrayList <>();
34
34
35
- boolean [] forcePathStyle = {true , false };
36
35
boolean [] payloadSign = {true , false };
37
36
RequestChecksumCalculation [] checksumValidations = {RequestChecksumCalculation .WHEN_REQUIRED ,
38
37
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 );
54
51
}
55
52
}
56
53
}
57
54
}
58
55
}
59
-
60
56
return configs ;
61
57
}
62
58
0 commit comments