|
tfel
|
#include <string>#include <stdexcept>#include <string_view>#include "TFEL/Config/TFELConfig.hxx"#include "TFEL/Raise.hxx"#include "TFEL/Macros.hxx"#include "TFEL/Tests/Test.hxx"#include "TFEL/Tests/TestResult.hxx"Classes | |
| struct | tfel::tests::TestAssertionFailure |
| exception thrown by TFEL_TESTS_ASSERT when an assertion fails. It holds the results registered by the test before the failure. More... | |
| struct | tfel::tests::TestCase |
| class used to describe an single test More... | |
Namespaces | |
| namespace | tfel |
| the namespace tfel encloses all the TFEL project. This namespace is empty. | |
Macros | |
| #define | TFEL_TESTS_STATIC_ASSERT(X) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_ASSERT(X) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK_THROW(X, Y) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CALLMETHOD(X) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK(X) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK_EQUAL(X, Y) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK_GT(X, Y) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK_GE(X, Y) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK_LT(X, Y) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define | TFEL_TESTS_CHECK_LE(X, Y) |
| an helper macro to ease the use of TestCase::registerResult | |
| #define TFEL_TESTS_ASSERT | ( | X | ) |
an helper macro to ease the use of TestCase::registerResult
| X | code to be evaluated |
| #define TFEL_TESTS_CALLMETHOD | ( | X | ) |
an helper macro to ease the use of TestCase::registerResult
| X | method to be called |
| #define TFEL_TESTS_CHECK | ( | X | ) |
an helper macro to ease the use of TestCase::registerResult
| X | value to be tested |
| #define TFEL_TESTS_CHECK_EQUAL | ( | X, | |
| Y ) |
an helper macro to ease the use of TestCase::registerResult
| X | value to be tested |
| Y | expected value |
| #define TFEL_TESTS_CHECK_GE | ( | X, | |
| Y ) |
an helper macro to ease the use of TestCase::registerResult
| X | value to be tested |
| Y | expected value |
| #define TFEL_TESTS_CHECK_GT | ( | X, | |
| Y ) |
an helper macro to ease the use of TestCase::registerResult
| X | value to be tested |
| Y | expected value |
| #define TFEL_TESTS_CHECK_LE | ( | X, | |
| Y ) |
an helper macro to ease the use of TestCase::registerResult
| X | value to be tested |
| Y | expected value |
| #define TFEL_TESTS_CHECK_LT | ( | X, | |
| Y ) |
an helper macro to ease the use of TestCase::registerResult
| X | value to be tested |
| Y | expected value |
| #define TFEL_TESTS_CHECK_THROW | ( | X, | |
| Y ) |
an helper macro to ease the use of TestCase::registerResult
| X | code to be evaluated |
| Y | exeception execpted to be thrown |
| #define TFEL_TESTS_STATIC_ASSERT | ( | X | ) |
an helper macro to ease the use of TestCase::registerResult
| X | : code to be evaluated |