aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Eric Anderson <ejona@google.com>2018-07-26 10:57:01 -0700
committerGravatar GitHub <noreply@github.com>2018-07-26 10:57:01 -0700
commita2bb308c8f1d32d02f8661a4780bdbea1aabcaf9 (patch)
tree8483f0f7b0ff705d01b35fa6f1a7a5d7e45ba7f8 /doc
parentac81f5aa32ee53f50f99f695849dd1f724535058 (diff)
parent14c12f0cbec160c23fcc8287b777127ab3305fe2 (diff)
Merge pull request #16129 from ejona86/special-interop
Add interop test for status description with special characters
Diffstat (limited to 'doc')
-rw-r--r--doc/interop-test-descriptions.md26
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