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/rb/integration/TestClient.rb b/test/rb/integration/TestClient.rb
index 41625a8..3659ccb 100755
--- a/test/rb/integration/TestClient.rb
+++ b/test/rb/integration/TestClient.rb
@@ -116,6 +116,8 @@
assert_kind_of(Float, @client.testDouble(val))
end
+ # TODO: testBinary
+
def test_map
val = {1 => 1, 2 => 2, 3 => 3}
assert_equal(@client.testMap(val), val)