Skip to content

Commit 69cfbb4

Browse files
Event stream protocol tests (#2803)
* Add event stream protocol test trait * Add event stream protocol tests for restJson1 * Use values greater than max int for long tests * Use text blocks for JSON bodies This updates event stream protocol tests to use text blocks for the JSON bodies to make them easier to read. * Use b64 encoding for event test blobs * Add event bytes to event stream tests * Use utf8 bytes explicitly * Add blob support to NodeMapper This adds blob support to NodeMapper, serializing to and from base64 encoded string nodes.
1 parent 044f837 commit 69cfbb4

32 files changed

+4957
-358
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "feature",
3+
"description": "Added protocol tests for event streaming in restJson1.",
4+
"pull_requests": [
5+
"[#2803](https://github.com/smithy-lang/smithy/pull/2803)"
6+
]
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "feature",
3+
"description": "Added support for (de)serializing byte arrays to/from base64-encoded string nodes to `NodeMapper`.",
4+
"pull_requests": [
5+
"[#2803](https://github.com/smithy-lang/smithy/pull/2803)"
6+
]
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "feature",
3+
"description": "Added a new `eventStreamProtocolTests` trait to enable writing shared test suites for event streams just as has been done for standard HTTP protocol requests and responses.",
4+
"pull_requests": [
5+
"[#2803](https://github.com/smithy-lang/smithy/pull/2803)"
6+
]
7+
}

0 commit comments

Comments
 (0)