Home | History | Annotate | Download | only in common

Lines Matching defs:TestError

77 class TestError : public TestException
80 TestError (const char* message, const char* expr, const char* file, int line);
81 TestError (const std::string& message);
82 virtual ~TestError (void) throw() {}
128 //! Throw TestError.
129 #define TCU_FAIL(MSG) TCU_THROW(TestError, MSG)
131 //! Throw TestError if condition X is not satisfied.
132 #define TCU_CHECK(X) do { if (!(!deGetFalse() && (X))) throw tcu::TestError(DE_NULL, #X, __FILE__, __LINE__); } while(deGetFalse())
134 //! Throw TestError if condition X is not satisfied.
135 #define TCU_CHECK_MSG(X, MSG) do { if (!(!deGetFalse() && (X))) throw tcu::TestError((MSG), #X, __FILE__, __LINE__); } while(deGetFalse())