Skip to content

Malformed request tests for timestamps#882

Merged
adamthom-amzn merged 1 commit intosmithy-lang:mainfrom
adamthom-amzn:malformed-timestamps
Aug 9, 2021
Merged

Malformed request tests for timestamps#882
adamthom-amzn merged 1 commit intosmithy-lang:mainfrom
adamthom-amzn:malformed-timestamps

Conversation

@adamthom-amzn
Copy link
Copy Markdown
Contributor

Description of changes:
This is basically a really verbose matrix test. There are four files: one for body, header, query, and path. Each has three operations: one for whatever the default is for that type of member, and two more for the other two formats that aren't the default. The tests are essentially the same in every location, modulo formatting and where the value is injected. This is probably overkill, but it ensures that we don't have a server implementation where the validation of timestamps varies based on location.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@adamthom-amzn adamthom-amzn merged commit faa689b into smithy-lang:main Aug 9, 2021
@adamthom-amzn adamthom-amzn deleted the malformed-timestamps branch August 9, 2021 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants