diff options
Diffstat (limited to 'test/ThriftTest.thrift')
-rw-r--r-- | test/ThriftTest.thrift | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift index 4a1045fcd..42607cc35 100644 --- a/test/ThriftTest.thrift +++ b/test/ThriftTest.thrift @@ -112,6 +112,7 @@ struct CrazyNesting { // Do not insert line break as test/go/Makefile.am is removing this line with pattern match 3: required list<map<set<i32> (python.immutable = ""), map<i32,set<list<map<Insanity,string>(python.immutable = "")> (python.immutable = "")>>>> list_field, 4: binary binary_field + 5: uuid uuid_field } union SomeUnion { @@ -196,6 +197,13 @@ service ThriftTest binary testBinary(1: binary thing), /** + * Prints 'testUuid("%s")' where '%s' is the uuid given. Note that the uuid byte order should be correct. + * @param uuid thing - the uuid to print + * @return uuid - returns the uuid 'thing' + */ + uuid testUuid(1: uuid thing), + + /** * Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma separated values * @param Xtruct thing - the Xtruct to print * @return Xtruct - returns the Xtruct 'thing' |