Lines Matching refs:expr
50 static std::string formatError (const char* message, const char* expr, const char* file, int line) in formatError() argument
55 if (expr) in formatError()
56 msg << ": '" << expr << '\''; in formatError()
64 Exception::Exception (const char* message, const char* expr, const char* file, int line) in Exception() argument
65 : std::runtime_error(formatError(message, expr, file, line)) in Exception()
76 TestException::TestException (const char* message, const char* expr, const char* file, int line, qp… in TestException() argument
77 : Exception (formatError(message, expr, file, line)) in TestException()
88 TestError::TestError (const char* message, const char* expr, const char* file, int line) in TestError() argument
89 : TestException(message, expr, file, line, QP_TEST_RESULT_FAIL) in TestError()
98 InternalError::InternalError (const char* message, const char* expr, const char* file, int line) in InternalError() argument
99 : TestException(message, expr, file, line, QP_TEST_RESULT_INTERNAL_ERROR) in InternalError()
108 ResourceError::ResourceError (const char* message, const char* expr, const char* file, int line) in ResourceError() argument
109 : TestException(message, expr, file, line, QP_TEST_RESULT_RESOURCE_ERROR) in ResourceError()
118 NotSupportedError::NotSupportedError (const char* message, const char* expr, const char* file, int … in NotSupportedError() argument
119 : TestException(message, expr, file, line, QP_TEST_RESULT_NOT_SUPPORTED) in NotSupportedError()