Go to the source code of this file.
|
#define | CATCH_VERSION_MAJOR 2 |
|
#define | CATCH_VERSION_MINOR 7 |
|
#define | CATCH_VERSION_PATCH 2 |
|
#define | REQUIRE(...) |
|
#define | REQUIRE_FALSE(...) |
|
#define | REQUIRE_THROWS(...) |
|
#define | REQUIRE_THROWS_AS(expr, exceptionType) |
|
#define | REQUIRE_THROWS_WITH(expr, matcher) |
|
#define | REQUIRE_THROWS_MATCHES(expr, exceptionType, matcher) |
|
#define | REQUIRE_NOTHROW(...) |
|
#define | CHECK(...) |
|
#define | CHECK_FALSE(...) |
|
#define | CHECKED_IF(...) |
|
#define | CHECKED_ELSE(...) |
|
#define | CHECK_NOFAIL(...) |
|
#define | CHECK_THROWS(...) |
|
#define | CHECK_THROWS_AS(expr, exceptionType) |
|
#define | CHECK_THROWS_WITH(expr, matcher) |
|
#define | CHECK_THROWS_MATCHES(expr, exceptionType, matcher) |
|
#define | CHECK_NOTHROW(...) |
|
#define | CHECK_THAT(arg, matcher) |
|
#define | REQUIRE_THAT(arg, matcher) |
|
#define | INFO(msg) |
|
#define | UNSCOPED_INFO(msg) |
|
#define | WARN(msg) |
|
#define | CAPTURE(...) |
|
#define | TEST_CASE(...) |
|
#define | TEST_CASE_METHOD(className, ...) |
|
#define | METHOD_AS_TEST_CASE(method, ...) |
|
#define | REGISTER_TEST_CASE(Function, ...) |
|
#define | SECTION(...) |
|
#define | DYNAMIC_SECTION(...) |
|
#define | FAIL(...) |
|
#define | FAIL_CHECK(...) |
|
#define | SUCCEED(...) |
|
#define | ANON_TEST_CASE() |
|
#define | TEMPLATE_TEST_CASE(...) |
|
#define | TEMPLATE_TEST_CASE_METHOD(className, ...) |
|
#define | TEMPLATE_PRODUCT_TEST_CASE(...) |
|
#define | TEMPLATE_PRODUCT_TEST_CASE_METHOD(className, ...) |
|
#define | STATIC_REQUIRE(...) |
|
#define | STATIC_REQUIRE_FALSE(...) |
|
#define | CATCH_TRANSLATE_EXCEPTION(signature) |
|
#define | SCENARIO(...) |
|
#define | SCENARIO_METHOD(className, ...) |
|
#define | GIVEN(desc) |
|
#define | AND_GIVEN(desc) |
|
#define | WHEN(desc) |
|
#define | AND_WHEN(desc) |
|
#define | THEN(desc) |
|
#define | AND_THEN(desc) |
|
◆ AND_GIVEN
#define AND_GIVEN |
( |
| desc | ) |
|
Value:
#define INTERNAL_CATCH_DYNAMIC_SECTION(...)
Definition at line 263 of file catch.hpp.
◆ AND_THEN
◆ AND_WHEN
◆ ANON_TEST_CASE
#define ANON_TEST_CASE |
( |
| ) |
|
Value:
#define INTERNAL_CATCH_TESTCASE(...)
Definition at line 231 of file catch.hpp.
◆ CAPTURE
Value:
#define INTERNAL_CATCH_CAPTURE(varName, macroName,...)
#define INTERNAL_CATCH_UNIQUE_NAME(name)
Definition at line 220 of file catch.hpp.
◆ CATCH_TRANSLATE_EXCEPTION
#define CATCH_TRANSLATE_EXCEPTION |
( |
| signature | ) |
|
Value:
#define INTERNAL_CATCH_TRANSLATE_EXCEPTION(signature)
Definition at line 256 of file catch.hpp.
◆ CATCH_VERSION_MAJOR
#define CATCH_VERSION_MAJOR 2 |
◆ CATCH_VERSION_MINOR
#define CATCH_VERSION_MINOR 7 |
◆ CATCH_VERSION_PATCH
#define CATCH_VERSION_PATCH 2 |
◆ CHECK
Value:
#define INTERNAL_CATCH_TEST(macroName, resultDisposition,...)
Definition at line 196 of file catch.hpp.
◆ CHECK_FALSE
#define CHECK_FALSE |
( |
| ... | ) |
|
◆ CHECK_NOFAIL
#define CHECK_NOFAIL |
( |
| ... | ) |
|
◆ CHECK_NOTHROW
#define CHECK_NOTHROW |
( |
| ... | ) |
|
Value:
#define INTERNAL_CATCH_NO_THROW(macroName, resultDisposition,...)
Definition at line 208 of file catch.hpp.
◆ CHECK_THAT
#define CHECK_THAT |
( |
| arg, |
|
|
| matcher ) |
Value:
#define INTERNAL_CHECK_THAT(macroName, matcher, resultDisposition, arg)
Definition at line 212 of file catch.hpp.
◆ CHECK_THROWS
#define CHECK_THROWS |
( |
| ... | ) |
|
Value:
#define INTERNAL_CATCH_THROWS(macroName, resultDisposition,...)
Definition at line 202 of file catch.hpp.
◆ CHECK_THROWS_AS
#define CHECK_THROWS_AS |
( |
| expr, |
|
|
| exceptionType ) |
Value:
#define INTERNAL_CATCH_THROWS_AS(macroName, exceptionType, resultDisposition, expr)
Definition at line 203 of file catch.hpp.
◆ CHECK_THROWS_MATCHES
#define CHECK_THROWS_MATCHES |
( |
| expr, |
|
|
| exceptionType, |
|
|
| matcher ) |
Value:
#define INTERNAL_CATCH_THROWS_MATCHES(macroName, exceptionType, resultDisposition, matcher,...)
Definition at line 206 of file catch.hpp.
◆ CHECK_THROWS_WITH
#define CHECK_THROWS_WITH |
( |
| expr, |
|
|
| matcher ) |
Value:
#define INTERNAL_CATCH_THROWS_STR_MATCHES(macroName, resultDisposition, matcher,...)
Definition at line 204 of file catch.hpp.
◆ CHECKED_ELSE
#define CHECKED_ELSE |
( |
| ... | ) |
|
Value:
#define INTERNAL_CATCH_ELSE(macroName, resultDisposition,...)
Definition at line 199 of file catch.hpp.
◆ CHECKED_IF
#define CHECKED_IF |
( |
| ... | ) |
|
Value:
#define INTERNAL_CATCH_IF(macroName, resultDisposition,...)
Definition at line 198 of file catch.hpp.
◆ DYNAMIC_SECTION
#define DYNAMIC_SECTION |
( |
| ... | ) |
|
◆ FAIL
Value:
#define INTERNAL_CATCH_MSG(macroName, messageType, resultDisposition,...)
Definition at line 228 of file catch.hpp.
◆ FAIL_CHECK
#define FAIL_CHECK |
( |
| ... | ) |
|
◆ GIVEN
◆ INFO
Value:
#define INTERNAL_CATCH_INFO(macroName, log)
Definition at line 217 of file catch.hpp.
◆ METHOD_AS_TEST_CASE
#define METHOD_AS_TEST_CASE |
( |
| method, |
|
|
| ... ) |
Value:
#define INTERNAL_CATCH_METHOD_AS_TEST_CASE(QualifiedMethod,...)
Definition at line 224 of file catch.hpp.
◆ REGISTER_TEST_CASE
#define REGISTER_TEST_CASE |
( |
| Function, |
|
|
| ... ) |
Value:
#define INTERNAL_CATCH_REGISTER_TESTCASE(Function,...)
Definition at line 225 of file catch.hpp.
◆ REQUIRE
◆ REQUIRE_FALSE
#define REQUIRE_FALSE |
( |
| ... | ) |
|
◆ REQUIRE_NOTHROW
#define REQUIRE_NOTHROW |
( |
| ... | ) |
|
◆ REQUIRE_THAT
#define REQUIRE_THAT |
( |
| arg, |
|
|
| matcher ) |
◆ REQUIRE_THROWS
#define REQUIRE_THROWS |
( |
| ... | ) |
|
◆ REQUIRE_THROWS_AS
#define REQUIRE_THROWS_AS |
( |
| expr, |
|
|
| exceptionType ) |
◆ REQUIRE_THROWS_MATCHES
#define REQUIRE_THROWS_MATCHES |
( |
| expr, |
|
|
| exceptionType, |
|
|
| matcher ) |
◆ REQUIRE_THROWS_WITH
#define REQUIRE_THROWS_WITH |
( |
| expr, |
|
|
| matcher ) |
◆ SCENARIO
◆ SCENARIO_METHOD
#define SCENARIO_METHOD |
( |
| className, |
|
|
| ... ) |
Value:
#define INTERNAL_CATCH_TEST_CASE_METHOD(ClassName,...)
Definition at line 260 of file catch.hpp.
◆ SECTION
Value:
#define INTERNAL_CATCH_SECTION(...)
Definition at line 226 of file catch.hpp.
◆ STATIC_REQUIRE
#define STATIC_REQUIRE |
( |
| ... | ) |
|
Value:static_assert( __VA_ARGS__, #__VA_ARGS__ );
SUCCEED( #__VA_ARGS__ )
Definition at line 247 of file catch.hpp.
◆ STATIC_REQUIRE_FALSE
#define STATIC_REQUIRE_FALSE |
( |
| ... | ) |
|
Value:static_assert( !(__VA_ARGS__),
"!(" #__VA_ARGS__
")" );
SUCCEED(
"!(" #__VA_ARGS__
")" )
Definition at line 248 of file catch.hpp.
◆ SUCCEED
◆ TEMPLATE_PRODUCT_TEST_CASE
#define TEMPLATE_PRODUCT_TEST_CASE |
( |
| ... | ) |
|
Value:
#define INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE(Name, Tags,...)
Definition at line 236 of file catch.hpp.
◆ TEMPLATE_PRODUCT_TEST_CASE_METHOD
#define TEMPLATE_PRODUCT_TEST_CASE_METHOD |
( |
| className, |
|
|
| ... ) |
Value:
#define INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD(ClassName, Name, Tags,...)
Definition at line 237 of file catch.hpp.
◆ TEMPLATE_TEST_CASE
#define TEMPLATE_TEST_CASE |
( |
| ... | ) |
|
Value:
#define INTERNAL_CATCH_TEMPLATE_TEST_CASE(Name, Tags,...)
Definition at line 234 of file catch.hpp.
◆ TEMPLATE_TEST_CASE_METHOD
#define TEMPLATE_TEST_CASE_METHOD |
( |
| className, |
|
|
| ... ) |
Value:
#define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD(ClassName, Name, Tags,...)
Definition at line 235 of file catch.hpp.
◆ TEST_CASE
◆ TEST_CASE_METHOD
#define TEST_CASE_METHOD |
( |
| className, |
|
|
| ... ) |
◆ THEN
◆ UNSCOPED_INFO
#define UNSCOPED_INFO |
( |
| msg | ) |
|
Value:
#define INTERNAL_CATCH_UNSCOPED_INFO(macroName, log)
Definition at line 218 of file catch.hpp.
◆ WARN
◆ WHEN