|
#define | AND_GIVEN(desc) INTERNAL_CATCH_DYNAMIC_SECTION( "And given: " << desc ) |
|
#define | AND_THEN(desc) INTERNAL_CATCH_DYNAMIC_SECTION( " And: " << desc ) |
|
#define | AND_WHEN(desc) INTERNAL_CATCH_DYNAMIC_SECTION( " And when: " << desc ) |
|
#define | ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE() |
|
#define | BENCHMARK(name) for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) |
|
#define | CAPTURE(...) INTERNAL_CATCH_CAPTURE( INTERNAL_CATCH_UNIQUE_NAME(capturer), "CAPTURE",__VA_ARGS__ ) |
|
#define | CATCH_CATCH_ALL if ((false)) |
|
#define | CATCH_CATCH_ANON(type) if ((false)) |
|
#define | CATCH_CONFIG_COUNTER |
|
#define | CATCH_CONFIG_CPP11_TO_STRING |
|
#define | CATCH_CONFIG_DISABLE_EXCEPTIONS |
|
#define | CATCH_CONFIG_POSIX_SIGNALS |
|
#define | CATCH_CONFIG_WCHAR |
|
#define | CATCH_DEFER(id) id CATCH_EMPTY() |
|
#define | CATCH_EMPTY() |
|
#define | CATCH_ENFORCE(condition, msg) do{ if( !(condition) ) CATCH_ERROR( msg ); } while(false) |
|
#define | CATCH_ERROR(msg) Catch::throw_exception(CATCH_PREPARE_EXCEPTION( std::domain_error, msg )) |
|
#define | CATCH_INTERNAL_CHECK_UNIQUE_TYPES(...) static_assert(Catch::is_unique<__VA_ARGS__>::value,"Duplicate type detected in declaration of template test case"); |
|
#define | CATCH_INTERNAL_CONFIG_COUNTER |
|
#define | CATCH_INTERNAL_CONFIG_POSIX_SIGNALS |
|
#define | CATCH_INTERNAL_ERROR(msg) Catch::throw_exception(CATCH_PREPARE_EXCEPTION( std::logic_error, CATCH_INTERNAL_LINEINFO << ": Internal Catch error: " << msg)) |
|
#define | CATCH_INTERNAL_LINEINFO ::Catch::SourceLineInfo( __FILE__, static_cast<std::size_t>( __LINE__ ) ) |
|
#define | CATCH_INTERNAL_STRINGIFY(...) #__VA_ARGS__ |
|
#define | CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS |
|
#define | CATCH_INTERNAL_SUPPRESS_PARENTHESES_WARNINGS |
|
#define | CATCH_INTERNAL_SUPPRESS_UNUSED_WARNINGS |
|
#define | CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS |
|
#define | CATCH_INTERNAL_UNSUPPRESS_PARENTHESES_WARNINGS |
|
#define | CATCH_INTERNAL_UNSUPPRESS_UNUSED_WARNINGS |
|
#define | CATCH_PREPARE_EXCEPTION(type, msg) type( ( Catch::ReusableStringStream() << msg ).str() ) |
|
#define | CATCH_REC_END(...) |
|
#define | CATCH_REC_GET_END(...) CATCH_REC_GET_END1 |
|
#define | CATCH_REC_GET_END1(...) CATCH_REC_GET_END2 |
|
#define | CATCH_REC_GET_END2() 0, CATCH_REC_END |
|
#define | CATCH_REC_LIST(f, ...) CATCH_RECURSE(CATCH_REC_LIST2(f, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) |
|
#define | CATCH_REC_LIST0(f, x, peek, ...) , f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ ) |
|
#define | CATCH_REC_LIST0_UD(f, userdata, x, peek, ...) , f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ ) |
|
#define | CATCH_REC_LIST1(f, x, peek, ...) , f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0) ) ( f, peek, __VA_ARGS__ ) |
|
#define | CATCH_REC_LIST1_UD(f, userdata, x, peek, ...) , f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST0_UD) ) ( f, userdata, peek, __VA_ARGS__ ) |
|
#define | CATCH_REC_LIST2(f, x, peek, ...) f(x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1) ) ( f, peek, __VA_ARGS__ ) |
|
#define | CATCH_REC_LIST2_UD(f, userdata, x, peek, ...) f(userdata, x) CATCH_DEFER ( CATCH_REC_NEXT(peek, CATCH_REC_LIST1_UD) ) ( f, userdata, peek, __VA_ARGS__ ) |
|
#define | CATCH_REC_LIST_UD(f, userdata, ...) CATCH_RECURSE(CATCH_REC_LIST2_UD(f, userdata, __VA_ARGS__, ()()(), ()()(), ()()(), 0)) |
|
#define | CATCH_REC_NEXT(test, next) CATCH_REC_NEXT1(CATCH_REC_GET_END test, next) |
|
#define | CATCH_REC_NEXT0(test, next, ...) next CATCH_REC_OUT |
|
#define | CATCH_REC_NEXT1(test, next) CATCH_DEFER ( CATCH_REC_NEXT0 ) ( test, next, 0) |
|
#define | CATCH_REC_OUT |
|
#define | CATCH_RECURSE(...) CATCH_RECURSION_LEVEL5(__VA_ARGS__) |
|
#define | CATCH_RECURSION_LEVEL0(...) __VA_ARGS__ |
|
#define | CATCH_RECURSION_LEVEL1(...) CATCH_RECURSION_LEVEL0(CATCH_RECURSION_LEVEL0(CATCH_RECURSION_LEVEL0(__VA_ARGS__))) |
|
#define | CATCH_RECURSION_LEVEL2(...) CATCH_RECURSION_LEVEL1(CATCH_RECURSION_LEVEL1(CATCH_RECURSION_LEVEL1(__VA_ARGS__))) |
|
#define | CATCH_RECURSION_LEVEL3(...) CATCH_RECURSION_LEVEL2(CATCH_RECURSION_LEVEL2(CATCH_RECURSION_LEVEL2(__VA_ARGS__))) |
|
#define | CATCH_RECURSION_LEVEL4(...) CATCH_RECURSION_LEVEL3(CATCH_RECURSION_LEVEL3(CATCH_RECURSION_LEVEL3(__VA_ARGS__))) |
|
#define | CATCH_RECURSION_LEVEL5(...) CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(CATCH_RECURSION_LEVEL4(__VA_ARGS__))) |
|
#define | CATCH_REGISTER_TAG_ALIAS(alias, spec) |
|
#define | CATCH_RUNTIME_ERROR(msg) Catch::throw_exception(CATCH_PREPARE_EXCEPTION( std::runtime_error, msg )) |
|
#define | CATCH_TRANSLATE_EXCEPTION(signature) INTERNAL_CATCH_TRANSLATE_EXCEPTION( signature ) |
|
#define | CATCH_TRY if ((true)) |
|
#define | CATCH_VERSION_MAJOR 2 |
|
#define | CATCH_VERSION_MINOR 7 |
|
#define | CATCH_VERSION_PATCH 0 |
|
#define | CHECK(...) INTERNAL_CATCH_TEST( "CHECK", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | CHECK_FALSE(...) INTERNAL_CATCH_TEST( "CHECK_FALSE", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::FalseTest, __VA_ARGS__ ) |
|
#define | CHECK_NOFAIL(...) INTERNAL_CATCH_TEST( "CHECK_NOFAIL", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) |
|
#define | CHECK_NOTHROW(...) INTERNAL_CATCH_NO_THROW( "CHECK_NOTHROW", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | CHECK_THAT(arg, matcher) INTERNAL_CHECK_THAT( "CHECK_THAT", matcher, Catch::ResultDisposition::ContinueOnFailure, arg ) |
|
#define | CHECK_THROWS(...) INTERNAL_CATCH_THROWS( "CHECK_THROWS", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | CHECK_THROWS_AS(expr, exceptionType) INTERNAL_CATCH_THROWS_AS( "CHECK_THROWS_AS", exceptionType, Catch::ResultDisposition::ContinueOnFailure, expr ) |
|
#define | CHECK_THROWS_MATCHES(expr, exceptionType, matcher) INTERNAL_CATCH_THROWS_MATCHES( "CHECK_THROWS_MATCHES", exceptionType, Catch::ResultDisposition::ContinueOnFailure, matcher, expr ) |
|
#define | CHECK_THROWS_WITH(expr, matcher) INTERNAL_CATCH_THROWS_STR_MATCHES( "CHECK_THROWS_WITH", Catch::ResultDisposition::ContinueOnFailure, matcher, expr ) |
|
#define | CHECKED_ELSE(...) INTERNAL_CATCH_ELSE( "CHECKED_ELSE", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | CHECKED_IF(...) INTERNAL_CATCH_IF( "CHECKED_IF", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | DYNAMIC_SECTION(...) INTERNAL_CATCH_DYNAMIC_SECTION( __VA_ARGS__ ) |
|
#define | FAIL(...) INTERNAL_CATCH_MSG( "FAIL", Catch::ResultWas::ExplicitFailure, Catch::ResultDisposition::Normal, __VA_ARGS__ ) |
|
#define | FAIL_CHECK(...) INTERNAL_CATCH_MSG( "FAIL_CHECK", Catch::ResultWas::ExplicitFailure, Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | GENERATE(...) Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, []{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) |
|
#define | GIVEN(desc) INTERNAL_CATCH_DYNAMIC_SECTION( " Given: " << desc ) |
|
#define | INFO(msg) INTERNAL_CATCH_INFO( "INFO", msg ) |
|
#define | INTERNAL_CATCH_CAPTURE(varName, macroName, ...) |
|
#define | INTERNAL_CATCH_CATCH(capturer) |
|
#define | INTERNAL_CATCH_DEF(...) INTERNAL_CATCH_DEF __VA_ARGS__ |
|
#define | INTERNAL_CATCH_DYNAMIC_SECTION(...) |
|
#define | INTERNAL_CATCH_ELSE(macroName, resultDisposition, ...) |
|
#define | INTERNAL_CATCH_EXPAND1(param) INTERNAL_CATCH_EXPAND2(param) |
|
#define | INTERNAL_CATCH_EXPAND2(...) INTERNAL_CATCH_NO## __VA_ARGS__ |
|
#define | INTERNAL_CATCH_IF(macroName, resultDisposition, ...) |
|
#define | INTERNAL_CATCH_INFO(macroName, log) Catch::ScopedMessage INTERNAL_CATCH_UNIQUE_NAME( scopedMessage )( Catch::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log ); |
|
#define | INTERNAL_CATCH_MAKE_TYPE_LIST(types) Catch::TypeList<INTERNAL_CATCH_REMOVE_PARENS(types)> |
|
#define | INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES(types) CATCH_REC_LIST(INTERNAL_CATCH_MAKE_TYPE_LIST,INTERNAL_CATCH_REMOVE_PARENS(types)) |
|
#define | INTERNAL_CATCH_METHOD_AS_TEST_CASE(QualifiedMethod, ...) |
|
#define | INTERNAL_CATCH_MSG(macroName, messageType, resultDisposition, ...) |
|
#define | INTERNAL_CATCH_NO_THROW(macroName, resultDisposition, ...) |
|
#define | INTERNAL_CATCH_NOINTERNAL_CATCH_DEF |
|
#define | INTERNAL_CATCH_REACT(handler) handler.complete(); |
|
#define | INTERNAL_CATCH_REGISTER_TESTCASE(Function, ...) |
|
#define | INTERNAL_CATCH_REMOVE_PARENS(...) INTERNAL_CATCH_EXPAND1(INTERNAL_CATCH_DEF __VA_ARGS__) |
|
#define | INTERNAL_CATCH_SECTION(...) |
|
#define | INTERNAL_CATCH_STRINGIZE(...) INTERNAL_CATCH_STRINGIZE2(__VA_ARGS__) |
|
#define | INTERNAL_CATCH_STRINGIZE2(...) #__VA_ARGS__ |
|
#define | INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS(param) INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_REMOVE_PARENS(param)) |
|
#define | INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE(Name, Tags, ...) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE2(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ),Name,Tags,__VA_ARGS__) |
|
#define | INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE2(TestName, TestFuncName, Name, Tags, TmplTypes, TypesList) |
|
#define | INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD(ClassName, Name, Tags, ...) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), ClassName, Name, Tags, __VA_ARGS__ ) |
|
#define | INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD_2(TestNameClass, TestName, ClassName, Name, Tags, TmplTypes, TypesList) |
|
#define | INTERNAL_CATCH_TEMPLATE_REGISTRY_INITIATE(TestName, Name, ...) |
|
#define | INTERNAL_CATCH_TEMPLATE_TEST_CASE(Name, Tags, ...) INTERNAL_CATCH_TEMPLATE_TEST_CASE_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, __VA_ARGS__ ) |
|
#define | INTERNAL_CATCH_TEMPLATE_TEST_CASE_2(TestName, TestFunc, Name, Tags, ...) |
|
#define | INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD(ClassName, Name, Tags, ...) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____C_L_A_S_S____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) , ClassName, Name, Tags, __VA_ARGS__ ) |
|
#define | INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_2(TestNameClass, TestName, ClassName, Name, Tags, ...) |
|
#define | INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME(Name, ...) INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME2(Name, INTERNAL_CATCH_REMOVE_PARENS(__VA_ARGS__)) |
|
#define | INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME2(Name, ...) INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME3(Name, __VA_ARGS__) |
|
#define | INTERNAL_CATCH_TEMPLATE_UNIQUE_NAME3(Name, ...) Name " - " #__VA_ARGS__ |
|
#define | INTERNAL_CATCH_TEST(macroName, resultDisposition, ...) |
|
#define | INTERNAL_CATCH_TEST_CASE_METHOD(ClassName, ...) INTERNAL_CATCH_TEST_CASE_METHOD2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), ClassName, __VA_ARGS__ ) |
|
#define | INTERNAL_CATCH_TEST_CASE_METHOD2(TestName, ClassName, ...) |
|
#define | INTERNAL_CATCH_TESTCASE(...) INTERNAL_CATCH_TESTCASE2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), __VA_ARGS__ ) |
|
#define | INTERNAL_CATCH_TESTCASE2(TestName, ...) |
|
#define | INTERNAL_CATCH_THROWS(macroName, resultDisposition, ...) |
|
#define | INTERNAL_CATCH_THROWS_AS(macroName, exceptionType, resultDisposition, expr) |
|
#define | INTERNAL_CATCH_THROWS_MATCHES(macroName, exceptionType, resultDisposition, matcher, ...) |
|
#define | INTERNAL_CATCH_THROWS_STR_MATCHES(macroName, resultDisposition, matcher, ...) |
|
#define | INTERNAL_CATCH_TRANSLATE_EXCEPTION(signature) INTERNAL_CATCH_TRANSLATE_EXCEPTION2( INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator ), signature ) |
|
#define | INTERNAL_CATCH_TRANSLATE_EXCEPTION2(translatorName, signature) |
|
#define | INTERNAL_CATCH_TRY |
|
#define | INTERNAL_CATCH_UNIQUE_NAME(name) INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __COUNTER__ ) |
|
#define | INTERNAL_CATCH_UNIQUE_NAME_LINE(name, line) INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) |
|
#define | INTERNAL_CATCH_UNIQUE_NAME_LINE2(name, line) name##line |
|
#define | INTERNAL_CATCH_UNSCOPED_INFO(macroName, log) Catch::getResultCapture().emplaceUnscopedMessage( Catch::MessageBuilder( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log ) |
|
#define | INTERNAL_CHECK_THAT(macroName, matcher, resultDisposition, arg) |
|
#define | METHOD_AS_TEST_CASE(method, ...) INTERNAL_CATCH_METHOD_AS_TEST_CASE( method, __VA_ARGS__ ) |
|
#define | REGISTER_TEST_CASE(Function, ...) INTERNAL_CATCH_REGISTER_TESTCASE( Function, __VA_ARGS__ ) |
|
#define | REQUIRE(...) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__ ) |
|
#define | REQUIRE_FALSE(...) INTERNAL_CATCH_TEST( "REQUIRE_FALSE", Catch::ResultDisposition::Normal | Catch::ResultDisposition::FalseTest, __VA_ARGS__ ) |
|
#define | REQUIRE_NOTHROW(...) INTERNAL_CATCH_NO_THROW( "REQUIRE_NOTHROW", Catch::ResultDisposition::Normal, __VA_ARGS__ ) |
|
#define | REQUIRE_THAT(arg, matcher) INTERNAL_CHECK_THAT( "REQUIRE_THAT", matcher, Catch::ResultDisposition::Normal, arg ) |
|
#define | REQUIRE_THROWS(...) INTERNAL_CATCH_THROWS( "REQUIRE_THROWS", Catch::ResultDisposition::Normal, __VA_ARGS__ ) |
|
#define | REQUIRE_THROWS_AS(expr, exceptionType) INTERNAL_CATCH_THROWS_AS( "REQUIRE_THROWS_AS", exceptionType, Catch::ResultDisposition::Normal, expr ) |
|
#define | REQUIRE_THROWS_MATCHES(expr, exceptionType, matcher) INTERNAL_CATCH_THROWS_MATCHES( "REQUIRE_THROWS_MATCHES", exceptionType, Catch::ResultDisposition::Normal, matcher, expr ) |
|
#define | REQUIRE_THROWS_WITH(expr, matcher) INTERNAL_CATCH_THROWS_STR_MATCHES( "REQUIRE_THROWS_WITH", Catch::ResultDisposition::Normal, matcher, expr ) |
|
#define | SCENARIO(...) TEST_CASE( "Scenario: " __VA_ARGS__ ) |
|
#define | SCENARIO_METHOD(className, ...) INTERNAL_CATCH_TEST_CASE_METHOD( className, "Scenario: " __VA_ARGS__ ) |
|
#define | SECTION(...) INTERNAL_CATCH_SECTION( __VA_ARGS__ ) |
|
#define | STATIC_REQUIRE(...) static_assert( __VA_ARGS__, #__VA_ARGS__ ); SUCCEED( #__VA_ARGS__ ) |
|
#define | STATIC_REQUIRE_FALSE(...) static_assert( !(__VA_ARGS__), "!(" #__VA_ARGS__ ")" ); SUCCEED( "!(" #__VA_ARGS__ ")" ) |
|
#define | SUCCEED(...) INTERNAL_CATCH_MSG( "SUCCEED", Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) |
|
#define | TEMPLATE_PRODUCT_TEST_CASE(...) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) |
|
#define | TEMPLATE_PRODUCT_TEST_CASE_METHOD(className, ...) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) |
|
#define | TEMPLATE_TEST_CASE(...) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) |
|
#define | TEMPLATE_TEST_CASE_METHOD(className, ...) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) |
|
#define | TEST_CASE(...) INTERNAL_CATCH_TESTCASE( __VA_ARGS__ ) |
|
#define | TEST_CASE_METHOD(className, ...) INTERNAL_CATCH_TEST_CASE_METHOD( className, __VA_ARGS__ ) |
|
#define | THEN(desc) INTERNAL_CATCH_DYNAMIC_SECTION( " Then: " << desc ) |
|
#define | UNSCOPED_INFO(msg) INTERNAL_CATCH_UNSCOPED_INFO( "UNSCOPED_INFO", msg ) |
|
#define | WARN(msg) INTERNAL_CATCH_MSG( "WARN", Catch::ResultWas::Warning, Catch::ResultDisposition::ContinueOnFailure, msg ) |
|
#define | WHEN(desc) INTERNAL_CATCH_DYNAMIC_SECTION( " When: " << desc ) |
|
|
auto | Catch::Generators::acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker & |
|
std::ostream & | Catch::cerr () |
|
template<typename T > |
GeneratorWrapper< std::vector< T > > | Catch::Generators::chunk (size_t size, GeneratorWrapper< T > &&generator) |
|
void | Catch::cleanUp () |
|
void | Catch::cleanUpContext () |
|
std::ostream & | Catch::clog () |
|
template<typename LhsT , typename RhsT > |
auto | Catch::compareEqual (LhsT const &lhs, RhsT const &rhs) -> bool |
|
template<typename T > |
auto | Catch::compareEqual (T *const &lhs, int rhs) -> bool |
|
template<typename T > |
auto | Catch::compareEqual (T *const &lhs, long rhs) -> bool |
|
template<typename T > |
auto | Catch::compareEqual (int lhs, T *const &rhs) -> bool |
|
template<typename T > |
auto | Catch::compareEqual (long lhs, T *const &rhs) -> bool |
|
template<typename LhsT , typename RhsT > |
auto | Catch::compareNotEqual (LhsT const &lhs, RhsT &&rhs) -> bool |
|
template<typename T > |
auto | Catch::compareNotEqual (T *const &lhs, int rhs) -> bool |
|
template<typename T > |
auto | Catch::compareNotEqual (T *const &lhs, long rhs) -> bool |
|
template<typename T > |
auto | Catch::compareNotEqual (int lhs, T *const &rhs) -> bool |
|
template<typename T > |
auto | Catch::compareNotEqual (long lhs, T *const &rhs) -> bool |
|
bool | Catch::contains (std::string const &s, std::string const &infix) |
|
StdString::ContainsMatcher | Catch::Matchers::Contains (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes) |
|
template<typename InputIterator , typename T > |
bool | Catch::Matchers::Vector::Detail::contains (InputIterator first, InputIterator last, T const &item) |
|
template<typename T > |
Vector::ContainsMatcher< T > | Catch::Matchers::Contains (std::vector< T > const &comparator) |
|
template<typename E > |
std::string | Catch::Detail::convertUnknownEnumToString (E e) |
|
template<typename T > |
std::enable_if< !std::is_enum< T >::value &&!std::is_base_of< std::exception, T >::value, std::string >::type | Catch::Detail::convertUnstreamable (T const &) |
|
template<typename T > |
std::enable_if< !std::is_enum< T >::value &&std::is_base_of< std::exception, T >::value, std::string >::type | Catch::Detail::convertUnstreamable (T const &ex) |
|
template<typename T > |
std::enable_if< std::is_enum< T >::value, std::string >::type | Catch::Detail::convertUnstreamable (T const &value) |
|
template<typename InputIterator , typename T > |
size_t | Catch::Matchers::Vector::Detail::count (InputIterator first, InputIterator last, T const &item) |
|
std::ostream & | Catch::cout () |
|
bool | Catch::endsWith (std::string const &s, std::string const &suffix) |
|
bool | Catch::endsWith (std::string const &s, char suffix) |
|
StdString::EndsWithMatcher | Catch::Matchers::EndsWith (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes) |
|
StdString::EqualsMatcher | Catch::Matchers::Equals (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes) |
|
template<typename T > |
Vector::EqualsMatcher< T > | Catch::Matchers::Equals (std::vector< T > const &comparator) |
|
template<typename T , typename Predicate > |
GeneratorWrapper< T > | Catch::Generators::filter (Predicate &&pred, GeneratorWrapper< T > &&generator) |
|
std::vector< TestCase > | Catch::filterTests (std::vector< TestCase > const &testCases, TestSpec const &testSpec, IConfig const &config) |
|
std::string | Catch::Matchers::Generic::Detail::finalizeDescription (const std::string &desc) |
|
void | Catch::formatReconstructedExpression (std::ostream &os, std::string const &lhs, StringRef op, std::string const &rhs) |
|
template<typename L > |
auto | Catch::Generators::generate (SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>().get()) |
|
std::vector< TestCase > const & | Catch::getAllTestCasesSorted (IConfig const &config) |
|
IContext & | Catch::getCurrentContext () |
|
IMutableContext & | Catch::getCurrentMutableContext () |
|
auto | Catch::getCurrentNanosecondsSinceEpoch () -> uint64_t |
|
auto | Catch::getEstimatedClockResolution () -> uint64_t |
|
IMutableRegistryHub & | Catch::getMutableRegistryHub () |
|
IRegistryHub const & | Catch::getRegistryHub () |
|
IResultCapture & | Catch::getResultCapture () |
|
void | Catch::handleExceptionMatchExpr (AssertionHandler &handler, std::string const &str, StringRef const &matcherString) |
|
void | Catch::handleExceptionMatchExpr (AssertionHandler &handler, StringMatcher const &matcher, StringRef const &matcherString) |
|
void | Catch::handleExpression (ITransientExpression const &expr) |
|
template<typename T > |
void | Catch::handleExpression (ExprLhs< T > const &expr) |
|
bool | Catch::isFalseTest (int flags) |
|
bool | Catch::isJustInfo (int flags) |
|
bool | Catch::isOk (ResultWas::OfType resultType) |
|
template<typename T , typename... Args> |
std::unique_ptr< T > | Catch::Generators::pf::make_unique (Args &&... args) |
|
template<typename T , typename... Gs> |
auto | Catch::Generators::makeGenerators (GeneratorWrapper< T > &&generator, Gs... moreGenerators) -> Generators< T > |
|
template<typename T > |
auto | Catch::Generators::makeGenerators (GeneratorWrapper< T > &&generator) -> Generators< T > |
|
template<typename T , typename... Gs> |
auto | Catch::Generators::makeGenerators (T &&val, Gs... moreGenerators) -> Generators< T > |
|
template<typename T , typename U , typename... Gs> |
auto | Catch::Generators::makeGenerators (as< T >, U &&val, Gs... moreGenerators) -> Generators< T > |
|
template<typename ArgT , typename MatcherT > |
auto | Catch::makeMatchExpr (ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString) -> MatchExpr< ArgT, MatcherT > |
|
auto | Catch::makeStream (StringRef const &filename) -> IStream const * |
|
TestCase | Catch::makeTestCase (ITestInvoker *testCase, std::string const &className, NameAndTags const &nameAndTags, SourceLineInfo const &lineInfo) |
|
auto | Catch::makeTestInvoker (void(*testAsFunction)()) noexcept -> ITestInvoker * |
|
template<typename C > |
auto | Catch::makeTestInvoker (void(C::*testAsMethod)()) noexcept -> ITestInvoker * |
|
template<typename T , typename U , typename Func > |
GeneratorWrapper< T > | Catch::Generators::map (Func &&function, GeneratorWrapper< U > &&generator) |
|
template<typename T , typename Func > |
GeneratorWrapper< T > | Catch::Generators::map (Func &&function, GeneratorWrapper< T > &&generator) |
|
StdString::RegexMatcher | Catch::Matchers::Matches (std::string const ®ex, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes) |
|
bool | Catch::matchTest (TestCase const &testCase, TestSpec const &testSpec, IConfig const &config) |
|
Detail::Approx | Catch::literals::operator"" _a (long double val) |
|
Detail::Approx | Catch::literals::operator"" _a (unsigned long long val) |
|
auto | operator"" _catch_sr (char const *rawChars, std::size_t size) noexcept -> Catch::StringRef |
|
auto | Catch::operator"" _sr (char const *rawChars, std::size_t size) noexcept -> StringRef |
|
template<typename T > |
T const & | Catch::operator+ (T const &value, StreamEndStop) |
|
auto | Catch::operator+ (StringRef const &lhs, StringRef const &rhs) -> std::string |
|
auto | Catch::operator+ (StringRef const &lhs, char const *rhs) -> std::string |
|
auto | Catch::operator+ (char const *lhs, StringRef const &rhs) -> std::string |
|
auto | Catch::operator+= (std::string &lhs, StringRef const &sr) -> std::string & |
|
std::ostream & | operator<< (std::ostream &, Catch_global_namespace_dummy) |
|
std::ostream & | Catch::operator<< (std::ostream &os, SourceLineInfo const &info) |
|
auto | Catch::operator<< (std::ostream &os, StringRef const &sr) -> std::ostream & |
|
ResultDisposition::Flags | Catch::operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs) |
|
template<typename T > |
Generic::PredicateMatcher< T > | Catch::Matchers::Predicate (std::function< bool(T const &)> const &predicate, std::string const &description="") |
|
template<typename T > |
std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, GeneratorWrapper< T > >::type | Catch::Generators::random (T a, T b) |
|
template<typename T > |
std::enable_if< std::is_floating_point< T >::value, GeneratorWrapper< T > >::type | Catch::Generators::random (T a, T b) |
|
template<typename T > |
GeneratorWrapper< T > | Catch::Generators::range (T const &start, T const &end, T const &step) |
|
template<typename T > |
GeneratorWrapper< T > | Catch::Generators::range (T const &start, T const &end) |
|
template<typename InputIterator > |
std::string | Catch::Detail::rangeToString (InputIterator first, InputIterator last) |
|
template<typename Range > |
std::string | Catch::rangeToString (Range const &range) |
|
template<typename Allocator > |
std::string | Catch::rangeToString (std::vector< bool, Allocator > const &v) |
|
std::string | Catch::Detail::rawMemoryToString (const void *object, std::size_t size) |
|
template<typename T > |
std::string | Catch::Detail::rawMemoryToString (const T &object) |
|
template<typename T > |
GeneratorWrapper< T > | Catch::Generators::repeat (size_t repeats, GeneratorWrapper< T > &&generator) |
|
bool | Catch::replaceInPlace (std::string &str, std::string const &replaceThis, std::string const &withThis) |
|
unsigned int | Catch::rngSeed () |
|
bool | Catch::shouldContinueOnFailure (int flags) |
|
bool | Catch::shouldSuppressFailure (int flags) |
|
bool | Catch::startsWith (std::string const &s, std::string const &prefix) |
|
bool | Catch::startsWith (std::string const &s, char prefix) |
|
StdString::StartsWithMatcher | Catch::Matchers::StartsWith (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes) |
|
template<typename T > |
std::string | Catch::Detail::stringify (const T &e) |
|
template<typename... Ts> |
GeneratorWrapper< std::tuple< Ts... > > | Catch::Generators::table (std::initializer_list< std::tuple< typename std::decay< Ts >::type... >> tuples) |
|
template<typename T > |
GeneratorWrapper< T > | Catch::Generators::take (size_t target, GeneratorWrapper< T > &&generator) |
|
void | Catch::throw_exception (std::exception const &e) |
|
std::string | Catch::toLower (std::string const &s) |
|
void | Catch::toLowerInPlace (std::string &s) |
|
std::string | Catch::translateActiveException () |
|
std::string | Catch::trim (std::string const &str) |
|
template<typename T > |
Vector::UnorderedEqualsMatcher< T > | Catch::Matchers::UnorderedEquals (std::vector< T > const &target) |
|
template<typename T > |
GeneratorWrapper< T > | Catch::Generators::value (T &&value) |
|
template<typename T > |
GeneratorWrapper< T > | Catch::Generators::values (std::initializer_list< T > values) |
|
template<typename T > |
Vector::ContainsElementMatcher< T > | Catch::Matchers::VectorContains (T const &comparator) |
|
Floating::WithinAbsMatcher | Catch::Matchers::WithinAbs (double target, double margin) |
|
Floating::WithinUlpsMatcher | Catch::Matchers::WithinULP (double target, int maxUlpDiff) |
|
Floating::WithinUlpsMatcher | Catch::Matchers::WithinULP (float target, int maxUlpDiff) |
|