QF/C++ stub for QUTEST unit testing. More...
#include "qf_port.hpp"
#include "qf_pkg.hpp"
#include "qassert.h"
#include "qs_port.hpp"
#include "qs_pkg.hpp"
Go to the source code of this file.
Namespaces | |
QP | |
namespace associated with the QP/C++ framework | |
Functions | |
Q_NORETURN | Q_onAssert (char_t const *const module, int_t const location) |
Callback function invoked in case of any assertion failure. More... | |
QF/C++ stub for QUTEST unit testing.
Definition in file qutest.cpp.
Q_NORETURN Q_onAssert | ( | char_t const *const | module, |
int_t const | location | ||
) |
Callback function invoked in case of any assertion failure.
[in] | module | name of the file/module in which the assertion failed (constant, zero-terminated C string) |
[in] | location | location of the assertion within the module. This could be a line number or a user-specified ID-number. |
Called by the following macros: Q_ASSERT, Q_REQUIRE, Q_ENSURE, Q_ERROR, Q_ALLEGE as well as Q_ASSERT_ID, Q_REQUIRE_ID, Q_ENSURE_ID, Q_ERROR_ID, and Q_ALLEGE_ID.
Definition at line 412 of file qutest.cpp.