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
diff --git a/test/py.twisted/test_suite.py b/test/py.twisted/test_suite.py
index 6e1fee2..26c1ee2 100644
--- a/test/py.twisted/test_suite.py
+++ b/test/py.twisted/test_suite.py
@@ -59,6 +59,9 @@
def testDouble(self, dub):
return dub
+ def testBinary(self, thing):
+ return thing
+
def testStruct(self, thing):
return thing
@@ -144,6 +147,8 @@
def testDouble(self):
self.assertEquals((yield self.client.testDouble(-5.235098235)), -5.235098235)
+ # TODO: def testBinary(self) ...
+
@defer.inlineCallbacks
def testStruct(self):
x = Xtruct()