diff options
author | Eric Anderson <ejona@google.com> | 2018-07-24 16:32:31 -0700 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2018-07-24 16:32:31 -0700 |
commit | 14c12f0cbec160c23fcc8287b777127ab3305fe2 (patch) | |
tree | 6d9c83711beb39d07a4e9ea2883e975292c259d1 /doc/interop-test-descriptions.md | |
parent | af1edd806ec5f4b7ad8c34a98515614be55d10c3 (diff) |
Add interop test for status description with special characters
Fixes #16113
Diffstat (limited to 'doc/interop-test-descriptions.md')
-rw-r--r-- | doc/interop-test-descriptions.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/interop-test-descriptions.md b/doc/interop-test-descriptions.md index 9781925533..3c33189196 100644 --- a/doc/interop-test-descriptions.md +++ b/doc/interop-test-descriptions.md @@ -784,6 +784,32 @@ Client asserts: * received status message is the same as the sent message for both Procedure steps 1 and 2 +### special_status_message + +This test verifies Unicode and whitespace is correctly processed in status +message. "\t" is horizontal tab. "\r" is carriage return. "\n" is line feed. + +Server features: +* [UnaryCall][] +* [Echo Status][] + +Procedure: + 1. Client calls UnaryCall with: + + ``` + { + response_status:{ + code: 2 + message: "\t\ntest with whitespace\r\nand Unicode BMP ☺ and non-BMP 😈\t\n" + } + } + ``` + +Client asserts: +* received status code is the same as the sent code for Procedure step 1 +* received status message is the same as the sent message for Procedure step 1, + including all whitespace characters + ### unimplemented_method This test verifies that calling an unimplemented RPC method returns the |