TSM_ASSERT only produce output for invalid but not for valid assertions

82 views
Skip to first unread message

neuralpr...@gmail.com

unread,
Jul 26, 2016, 3:33:53 AM7/26/16
to CxxTest Forum
Somehow the TSM_ASSERT macro seems to not produce output for valid assertions but on invalid assertions.

We currently implemented a work around with TSM_ASSERT_EQUALS...

TSM_ASSERT("message" , methodThatReturnTrue()); --> no Output
TSM_ASSERT("message" , methodThatReturnFalse()); --> Output!
TSM_ASSERT_EQUALS("message", TRUE, methodThatReturnTrue()); --> Output!

Is this a bug or did I misconfigured CxxTest, since even with the option -v i did not worked properly.

Regards
Reply all
Reply to author
Forward
0 new messages