testing

The contents of this module can be included with the header hpx/modules/testing.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/testing.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

Defines

HPX_TEST(...)
HPX_TEST_(...)
HPX_TEST_1(expr)
HPX_TEST_2(strm, expr)
HPX_TEST_IMPL(fixture, expr)
HPX_TEST_MSG(...)
HPX_TEST_MSG_(...)
HPX_TEST_MSG_2(expr, msg)
HPX_TEST_MSG_3(strm, expr, msg)
HPX_TEST_MSG_IMPL(fixture, expr, msg)
HPX_TEST_EQ(...)
HPX_TEST_EQ_(...)
HPX_TEST_EQ_2(expr1, expr2)
HPX_TEST_EQ_3(strm, expr1, expr2)
HPX_TEST_EQ_IMPL(fixture, expr1, expr2)
HPX_TEST_NEQ(...)
HPX_TEST_NEQ_(...)
HPX_TEST_NEQ_2(expr1, expr2)
HPX_TEST_NEQ_3(strm, expr1, expr2)
HPX_TEST_NEQ_IMPL(fixture, expr1, expr2)
HPX_TEST_LT(...)
HPX_TEST_LT_(...)
HPX_TEST_LT_2(expr1, expr2)
HPX_TEST_LT_3(strm, expr1, expr2)
HPX_TEST_LT_IMPL(fixture, expr1, expr2)
HPX_TEST_LTE(...)
HPX_TEST_LTE_(...)
HPX_TEST_LTE_2(expr1, expr2)
HPX_TEST_LTE_3(strm, expr1, expr2)
HPX_TEST_LTE_IMPL(fixture, expr1, expr2)
HPX_TEST_RANGE(...)
HPX_TEST_RANGE_(...)
HPX_TEST_RANGE_3(expr1, expr2, expr3)
HPX_TEST_RANGE_4(strm, expr1, expr2, expr3)
HPX_TEST_RANGE_IMPL(fixture, expr1, expr2, expr3)
HPX_TEST_EQ_MSG(...)
HPX_TEST_EQ_MSG_(...)
HPX_TEST_EQ_MSG_3(expr1, expr2, msg)
HPX_TEST_EQ_MSG_4(strm, expr1, expr2, msg)
HPX_TEST_EQ_MSG_IMPL(fixture, expr1, expr2, msg)
HPX_TEST_NEQ_MSG(...)
HPX_TEST_NEQ_MSG_(...)
HPX_TEST_NEQ_MSG_3(expr1, expr2, msg)
HPX_TEST_NEQ_MSG_4(strm, expr1, expr2, msg)
HPX_TEST_NEQ_MSG_IMPL(fixture, expr1, expr2, msg)
HPX_TEST_LT_MSG(...)
HPX_TEST_LT_MSG_(...)
HPX_TEST_LT_MSG_3(expr1, expr2, msg)
HPX_TEST_LT_MSG_4(strm, expr1, expr2, msg)
HPX_TEST_LT_MSG_IMPL(fixture, expr1, expr2, msg)
HPX_TEST_LTE_MSG(...)
HPX_TEST_LTE_MSG_(...)
HPX_TEST_LTE_MSG_3(expr1, expr2, msg)
HPX_TEST_LTE_MSG_4(strm, expr1, expr2, msg)
HPX_TEST_LTE_MSG_IMPL(fixture, expr1, expr2, msg)
HPX_TEST_RANGE_MSG(...)
HPX_TEST_RANGE_MSG_(...)
HPX_TEST_RANGE_MSG_4(expr1, expr2, expr3, msg)
HPX_TEST_RANGE_MSG_5(strm, expr1, expr2, expr3, msg)
HPX_TEST_RANGE_MSG_IMPL(fixture, expr1, expr2, expr3, msg)
HPX_SANITY(...)
HPX_SANITY_(...)
HPX_SANITY_1(expr)
HPX_SANITY_2(strm, expr)
HPX_SANITY_IMPL(fixture, expr)
HPX_SANITY_MSG(...)
HPX_SANITY_MSG_(...)
HPX_SANITY_MSG_2(expr, msg)
HPX_SANITY_MSG_3(strm, expr, msg)
HPX_SANITY_MSG_IMPL(fixture, expr, msg)
HPX_SANITY_EQ(...)
HPX_SANITY_EQ_(...)
HPX_SANITY_EQ_2(expr1, expr2)
HPX_SANITY_EQ_3(strm, expr1, expr2)
HPX_SANITY_EQ_IMPL(fixture, expr1, expr2)
HPX_SANITY_NEQ(...)
HPX_SANITY_NEQ_(...)
HPX_SANITY_NEQ_2(expr1, expr2)
HPX_SANITY_NEQ_3(strm, expr1, expr2)
HPX_SANITY_NEQ_IMPL(fixture, expr1, expr2)
HPX_SANITY_LT(...)
HPX_SANITY_LT_(...)
HPX_SANITY_LT_2(expr1, expr2)
HPX_SANITY_LT_3(strm, expr1, expr2)
HPX_SANITY_LT_IMPL(fixture, expr1, expr2)
HPX_SANITY_LTE(...)
HPX_SANITY_LTE_(...)
HPX_SANITY_LTE_2(expr1, expr2)
HPX_SANITY_LTE_3(strm, expr1, expr2)
HPX_SANITY_LTE_IMPL(fixture, expr1, expr2)
HPX_SANITY_RANGE(...)
HPX_SANITY_RANGE_(...)
HPX_SANITY_RANGE_3(expr1, expr2, expr3)
HPX_SANITY_RANGE_4(strm, expr1, expr2, expr3)
HPX_SANITY_RANGE_IMPL(fixture, expr1, expr2, expr3)
HPX_SANITY_EQ_MSG(...)
HPX_SANITY_EQ_MSG_(...)
HPX_SANITY_EQ_MSG_3(expr1, expr2, msg)
HPX_SANITY_EQ_MSG_4(strm, expr1, expr2, msg)
HPX_SANITY_EQ_MSG_IMPL(fixture, expr1, expr2, msg)
HPX_TEST_THROW(...)
HPX_TEST_THROW_(...)
HPX_TEST_THROW_2(expression, exception)
HPX_TEST_THROW_3(strm, expression, exception)
HPX_TEST_THROW_IMPL(fixture, expression, exception)
namespace hpx
namespace util

Typedefs

using test_failure_handler_type = function_nonser<void()>

Enums

enum counter_type

Values:

counter_sanity
counter_test

Functions

void set_test_failure_handler(test_failure_handler_type f)
int report_errors()
int report_errors(std::ostream &stream)
void print_cdash_timing(const char *name, double time)
void print_cdash_timing(const char *name, std::uint64_t time)
namespace hpx
namespace util

Functions

void perf_test_report(std::string const &name, std::string const &exec, const std::size_t steps, function_nonser<void(void)> &&test)