-
- Downloads
Refactor HttpProtocolTestGeneratorTest (#90)
As the ServiceGenerator grew more complex, it was becoming tedious to keep the hand-written operation in the HttpProtocolTestGenerator updated. This diff replaces the hand-written operation with a custom protocol. To support this, rudimentary support for pluggable protocols was added to CodegenVisitor—eventually this will be driven by SPI.
Showing
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/CodegenVisitor.kt 3 additions, 2 deletions...tware/amazon/smithy/rust/codegen/smithy/CodegenVisitor.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/protocols/ProtocolLoader.kt 5 additions, 1 deletion...on/smithy/rust/codegen/smithy/protocols/ProtocolLoader.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/smithy/generators/HttpProtocolTestGeneratorTest.kt 69 additions, 123 deletions...odegen/smithy/generators/HttpProtocolTestGeneratorTest.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/testutil/Rust.kt 30 additions, 0 deletions.../test/kotlin/software/amazon/smithy/rust/testutil/Rust.kt
Loading
Please register or sign in to comment