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/cpp/src/TestClient.cpp b/test/cpp/src/TestClient.cpp
index a6069de..c496bcb 100644
--- a/test/cpp/src/TestClient.cpp
+++ b/test/cpp/src/TestClient.cpp
@@ -334,6 +334,7 @@
printf(" = %" PRId64 "\n", i64);
if (i64 != -34359738368LL)
failCount++;
+
/**
* DOUBLE TEST
*/
@@ -344,6 +345,11 @@
failCount++;
/**
+ * BINARY TEST
+ */
+ // TODO: add testBinary() call
+
+ /**
* STRUCT TEST
*/
printf("testStruct({\"Zero\", 1, -3, -5})");