diff options
author | Mark Slee <mcslee@apache.org> | 2007-01-24 23:42:12 +0000 |
---|---|---|
committer | Mark Slee <mcslee@apache.org> | 2007-01-24 23:42:12 +0000 |
commit | 9e288d4f7ad0b55f5a1c6b0010f4f0a5d935fece (patch) | |
tree | 75a7ad0f667ef8dd4869c7584a98e46692e05ae9 /test/SmallTest.thrift | |
parent | 68f08ee5f5986138105bb3906b086cd15df02026 (diff) | |
download | thrift-9e288d4f7ad0b55f5a1c6b0010f4f0a5d935fece.tar.gz |
Add some smaller test cases and fix new single protocol/transport C++ test
Reviewed By: aditya
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664944 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/SmallTest.thrift')
-rw-r--r-- | test/SmallTest.thrift | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/SmallTest.thrift b/test/SmallTest.thrift new file mode 100644 index 000000000..6e89221f1 --- /dev/null +++ b/test/SmallTest.thrift @@ -0,0 +1,17 @@ +struct Hello { + 1: i32 simple, + 2: map<i32,i32> complex, + 3: map<i32, map<i32,i32>> complexer, +} + +exception Goodbye { + 1: i32 simple, + 2: map<i32,i32> complex, + 3: map<i32, map<i32,i32>> complexer, +} + +service SmallService { + Hello testMe(1:i32 hello, 2: Hello wonk) throws (1: Goodbye g), + void testVoid() throws (1: Goodbye g), + i32 testI32(1:i32 boo) +} |