THRIFT-3341 Add testBool methods
Client: Haxe
Patch: Jens Geyer
This closes #614
diff --git a/test/haxe/src/TestServerHandler.hx b/test/haxe/src/TestServerHandler.hx
index abcef13..74a8805 100644
--- a/test/haxe/src/TestServerHandler.hx
+++ b/test/haxe/src/TestServerHandler.hx
@@ -51,6 +51,19 @@
trace("testVoid()");
}
+ /**
+ * Prints 'testBool("%s")' where '%s' with thing as 'true' or 'false'
+ * @param bool thing - the bool data to print
+ * @return bool - returns the bool 'thing'
+ *
+ * @param thing
+ */
+ public function testBool(thing : Bool) : Bool
+ {
+ trace('testBool($thing)');
+ return thing;
+ }
+
/**
* Prints 'testString("%s")' with thing as '%s'
* @param string thing - the string to print