THRIFT-3337 Add testBool method to cross tests
This closes #611
diff --git a/test/cpp/src/TestClient.cpp b/test/cpp/src/TestClient.cpp
index fa5b635..1c0254b 100644
--- a/test/cpp/src/TestClient.cpp
+++ b/test/cpp/src/TestClient.cpp
@@ -307,6 +307,21 @@
failCount++;
/**
+ * BOOL TEST
+ */
+ printf("testBool(true)");
+ bool bl = testClient.testBool(true);
+ printf(" = %s\n", bl ? "true" : "false");
+ if (bl != true)
+ failCount++;
+
+ printf("testBool(false)");
+ bl = testClient.testBool(false);
+ printf(" = %s\n", bl ? "true" : "false");
+ if (bl != false)
+ failCount++;
+
+ /**
* BYTE TEST
*/
printf("testByte(1)");