Skip to content

Commit 21f4779

Browse files
authored
feat: request compression trait (#1120)
1 parent 9ce4ff0 commit 21f4779

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

codegen/smithy-aws-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/aws/protocols/core/AwsHttpBindingProtocolGenerator.kt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,6 @@ abstract class AwsHttpBindingProtocolGenerator : HttpBindingProtocolGenerator()
3636
}
3737

3838
override fun generateProtocolUnitTests(ctx: ProtocolGenerator.GenerationContext) {
39-
val ignoredTests = TestMemberDelta(
40-
setOf(
41-
// FIXME - compression not yet supported, see https://github.com/awslabs/smithy-kotlin/issues/955
42-
"SDKAppliedContentEncoding_awsJson1_0",
43-
"SDKAppliedContentEncoding_awsJson1_1",
44-
"SDKAppliedContentEncoding_awsQuery",
45-
"SDKAppliedContentEncoding_ec2Query",
46-
"SDKAppliedContentEncoding_restJson1",
47-
"SDKAppliedContentEncoding_restXml",
48-
"SDKAppendedGzipAfterProvidedEncoding_restJson1",
49-
"SDKAppendedGzipAfterProvidedEncoding_restXml",
50-
"SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsJson1_0",
51-
"SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsJson1_1",
52-
"SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsQuery",
53-
"SDKAppendsGzipAndIgnoresHttpProvidedEncoding_ec2Query",
54-
),
55-
)
56-
5739
// The following can be used to generate only a specific test by name.
5840
// val targetedTest = TestMemberDelta(setOf("RestJsonComplexErrorWithNoMessage"), TestContainmentMode.RUN_TESTS)
5941

@@ -66,7 +48,6 @@ abstract class AwsHttpBindingProtocolGenerator : HttpBindingProtocolGenerator()
6648
requestTestBuilder,
6749
responseTestBuilder,
6850
errorTestBuilder,
69-
ignoredTests,
7051
).generateProtocolTests()
7152
}
7253

0 commit comments

Comments
 (0)