summaryrefslogtreecommitdiff
path: root/test/ocaml
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/ocaml
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/ocaml')
-rw-r--r--test/ocaml/server/TestServer.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ocaml/server/TestServer.ml b/test/ocaml/server/TestServer.ml
index 3f5c9ee15..efe0f4b2b 100644
--- a/test/ocaml/server/TestServer.ml
+++ b/test/ocaml/server/TestServer.ml
@@ -36,6 +36,7 @@ object (self)
method testI32 x = p "testI32(%d)\n" (sod x); (sod x)
method testI64 x = p "testI64(%s)\n" (Int64.to_string (sod x)); (sod x)
method testDouble x = p "testDouble(%f)\n" (sod x); (sod x)
+ method testBinary x = p "testBinary(%s)\n" (sod x); (sod x)
method testStruct x = p "testStruct(---)\n"; (sod x)
method testNest x = p "testNest(---)\n"; (sod x)
method testMap x = p "testMap(---)\n"; (sod x)