summaryrefslogtreecommitdiff
path: root/lib/c_glib/test
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsukeg@gmail.com>2015-09-21 13:53:25 +0900
committerRoger Meier <roger@apache.org>2015-09-21 23:07:39 +0200
commita649e7473bd0229f160332f0c80407ba49765065 (patch)
tree44dea5abd7123a132851b6e1e181bf6caf3d3a44 /lib/c_glib/test
parent245c347b7374182f8142ac07e43473ddd8c4d0de (diff)
downloadthrift-a649e7473bd0229f160332f0c80407ba49765065.tar.gz
THRIFT-3337 Add testBool method to cross tests
This closes #611
Diffstat (limited to 'lib/c_glib/test')
-rwxr-xr-xlib/c_glib/test/testthrifttestclient.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/c_glib/test/testthrifttestclient.cpp b/lib/c_glib/test/testthrifttestclient.cpp
index e1737cde3..e618fe938 100755
--- a/lib/c_glib/test/testthrifttestclient.cpp
+++ b/lib/c_glib/test/testthrifttestclient.cpp
@@ -67,6 +67,10 @@ class TestHandler : public ThriftTestIf {
out = thing;
}
+ bool testBool(const bool thing) {
+ printf("[C -> C++] testBool(%s)\n", thing ? "true" : "false");
+ return thing;
+ }
int8_t testByte(const int8_t thing) {
printf("[C -> C++] testByte(%d)\n", (int)thing);
return thing;