Lines Matching refs:condition
136 * A failure occurs when a test fails (condition is false).
236 * Asserts that a condition is true.
237 * If the condition is not true, a failure is generated.
238 * @param condition Condition to fullfill for the assertion to pass
241 #define ASSERT_TRUE_M(condition, message) \
243 if (!(condition)) { \
252 #define ASSERT_TRUE(condition) \
253 ASSERT_TRUE_M(condition, wxString(wxT("Not true: ")) + wxT(#condition));
257 * Same as ASSERT_TRUE, but without an explicit message and condition must be false.
259 #define ASSERT_FALSE(condition) \
260 ASSERT_TRUE_M(!(condition), wxString(wxT("Not false: ")) + wxT(#condition));