summaryrefslogtreecommitdiff
path: root/test/py.tornado
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2014-12-14 03:14:26 +0100
committerJens Geyer <jensg@apache.org>2015-01-03 17:37:54 +0100
commit8bcfdd98ae59d840b677a485b74dda3953b4bcc1 (patch)
tree659ef62202eea161ca503d7ab3250238830abc8f /test/py.tornado
parent43e195afcd4cd3db67c7343271920af147e268e6 (diff)
downloadthrift-8bcfdd98ae59d840b677a485b74dda3953b4bcc1.tar.gz
THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: C_glib, C++, D, Erlang, Go, Haskell, Lua, Java/Me, JavaScript, Node, Ocaml, Perl, PHP, Python, Ruby Patch: Jens Geyer This closes #341 Minimal server-side implementations and TODO stubs for various languages to let "make check" succeeed. Not contained in this patch and still TODO: - client side implementations, i.e. calls to testBinary() and appropriate tests - server side hex printout missing for some languages
Diffstat (limited to 'test/py.tornado')
-rwxr-xr-xtest/py.tornado/test_suite.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/py.tornado/test_suite.py b/test/py.tornado/test_suite.py
index c78396203..b63ea2dd8 100755
--- a/test/py.tornado/test_suite.py
+++ b/test/py.tornado/test_suite.py
@@ -72,6 +72,9 @@ class TestHandler(object):
def testDouble(self, dub):
return dub
+ def testBinary(self, thing):
+ return thing
+
def testStruct(self, thing):
return thing