the Compartmented Robust Posix C++ Unit Test system | | hosted by
| | follow on
|
---|
|
---|
crpcut-1.9.4
Reference Manual
Table of Contents
- 1. Macros
ALL_TESTS(testsuitename)
ANY_CODE
ASSERT_EQ(a, b)
ASSERT_FALSE(expr)
ASSERT_GE(a, b)
ASSERT_GT(a, b)
ASSERT_LE(a, b)
ASSERT_LT(a, b)
ASSERT_NE(a, b)
ASSERT_NO_THROW(expr)
-
ASSERT_PRED(pred, ...)
ASSERT_SCOPE_HEAP_LEAK_FREE
ASSERT_SCOPE_MAX_CPUTIME_MS(ms)
ASSERT_SCOPE_MAX_REALTIME_MS(ms)
ASSERT_SCOPE_MIN_REALTIME_MS(ms)
ASSERT_THROW(expr, exc_type, matcher?)
ASSERT_TRUE(expr)
CRPCUT_DESCRIBE_EXCEPTION(signature)
CRPCUT_WRAP_FUNC(lib, func, rv, param_list, param_call)
CRPCUT_WRAP_V_FUNC(lib, func, rv, param_list, param_call)
DEADLINE_CPU_MS(n)
DEADLINE_REALTIME_MS(n)
DEFINE_TEST_TAG(tagname)
DEPENDS_ON(...)
DISABLED_TEST(name, ...)
EXPECT_EXCEPTION(type)
EXPECT_EXIT(num, action?)
EXPECT_REALTIME_TIMEOUT_MS(ms)
EXPECT_SIGNAL_DEATH(signo, action?)
FAIL
FIXTURE_CONSTRUCTION_DEADLINE_REALTIME_MS(ms)
FIXTURE_DESTRUCTION_DEADLINE_REALTIME_MS(ms)
INFO
NO_CORE_FILE
TEST(name, ...)
TESTSUITE(name, ...)
VERIFY_EQ(a, b)
VERIFY_FALSE(expr)
VERIFY_GE(a, b)
VERIFY_GT(a, b)
VERIFY_LE(a, b)
VERIFY_LT(a, b)
VERIFY_NE(a, b)
VERIFY_NO_THROW(expr)
VERIFY_PRED(pred, ...)
VERIFY_SCOPE_HEAP_LEAK_FREE
VERIFY_SCOPE_MAX_CPUTIME_MS(ms)
VERIFY_SCOPE_MAX_REALTIME_MS(ms)
VERIFY_SCOPE_MIN_REALTIME_MS(ms)
VERIFY_THROW(expr, exc_type, matcher?)
VERIFY_TRUE(expr)
WIPE_WORKING_DIR
WITH_TEST_TAG(tagname)
- 2. namespace crpcut
- crpcut::abs_diff
- crpcut::collate
- crpcut::
get_parameter()
- crpcut::
get_start_dir()
- crpcut::heap
- crpcut::libs
- crpcut::lowercase
- crpcut::
match
<matcher>(...) - crpcut::match_traits
- crpcut::predicate
- crpcut::regex
- crpcut::relative_diff
- crpcut::
set_charset
() - crpcut::
show_value
<T>() - crpcut::
run
() - crpcut::ulps_diff
- crpcut::uppercase
- crpcut::verbatim
- 3. Running tests
- The command line
- Test reports
- Debugging a test
- 4. Environment variables
- A. LICENSE
- B. Support