Fraxinus  22.04-rc3
An IGT application
catch.hpp File Reference
#include <sstream>
#include <stdexcept>
#include <algorithm>
#include <ostream>
#include <string>
#include <memory>
#include <vector>
#include <stdlib.h>
#include <iomanip>
#include <limits>
#include <cstddef>
#include <iostream>
#include <set>
#include <map>
#include <streambuf>
#include <cstdio>
#include <assert.h>
#include <stdint.h>
#include <iterator>
#include <cmath>
#include <fstream>
#include <unistd.h>
#include <sys/time.h>

Go to the source code of this file.

Classes

class  Catch::NonCopyable
 
class  Catch::SafeBool
 
struct  Catch::pluralise
 
struct  Catch::SourceLineInfo
 
class  Catch::NotImplementedException
 
struct  Catch::IGeneratorInfo
 
struct  Catch::IGeneratorsForTest
 
class  Catch::Ptr< T >
 
struct  Catch::IShared
 
struct  Catch::SharedImpl< T >
 
struct  Catch::IContext
 
struct  Catch::IMutableContext
 
struct  Catch::ITestCase
 
struct  Catch::ITestCaseRegistry
 
class  Catch::MethodTestCase< C >
 
struct  Catch::NameAndDesc
 
struct  Catch::AutoReg
 
struct  Catch::TrueType
 
struct  Catch::FalseType
 
struct  Catch::Detail::BorgType
 
struct  Catch::Detail::IsStreamInsertable< T >
 
struct  Catch::Detail::StringMakerBase< C >
 
struct  Catch::Detail::StringMakerBase< true >
 
struct  Catch::StringMaker< T >
 
struct  Catch::StringMaker< T * >
 
struct  Catch::StringMaker< std::vector< T > >
 
struct  Catch::ResultWas
 
struct  Catch::ResultAction
 
struct  Catch::ResultDisposition
 
struct  Catch::AssertionInfo
 
struct  Catch::AssertionResultData
 
class  Catch::AssertionResult
 
struct  Catch::Internal::OperatorTraits< Op >
 
struct  Catch::Internal::OperatorTraits< IsEqualTo >
 
struct  Catch::Internal::OperatorTraits< IsNotEqualTo >
 
struct  Catch::Internal::OperatorTraits< IsLessThan >
 
struct  Catch::Internal::OperatorTraits< IsGreaterThan >
 
struct  Catch::Internal::OperatorTraits< IsLessThanOrEqualTo >
 
struct  Catch::Internal::OperatorTraits< IsGreaterThanOrEqualTo >
 
class  Catch::Internal::Evaluator< T1, T2, Op >
 
struct  Catch::Internal::Evaluator< T1, T2, IsEqualTo >
 
struct  Catch::Internal::Evaluator< T1, T2, IsNotEqualTo >
 
struct  Catch::Internal::Evaluator< T1, T2, IsLessThan >
 
struct  Catch::Internal::Evaluator< T1, T2, IsGreaterThan >
 
struct  Catch::Internal::Evaluator< T1, T2, IsGreaterThanOrEqualTo >
 
struct  Catch::Internal::Evaluator< T1, T2, IsLessThanOrEqualTo >
 
class  Catch::ExpressionResultBuilder
 
class  Catch::ExpressionLhs< T >
 
class  Catch::ExpressionDecomposer
 
struct  Catch::MessageInfo
 
struct  Catch::MessageBuilder
 
class  Catch::ScopedMessage
 
struct  Catch::Counts
 
struct  Catch::Totals
 
struct  Catch::IResultCapture
 
struct  Catch::TestCaseInfo
 
class  Catch::TestCase
 
class  Catch::TagParser
 
class  Catch::TagExtracter
 
class  Catch::Tag
 
class  Catch::TagSet
 
class  Catch::TagExpression
 
class  Catch::TagExpressionParser
 
struct  Catch::IfFilterMatches
 
class  Catch::TestCaseFilter
 
class  Catch::TestCaseFilters
 
struct  Catch::Verbosity
 
struct  Catch::WarnAbout
 
struct  Catch::ShowDurations
 
struct  Catch::IConfig
 
class  Catch::StreamBufBase
 
class  Catch::StreamBufImpl< WriterF, bufferSize >
 
struct  Catch::OutputDebugWriter
 
class  Catch::Stream
 
struct  Catch::ConfigData
 
class  Catch::Config
 
class  Catch::Option< T >
 
struct  Catch::ReporterConfig
 
struct  Catch::ReporterPreferences
 
struct  Catch::LazyStat< T >
 
struct  Catch::TestRunInfo
 
struct  Catch::GroupInfo
 
struct  Catch::SectionInfo
 
struct  Catch::AssertionStats
 
struct  Catch::SectionStats
 
struct  Catch::TestCaseStats
 
struct  Catch::TestGroupStats
 
struct  Catch::TestRunStats
 
struct  Catch::IStreamingReporter
 
struct  Catch::StreamingReporterBase
 
struct  Catch::CumulativeReporterBase
 
struct  Catch::CumulativeReporterBase::Node< T, ChildNodeT >
 
struct  Catch::CumulativeReporterBase::SectionNode
 
struct  Catch::IReporter
 
struct  Catch::IReporterFactory
 
struct  Catch::IReporterRegistry
 
struct  Catch::IRegistryHub
 
struct  Catch::IMutableRegistryHub
 
struct  Catch::TestFailureException
 
class  Catch::Timer
 
class  Catch::Section
 
struct  Catch::IGenerator< T >
 
class  Catch::BetweenGenerator< T >
 
class  Catch::ValuesGenerator< T >
 
class  Catch::CompositeGenerator< T >
 
struct  Catch::IExceptionTranslator
 
struct  Catch::IExceptionTranslatorRegistry
 
class  Catch::ExceptionTranslatorRegistrar
 
class  Catch::Detail::Approx
 
struct  Catch::Matchers::Impl::Matcher< ExpressionT >
 
struct  Catch::Matchers::Impl::MatcherImpl< DerivedT, ExpressionT >
 
class  Catch::Matchers::Impl::Generic::AllOf< ExpressionT >
 
class  Catch::Matchers::Impl::Generic::AnyOf< ExpressionT >
 
struct  Catch::Matchers::Impl::StdString::Equals
 
struct  Catch::Matchers::Impl::StdString::Contains
 
struct  Catch::Matchers::Impl::StdString::StartsWith
 
struct  Catch::Matchers::Impl::StdString::EndsWith
 
struct  Catch::IRunner
 

Namespaces

 Catch
 
 Catch::Detail
 
 Catch::Internal
 
 Catch::Generators
 
 Catch::Matchers
 
 Catch::Matchers::Impl
 
 Catch::Matchers::Impl::Generic
 
 Catch::Matchers::Impl::StdString
 

Macros

#define TWOBLUECUBES_CATCH_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_COMMON_H_INCLUDED
 
#define INTERNAL_CATCH_UNIQUE_NAME_LINE2(name, line)   name##line
 
#define INTERNAL_CATCH_UNIQUE_NAME_LINE(name, line)   INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line )
 
#define INTERNAL_CATCH_UNIQUE_NAME(name)   INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __LINE__ )
 
#define INTERNAL_CATCH_STRINGIFY2(expr)   #expr
 
#define INTERNAL_CATCH_STRINGIFY(expr)   INTERNAL_CATCH_STRINGIFY2( expr )
 
#define TWOBLUECUBES_CATCH_COMPILER_CAPABILITIES_HPP_INCLUDED
 
#define CATCH_INTERNAL_LINEINFO   ::Catch::SourceLineInfo( __FILE__, static_cast<std::size_t>( __LINE__ ) )
 
#define CATCH_INTERNAL_ERROR(msg)   ::Catch::throwLogicError( msg, CATCH_INTERNAL_LINEINFO );
 
#define CATCH_NOT_IMPLEMENTED   throw Catch::NotImplementedException( CATCH_INTERNAL_LINEINFO )
 
#define TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_GENERATORS_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_PTR_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_TEST_REGISTRY_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_TESTCASE_H_INCLUDED
 
#define INTERNAL_CATCH_TESTCASE(Name, Desc)
 
#define INTERNAL_CATCH_METHOD_AS_TEST_CASE(QualifiedMethod, Name, Desc)   namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &QualifiedMethod, "&" #QualifiedMethod, Catch::NameAndDesc( Name, Desc ), CATCH_INTERNAL_LINEINFO ); }
 
#define INTERNAL_CATCH_TEST_CASE_METHOD(ClassName, TestName, Desc)
 
#define TWOBLUECUBES_CATCH_CAPTURE_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_EXPRESSION_DECOMPOSER_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_EXPRESSION_LHS_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_ASSERTIONRESULT_BUILDER_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_TOSTRING_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_SFINAE_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_ASSERTIONRESULT_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_RESULT_TYPE_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_EVALUATE_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_MESSAGE_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_CAPTURE_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_TOTALS_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_DEBUGGER_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_PLATFORM_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_CONFIG_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_TEST_SPEC_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_TEST_CASE_INFO_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_TAGS_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED
 
#define TWOBLUECUBES_CATCH_STREAM_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED
 
#define CATCH_CONFIG_CONSOLE_WIDTH   80
 
#define TWOBLUECUBES_CATCH_OPTION_HPP_INCLUDED
 
#define INTERNAL_CATCH_ASSERTIONINFO_NAME   INTERNAL_CATCH_UNIQUE_NAME( __assertionInfo )
 
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
 
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)   Catch::AssertionInfo INTERNAL_CATCH_ASSERTIONINFO_NAME( macroName, CATCH_INTERNAL_LINEINFO, expr, resultDisposition );
 
#define INTERNAL_CATCH_TEST(expr, resultDisposition, macroName)
 
#define INTERNAL_CATCH_IF(expr, resultDisposition, macroName)
 
#define INTERNAL_CATCH_ELSE(expr, resultDisposition, macroName)
 
#define INTERNAL_CATCH_NO_THROW(expr, resultDisposition, macroName)
 
#define INTERNAL_CATCH_THROWS_IMPL(expr, exceptionType, resultDisposition)
 
#define INTERNAL_CATCH_THROWS(expr, exceptionType, resultDisposition, macroName)
 
#define INTERNAL_CATCH_THROWS_AS(expr, exceptionType, resultDisposition, macroName)
 
#define INTERNAL_CATCH_MSG(log, messageType, resultDisposition, macroName)
 
#define INTERNAL_CATCH_INFO(log, macroName)   Catch::ScopedMessage INTERNAL_CATCH_UNIQUE_NAME( scopedMessage ) = Catch::MessageBuilder( macroName, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log;
 
#define INTERNAL_CHECK_THAT(arg, matcher, resultDisposition, macroName)
 
#define TWOBLUECUBES_CATCH_SECTION_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_TIMER_H_INCLUDED
 
#define INTERNAL_CATCH_SECTION(name, desc)   if( Catch::Section INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::Section( CATCH_INTERNAL_LINEINFO, name, desc ) )
 
#define TWOBLUECUBES_CATCH_GENERATORS_HPP_INCLUDED
 
#define INTERNAL_CATCH_LINESTR2(line)   #line
 
#define INTERNAL_CATCH_LINESTR(line)   INTERNAL_CATCH_LINESTR2( line )
 
#define INTERNAL_CATCH_GENERATE(expr)   expr.setFileInfo( __FILE__ "(" INTERNAL_CATCH_LINESTR( __LINE__ ) ")" )
 
#define TWOBLUECUBES_CATCH_INTERFACES_EXCEPTION_H_INCLUDED
 
#define INTERNAL_CATCH_TRANSLATE_EXCEPTION(signature)
 
#define TWOBLUECUBES_CATCH_APPROX_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_MATCHERS_HPP_INCLUDED
 
#define TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED
 
#define REQUIRE(expr)   INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::Normal, "REQUIRE" )
 
#define REQUIRE_FALSE(expr)   INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::Normal | Catch::ResultDisposition::NegateResult, "REQUIRE_FALSE" )
 
#define REQUIRE_THROWS(expr)   INTERNAL_CATCH_THROWS( expr, ..., Catch::ResultDisposition::Normal, "REQUIRE_THROWS" )
 
#define REQUIRE_THROWS_AS(expr, exceptionType)   INTERNAL_CATCH_THROWS_AS( expr, exceptionType, Catch::ResultDisposition::Normal, "REQUIRE_THROWS_AS" )
 
#define REQUIRE_NOTHROW(expr)   INTERNAL_CATCH_NO_THROW( expr, Catch::ResultDisposition::Normal, "REQUIRE_NOTHROW" )
 
#define CHECK(expr)   INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECK" )
 
#define CHECK_FALSE(expr)   INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::NegateResult, "CHECK_FALSE" )
 
#define CHECKED_IF(expr)   INTERNAL_CATCH_IF( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECKED_IF" )
 
#define CHECKED_ELSE(expr)   INTERNAL_CATCH_ELSE( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECKED_ELSE" )
 
#define CHECK_NOFAIL(expr)   INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, "CHECK_NOFAIL" )
 
#define CHECK_THROWS(expr)   INTERNAL_CATCH_THROWS( expr, ..., Catch::ResultDisposition::ContinueOnFailure, "CHECK_THROWS" )
 
#define CHECK_THROWS_AS(expr, exceptionType)   INTERNAL_CATCH_THROWS_AS( expr, exceptionType, Catch::ResultDisposition::ContinueOnFailure, "CHECK_THROWS_AS" )
 
#define CHECK_NOTHROW(expr)   INTERNAL_CATCH_NO_THROW( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECK_NOTHROW" )
 
#define CHECK_THAT(arg, matcher)   INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::ContinueOnFailure, "CHECK_THAT" )
 
#define REQUIRE_THAT(arg, matcher)   INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::Normal, "REQUIRE_THAT" )
 
#define INFO(msg)   INTERNAL_CATCH_INFO( msg, "INFO" )
 
#define WARN(msg)   INTERNAL_CATCH_MSG( msg, Catch::ResultWas::Warning, Catch::ResultDisposition::ContinueOnFailure, "WARN" )
 
#define FAIL(msg)   INTERNAL_CATCH_MSG( msg, Catch::ResultWas::ExplicitFailure, Catch::ResultDisposition::Normal, "FAIL" )
 
#define SUCCEED(msg)   INTERNAL_CATCH_MSG( msg, Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, "SUCCEED" )
 
#define SCOPED_INFO(msg)   INTERNAL_CATCH_INFO( msg, "INFO" )
 
#define CAPTURE(msg)   INTERNAL_CATCH_INFO( #msg " := " << msg, "CAPTURE" )
 
#define SCOPED_CAPTURE(msg)   INTERNAL_CATCH_INFO( #msg " := " << msg, "CAPTURE" )
 
#define TEST_CASE(name, description)   INTERNAL_CATCH_TESTCASE( name, description )
 
#define TEST_CASE_METHOD(className, name, description)   INTERNAL_CATCH_TEST_CASE_METHOD( className, name, description )
 
#define METHOD_AS_TEST_CASE(method, name, description)   INTERNAL_CATCH_METHOD_AS_TEST_CASE( method, name, description )
 
#define SECTION(name, description)   INTERNAL_CATCH_SECTION( name, description )
 
#define ANON_TEST_CASE()   INTERNAL_CATCH_TESTCASE( "", "" )
 
#define REGISTER_REPORTER(name, reporterType)   INTERNAL_CATCH_REGISTER_REPORTER( name, reporterType )
 
#define REGISTER_LEGACY_REPORTER(name, reporterType)   INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( name, reporterType )
 
#define GENERATE(expr)   INTERNAL_CATCH_GENERATE( expr )
 
#define CATCH_TRANSLATE_EXCEPTION(signature)   INTERNAL_CATCH_TRANSLATE_EXCEPTION( signature )
 
#define SCENARIO(name, tags)   TEST_CASE( "Scenario: " name, tags )
 
#define GIVEN(desc)   SECTION( " Given: " desc, "" )
 
#define WHEN(desc)   SECTION( " When: " desc, "" )
 
#define AND_WHEN(desc)   SECTION( "And when: " desc, "" )
 
#define THEN(desc)   SECTION( " Then: " desc, "" )
 
#define AND_THEN(desc)   SECTION( " And: " desc, "" )
 

Typedefs

typedef void(* Catch::TestFunction) ()
 
typedef std::string(* Catch::exceptionTranslateFunction) ()
 

Enumerations

enum  Catch::Internal::Operator {
  Catch::Internal::IsEqualTo, Catch::Internal::IsNotEqualTo, Catch::Internal::IsLessThan, Catch::Internal::IsGreaterThan,
  Catch::Internal::IsLessThanOrEqualTo, Catch::Internal::IsGreaterThanOrEqualTo
}
 

Functions

template<typename ContainerT >
void Catch::deleteAll (ContainerT &container)
 
template<typename AssociativeContainerT >
void Catch::deleteAllValues (AssociativeContainerT &container)
 
template<typename ContainerT , typename Function >
void Catch::forEach (ContainerT &container, Function function)
 
template<typename ContainerT , typename Function >
void Catch::forEach (ContainerT const &container, Function function)
 
bool Catch::startsWith (std::string const &s, std::string const &prefix)
 
bool Catch::endsWith (std::string const &s, std::string const &suffix)
 
bool Catch::contains (std::string const &s, std::string const &infix)
 
void Catch::toLowerInPlace (std::string &s)
 
std::string Catch::toLower (std::string const &s)
 
std::ostream & Catch::operator<< (std::ostream &os, SourceLineInfo const &info)
 
bool Catch::isTrue (bool value)
 
void Catch::throwLogicError (std::string const &message, SourceLineInfo const &locationInfo)
 
IGeneratorsForTest * Catch::createGeneratorsForTest ()
 
IContext & Catch::getCurrentContext ()
 
IMutableContext & Catch::getCurrentMutableContext ()
 
void Catch::cleanUpContext ()
 
Stream Catch::createStream (std::string const &streamName)
 
TrueType & Catch::Detail::testStreamable (std::ostream &)
 
FalseType Catch::Detail::testStreamable (FalseType)
 
FalseType Catch::Detail::operator<< (std::ostream const &, BorgType const &)
 
template<typename T >
std::string Catch::toString (T const &value)
 converts any type to a string More...
 
template<typename T >
std::string Catch::Detail::makeString (T const &value)
 
std::string Catch::toString (std::string const &value)
 
std::string Catch::toString (std::wstring const &value)
 
std::string Catch::toString (const char *const value)
 
std::string Catch::toString (char *const value)
 
std::string Catch::toString (int value)
 
std::string Catch::toString (unsigned long value)
 
std::string Catch::toString (unsigned int value)
 
std::string Catch::toString (const double value)
 
std::string Catch::toString (bool value)
 
std::string Catch::toString (char value)
 
std::string Catch::toString (signed char value)
 
std::string Catch::toString (unsigned char value)
 
bool Catch::isOk (ResultWas::OfType resultType)
 
bool Catch::isJustInfo (int flags)
 
ResultDisposition::Flags Catch::operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs)
 
bool Catch::shouldContinueOnFailure (int flags)
 
bool Catch::shouldNegate (int flags)
 
bool Catch::shouldSuppressFailure (int flags)
 
template<typename T >
T & Catch::Internal::opCast (T const &t)
 
template<Operator Op, typename T1 , typename T2 >
bool Catch::Internal::applyEvaluator (T1 const &lhs, T2 const &rhs)
 
template<Operator Op, typename T1 , typename T2 >
bool Catch::Internal::compare (T1 const &lhs, T2 const &rhs)
 
template<Operator Op>
bool Catch::Internal::compare (unsigned int lhs, int rhs)
 
template<Operator Op>
bool Catch::Internal::compare (unsigned long lhs, int rhs)
 
template<Operator Op>
bool Catch::Internal::compare (unsigned char lhs, int rhs)
 
template<Operator Op>
bool Catch::Internal::compare (unsigned int lhs, long rhs)
 
template<Operator Op>
bool Catch::Internal::compare (unsigned long lhs, long rhs)
 
template<Operator Op>
bool Catch::Internal::compare (unsigned char lhs, long rhs)
 
template<Operator Op>
bool Catch::Internal::compare (int lhs, unsigned int rhs)
 
template<Operator Op>
bool Catch::Internal::compare (int lhs, unsigned long rhs)
 
template<Operator Op>
bool Catch::Internal::compare (int lhs, unsigned char rhs)
 
template<Operator Op>
bool Catch::Internal::compare (long lhs, unsigned int rhs)
 
template<Operator Op>
bool Catch::Internal::compare (long lhs, unsigned long rhs)
 
template<Operator Op>
bool Catch::Internal::compare (long lhs, unsigned char rhs)
 
template<Operator Op, typename T >
bool Catch::Internal::compare (long lhs, T *rhs)
 
template<Operator Op, typename T >
bool Catch::Internal::compare (T *lhs, long rhs)
 
template<Operator Op, typename T >
bool Catch::Internal::compare (int lhs, T *rhs)
 
template<Operator Op, typename T >
bool Catch::Internal::compare (T *lhs, int rhs)
 
void BreakIntoDebugger ()
 
bool isDebuggerActive ()
 
void writeToDebugConsole (std::string const &text)
 
TestCase Catch::makeTestCase (ITestCase *testCase, std::string const &className, std::string const &name, std::string const &description, SourceLineInfo const &lineInfo)
 
std::string Catch::trim (std::string const &str)
 
IRegistryHub & Catch::getRegistryHub ()
 
IMutableRegistryHub & Catch::getMutableRegistryHub ()
 
void Catch::cleanUp ()
 
std::string Catch::translateActiveException ()
 
IResultCapture & Catch::getResultCapture ()
 
template<typename MatcherT >
ExpressionResultBuilder Catch::expressionResultBuilderFromMatcher (MatcherT const &matcher, std::string const &matcherCallAsString)
 
template<typename MatcherT , typename ArgT >
ExpressionResultBuilder Catch::expressionResultBuilderFromMatcher (MatcherT const &matcher, ArgT const &arg, std::string const &matcherCallAsString)
 
template<typename MatcherT , typename ArgT >
ExpressionResultBuilder Catch::expressionResultBuilderFromMatcher (MatcherT const &matcher, ArgT *arg, std::string const &matcherCallAsString)
 
template<typename T >
CompositeGenerator< T > Catch::Generators::between (T from, T to)
 
template<typename T >
CompositeGenerator< T > Catch::Generators::values (T val1, T val2)
 
template<typename T >
CompositeGenerator< T > Catch::Generators::values (T val1, T val2, T val3)
 
template<typename T >
CompositeGenerator< T > Catch::Generators::values (T val1, T val2, T val3, T val4)
 
template<>
std::string Catch::toString< Detail::Approx > (Detail::Approx const &value)
 
std::string Catch::Matchers::Impl::StdString::makeString (std::string const &str)
 
std::string Catch::Matchers::Impl::StdString::makeString (const char *str)
 
template<typename ExpressionT >
Impl::Generic::AllOf< ExpressionT > Catch::Matchers::AllOf (Impl::Matcher< ExpressionT > const &m1, Impl::Matcher< ExpressionT > const &m2)
 
template<typename ExpressionT >
Impl::Generic::AllOf< ExpressionT > Catch::Matchers::AllOf (Impl::Matcher< ExpressionT > const &m1, Impl::Matcher< ExpressionT > const &m2, Impl::Matcher< ExpressionT > const &m3)
 
template<typename ExpressionT >
Impl::Generic::AnyOf< ExpressionT > Catch::Matchers::AnyOf (Impl::Matcher< ExpressionT > const &m1, Impl::Matcher< ExpressionT > const &m2)
 
template<typename ExpressionT >
Impl::Generic::AnyOf< ExpressionT > Catch::Matchers::AnyOf (Impl::Matcher< ExpressionT > const &m1, Impl::Matcher< ExpressionT > const &m2, Impl::Matcher< ExpressionT > const &m3)
 
Impl::StdString::Equals Catch::Matchers::Equals (std::string const &str)
 
Impl::StdString::Equals Catch::Matchers::Equals (const char *str)
 
Impl::StdString::Contains Catch::Matchers::Contains (std::string const &substr)
 
Impl::StdString::Contains Catch::Matchers::Contains (const char *substr)
 
Impl::StdString::StartsWith Catch::Matchers::StartsWith (std::string const &substr)
 
Impl::StdString::StartsWith Catch::Matchers::StartsWith (const char *substr)
 
Impl::StdString::EndsWith Catch::Matchers::EndsWith (std::string const &substr)
 
Impl::StdString::EndsWith Catch::Matchers::EndsWith (const char *substr)
 

Macro Definition Documentation

#define AND_THEN (   desc)    SECTION( " And: " desc, "" )

Definition at line 7844 of file catch.hpp.

#define AND_WHEN (   desc)    SECTION( "And when: " desc, "" )

Definition at line 7842 of file catch.hpp.

#define ANON_TEST_CASE ( )    INTERNAL_CATCH_TESTCASE( "", "" )

Definition at line 7823 of file catch.hpp.

#define CAPTURE (   msg)    INTERNAL_CATCH_INFO( #msg " := " << msg, "CAPTURE" )

Definition at line 7809 of file catch.hpp.

#define CATCH_CONFIG_CONSOLE_WIDTH   80

Definition at line 2100 of file catch.hpp.

#define CATCH_INTERNAL_ERROR (   msg)    ::Catch::throwLogicError( msg, CATCH_INTERNAL_LINEINFO );

Definition at line 239 of file catch.hpp.

#define CATCH_INTERNAL_LINEINFO   ::Catch::SourceLineInfo( __FILE__, static_cast<std::size_t>( __LINE__ ) )

Definition at line 238 of file catch.hpp.

#define CATCH_NOT_IMPLEMENTED   throw Catch::NotImplementedException( CATCH_INTERNAL_LINEINFO )

Definition at line 262 of file catch.hpp.

#define CATCH_TRANSLATE_EXCEPTION (   signature)    INTERNAL_CATCH_TRANSLATE_EXCEPTION( signature )

Definition at line 7832 of file catch.hpp.

#define CHECK (   expr)    INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECK" )

Definition at line 7791 of file catch.hpp.

#define CHECK_FALSE (   expr)    INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::NegateResult, "CHECK_FALSE" )

Definition at line 7792 of file catch.hpp.

#define CHECK_NOFAIL (   expr)    INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, "CHECK_NOFAIL" )

Definition at line 7795 of file catch.hpp.

#define CHECK_NOTHROW (   expr)    INTERNAL_CATCH_NO_THROW( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECK_NOTHROW" )

Definition at line 7799 of file catch.hpp.

#define CHECK_THAT (   arg,
  matcher 
)    INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::ContinueOnFailure, "CHECK_THAT" )

Definition at line 7801 of file catch.hpp.

#define CHECK_THROWS (   expr)    INTERNAL_CATCH_THROWS( expr, ..., Catch::ResultDisposition::ContinueOnFailure, "CHECK_THROWS" )

Definition at line 7797 of file catch.hpp.

#define CHECK_THROWS_AS (   expr,
  exceptionType 
)    INTERNAL_CATCH_THROWS_AS( expr, exceptionType, Catch::ResultDisposition::ContinueOnFailure, "CHECK_THROWS_AS" )

Definition at line 7798 of file catch.hpp.

#define CHECKED_ELSE (   expr)    INTERNAL_CATCH_ELSE( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECKED_ELSE" )

Definition at line 7794 of file catch.hpp.

#define CHECKED_IF (   expr)    INTERNAL_CATCH_IF( expr, Catch::ResultDisposition::ContinueOnFailure, "CHECKED_IF" )

Definition at line 7793 of file catch.hpp.

Definition at line 7806 of file catch.hpp.

#define GENERATE (   expr)    INTERNAL_CATCH_GENERATE( expr )

Definition at line 7828 of file catch.hpp.

#define GIVEN (   desc)    SECTION( " Given: " desc, "" )

Definition at line 7840 of file catch.hpp.

#define INFO (   msg)    INTERNAL_CATCH_INFO( msg, "INFO" )

Definition at line 7804 of file catch.hpp.

#define INTERNAL_CATCH_ACCEPT_EXPR (   evaluatedExpr,
  resultDisposition,
  originalExpr 
)
Value:
if( Catch::ResultAction::Value internal_catch_action = Catch::getResultCapture().acceptExpression( evaluatedExpr, INTERNAL_CATCH_ASSERTIONINFO_NAME ) ) { \
if( internal_catch_action & Catch::ResultAction::Debug ) BreakIntoDebugger(); \
if( internal_catch_action & Catch::ResultAction::Abort ) throw Catch::TestFailureException(); \
if( !Catch::shouldContinueOnFailure( resultDisposition ) ) throw Catch::TestFailureException(); \
Catch::isTrue( false && originalExpr ); \
}
#define INTERNAL_CATCH_ASSERTIONINFO_NAME
Definition: catch.hpp:2809
bool isTrue(bool value)
Definition: catch.hpp:228
Definition: catch.hpp:116
bool shouldContinueOnFailure(int flags)
Definition: catch.hpp:914
IResultCapture & getResultCapture()
Definition: catch.hpp:2771
void BreakIntoDebugger()
Definition: catch.hpp:1530

Definition at line 2812 of file catch.hpp.

#define INTERNAL_CATCH_ACCEPT_INFO (   expr,
  macroName,
  resultDisposition 
)    Catch::AssertionInfo INTERNAL_CATCH_ASSERTIONINFO_NAME( macroName, CATCH_INTERNAL_LINEINFO, expr, resultDisposition );

Definition at line 2821 of file catch.hpp.

#define INTERNAL_CATCH_ASSERTIONINFO_NAME   INTERNAL_CATCH_UNIQUE_NAME( __assertionInfo )

Definition at line 2809 of file catch.hpp.

#define INTERNAL_CATCH_ELSE (   expr,
  resultDisposition,
  macroName 
)
Value:
INTERNAL_CATCH_TEST( expr, resultDisposition, macroName ); \
if( !Catch::getResultCapture().getLastResult()->succeeded() )
IResultCapture & getResultCapture()
Definition: catch.hpp:2771
#define INTERNAL_CATCH_TEST(expr, resultDisposition, macroName)
Definition: catch.hpp:2825

Definition at line 2844 of file catch.hpp.

#define INTERNAL_CATCH_GENERATE (   expr)    expr.setFileInfo( __FILE__ "(" INTERNAL_CATCH_LINESTR( __LINE__ ) ")" )

Definition at line 3169 of file catch.hpp.

#define INTERNAL_CATCH_IF (   expr,
  resultDisposition,
  macroName 
)
Value:
INTERNAL_CATCH_TEST( expr, resultDisposition, macroName ); \
if( Catch::getResultCapture().getLastResult()->succeeded() )
IResultCapture & getResultCapture()
Definition: catch.hpp:2771
#define INTERNAL_CATCH_TEST(expr, resultDisposition, macroName)
Definition: catch.hpp:2825

Definition at line 2839 of file catch.hpp.

#define INTERNAL_CATCH_INFO (   log,
  macroName 
)    Catch::ScopedMessage INTERNAL_CATCH_UNIQUE_NAME( scopedMessage ) = Catch::MessageBuilder( macroName, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info ) << log;

Definition at line 2902 of file catch.hpp.

#define INTERNAL_CATCH_LINESTR (   line)    INTERNAL_CATCH_LINESTR2( line )

Definition at line 3167 of file catch.hpp.

#define INTERNAL_CATCH_LINESTR2 (   line)    #line

Definition at line 3166 of file catch.hpp.

#define INTERNAL_CATCH_METHOD_AS_TEST_CASE (   QualifiedMethod,
  Name,
  Desc 
)    namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &QualifiedMethod, "&" #QualifiedMethod, Catch::NameAndDesc( Name, Desc ), CATCH_INTERNAL_LINEINFO ); }

Definition at line 531 of file catch.hpp.

#define INTERNAL_CATCH_MSG (   log,
  messageType,
  resultDisposition,
  macroName 
)
Value:
do { \
INTERNAL_CATCH_ACCEPT_INFO( "", macroName, resultDisposition ); \
INTERNAL_CATCH_ACCEPT_EXPR( Catch::ExpressionResultBuilder( messageType ) << log, resultDisposition, true ) \
} while( Catch::isTrue( false ) )
bool isTrue(bool value)
Definition: catch.hpp:228
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
Definition: catch.hpp:2812
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)
Definition: catch.hpp:2821

Definition at line 2895 of file catch.hpp.

#define INTERNAL_CATCH_NO_THROW (   expr,
  resultDisposition,
  macroName 
)
Value:
do { \
INTERNAL_CATCH_ACCEPT_INFO( #expr, macroName, resultDisposition ); \
try { \
expr; \
} \
catch( ... ) { \
} \
} while( Catch::isTrue( false ) )
bool isTrue(bool value)
Definition: catch.hpp:228
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
Definition: catch.hpp:2812
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)
Definition: catch.hpp:2821
std::string translateActiveException()

Definition at line 2849 of file catch.hpp.

#define INTERNAL_CATCH_SECTION (   name,
  desc 
)    if( Catch::Section INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::Section( CATCH_INTERNAL_LINEINFO, name, desc ) )

Definition at line 2987 of file catch.hpp.

#define INTERNAL_CATCH_STRINGIFY (   expr)    INTERNAL_CATCH_STRINGIFY2( expr )

Definition at line 35 of file catch.hpp.

#define INTERNAL_CATCH_STRINGIFY2 (   expr)    #expr

Definition at line 34 of file catch.hpp.

#define INTERNAL_CATCH_TEST (   expr,
  resultDisposition,
  macroName 
)
Value:
do { \
INTERNAL_CATCH_ACCEPT_INFO( #expr, macroName, resultDisposition ); \
try { \
INTERNAL_CATCH_ACCEPT_EXPR( ( Catch::ExpressionDecomposer()->*expr ).endExpression( resultDisposition ), resultDisposition, expr ); \
throw; \
} catch( ... ) { \
resultDisposition | Catch::ResultDisposition::ContinueOnFailure, expr ); \
} \
} while( Catch::isTrue( false ) )
bool isTrue(bool value)
Definition: catch.hpp:228
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
Definition: catch.hpp:2812
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)
Definition: catch.hpp:2821
std::string translateActiveException()

Definition at line 2825 of file catch.hpp.

#define INTERNAL_CATCH_TEST_CASE_METHOD (   ClassName,
  TestName,
  Desc 
)
Value:
namespace{ \
struct INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ) : ClassName{ \
void test(); \
}; \
Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar ) ( &INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )::test, #ClassName, Catch::NameAndDesc( TestName, Desc ), CATCH_INTERNAL_LINEINFO ); \
} \
void INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )::test()
Definition: catch.hpp:116
#define CATCH_INTERNAL_LINEINFO
Definition: catch.hpp:238
#define INTERNAL_CATCH_UNIQUE_NAME(name)
Definition: catch.hpp:32

Definition at line 535 of file catch.hpp.

#define INTERNAL_CATCH_TESTCASE (   Name,
  Desc 
)
Value:
static void INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )(); \
namespace{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( &INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ), CATCH_INTERNAL_LINEINFO, Catch::NameAndDesc( Name, Desc ) ); }\
static void INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )()
#define CATCH_INTERNAL_LINEINFO
Definition: catch.hpp:238
#define INTERNAL_CATCH_UNIQUE_NAME(name)
Definition: catch.hpp:32

Definition at line 525 of file catch.hpp.

#define INTERNAL_CATCH_THROWS (   expr,
  exceptionType,
  resultDisposition,
  macroName 
)
Value:
do { \
INTERNAL_CATCH_ACCEPT_INFO( #expr, macroName, resultDisposition ); \
INTERNAL_CATCH_THROWS_IMPL( expr, exceptionType, resultDisposition ) \
} while( Catch::isTrue( false ) )
bool isTrue(bool value)
Definition: catch.hpp:228
#define INTERNAL_CATCH_THROWS_IMPL(expr, exceptionType, resultDisposition)
Definition: catch.hpp:2862
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)
Definition: catch.hpp:2821

Definition at line 2877 of file catch.hpp.

#define INTERNAL_CATCH_THROWS_AS (   expr,
  exceptionType,
  resultDisposition,
  macroName 
)
Value:
do { \
INTERNAL_CATCH_ACCEPT_INFO( #expr, macroName, resultDisposition ); \
INTERNAL_CATCH_THROWS_IMPL( expr, exceptionType, resultDisposition ) \
catch( ... ) { \
resultDisposition | Catch::ResultDisposition::ContinueOnFailure, false ); \
} \
} while( Catch::isTrue( false ) )
bool isTrue(bool value)
Definition: catch.hpp:228
#define INTERNAL_CATCH_THROWS_IMPL(expr, exceptionType, resultDisposition)
Definition: catch.hpp:2862
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
Definition: catch.hpp:2812
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)
Definition: catch.hpp:2821
std::string translateActiveException()

Definition at line 2884 of file catch.hpp.

#define INTERNAL_CATCH_THROWS_IMPL (   expr,
  exceptionType,
  resultDisposition 
)
Value:
try { \
if( Catch::getCurrentContext().getConfig()->allowThrows() ) { \
expr; \
} \
} \
throw; \
} \
catch( exceptionType ) { \
}
IContext & getCurrentContext()
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
Definition: catch.hpp:2812

Definition at line 2862 of file catch.hpp.

#define INTERNAL_CATCH_TRANSLATE_EXCEPTION (   signature)
Value:
static std::string INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator )( signature ); \
namespace{ Catch::ExceptionTranslatorRegistrar INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionRegistrar )( &INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator ) ); }\
static std::string INTERNAL_CATCH_UNIQUE_NAME( catch_internal_ExceptionTranslator )( signature )
#define INTERNAL_CATCH_UNIQUE_NAME(name)
Definition: catch.hpp:32

Definition at line 3223 of file catch.hpp.

#define INTERNAL_CATCH_UNIQUE_NAME (   name)    INTERNAL_CATCH_UNIQUE_NAME_LINE( name, __LINE__ )

Definition at line 32 of file catch.hpp.

#define INTERNAL_CATCH_UNIQUE_NAME_LINE (   name,
  line 
)    INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line )

Definition at line 31 of file catch.hpp.

#define INTERNAL_CATCH_UNIQUE_NAME_LINE2 (   name,
  line 
)    name##line

Definition at line 30 of file catch.hpp.

#define INTERNAL_CHECK_THAT (   arg,
  matcher,
  resultDisposition,
  macroName 
)
Value:
do { \
INTERNAL_CATCH_ACCEPT_INFO( #arg " " #matcher, macroName, resultDisposition ); \
try { \
INTERNAL_CATCH_ACCEPT_EXPR( ( Catch::expressionResultBuilderFromMatcher( ::Catch::Matchers::matcher, arg, #matcher ) ), resultDisposition, false ); \
throw; \
} catch( ... ) { \
resultDisposition | Catch::ResultDisposition::ContinueOnFailure, false ); \
} \
} while( Catch::isTrue( false ) )
bool isTrue(bool value)
Definition: catch.hpp:228
ExpressionResultBuilder expressionResultBuilderFromMatcher(MatcherT const &matcher, std::string const &matcherCallAsString)
Definition: catch.hpp:2776
#define INTERNAL_CATCH_ACCEPT_EXPR(evaluatedExpr, resultDisposition, originalExpr)
Definition: catch.hpp:2812
#define INTERNAL_CATCH_ACCEPT_INFO(expr, macroName, resultDisposition)
Definition: catch.hpp:2821
std::string translateActiveException()

Definition at line 2906 of file catch.hpp.

#define METHOD_AS_TEST_CASE (   method,
  name,
  description 
)    INTERNAL_CATCH_METHOD_AS_TEST_CASE( method, name, description )

Definition at line 7820 of file catch.hpp.

#define REGISTER_LEGACY_REPORTER (   name,
  reporterType 
)    INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( name, reporterType )

Definition at line 7826 of file catch.hpp.

#define REGISTER_REPORTER (   name,
  reporterType 
)    INTERNAL_CATCH_REGISTER_REPORTER( name, reporterType )

Definition at line 7825 of file catch.hpp.

#define REQUIRE (   expr)    INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::Normal, "REQUIRE" )

Definition at line 7784 of file catch.hpp.

#define REQUIRE_FALSE (   expr)    INTERNAL_CATCH_TEST( expr, Catch::ResultDisposition::Normal | Catch::ResultDisposition::NegateResult, "REQUIRE_FALSE" )

Definition at line 7785 of file catch.hpp.

#define REQUIRE_NOTHROW (   expr)    INTERNAL_CATCH_NO_THROW( expr, Catch::ResultDisposition::Normal, "REQUIRE_NOTHROW" )

Definition at line 7789 of file catch.hpp.

#define REQUIRE_THAT (   arg,
  matcher 
)    INTERNAL_CHECK_THAT( arg, matcher, Catch::ResultDisposition::Normal, "REQUIRE_THAT" )

Definition at line 7802 of file catch.hpp.

#define REQUIRE_THROWS (   expr)    INTERNAL_CATCH_THROWS( expr, ..., Catch::ResultDisposition::Normal, "REQUIRE_THROWS" )

Definition at line 7787 of file catch.hpp.

#define REQUIRE_THROWS_AS (   expr,
  exceptionType 
)    INTERNAL_CATCH_THROWS_AS( expr, exceptionType, Catch::ResultDisposition::Normal, "REQUIRE_THROWS_AS" )

Definition at line 7788 of file catch.hpp.

#define SCENARIO (   name,
  tags 
)    TEST_CASE( "Scenario: " name, tags )

Definition at line 7838 of file catch.hpp.

#define SCOPED_CAPTURE (   msg)    INTERNAL_CATCH_INFO( #msg " := " << msg, "CAPTURE" )

Definition at line 7810 of file catch.hpp.

#define SCOPED_INFO (   msg)    INTERNAL_CATCH_INFO( msg, "INFO" )

Definition at line 7808 of file catch.hpp.

#define SECTION (   name,
  description 
)    INTERNAL_CATCH_SECTION( name, description )

Definition at line 7821 of file catch.hpp.

#define SUCCEED (   msg)    INTERNAL_CATCH_MSG( msg, Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, "SUCCEED" )

Definition at line 7807 of file catch.hpp.

#define TEST_CASE (   name,
  description 
)    INTERNAL_CATCH_TESTCASE( name, description )

Definition at line 7818 of file catch.hpp.

#define TEST_CASE_METHOD (   className,
  name,
  description 
)    INTERNAL_CATCH_TEST_CASE_METHOD( className, name, description )

Definition at line 7819 of file catch.hpp.

#define THEN (   desc)    SECTION( " Then: " desc, "" )

Definition at line 7843 of file catch.hpp.

#define TWOBLUECUBES_CATCH_APPROX_HPP_INCLUDED

Definition at line 3229 of file catch.hpp.

#define TWOBLUECUBES_CATCH_ASSERTIONRESULT_BUILDER_H_INCLUDED

Definition at line 556 of file catch.hpp.

#define TWOBLUECUBES_CATCH_ASSERTIONRESULT_H_INCLUDED

Definition at line 859 of file catch.hpp.

#define TWOBLUECUBES_CATCH_CAPTURE_HPP_INCLUDED

Definition at line 547 of file catch.hpp.

#define TWOBLUECUBES_CATCH_COMMON_H_INCLUDED

Definition at line 28 of file catch.hpp.

#define TWOBLUECUBES_CATCH_COMPILER_CAPABILITIES_HPP_INCLUDED

Definition at line 42 of file catch.hpp.

#define TWOBLUECUBES_CATCH_CONFIG_HPP_INCLUDED

Definition at line 1553 of file catch.hpp.

#define TWOBLUECUBES_CATCH_CONTEXT_H_INCLUDED

Definition at line 265 of file catch.hpp.

#define TWOBLUECUBES_CATCH_DEBUGGER_HPP_INCLUDED

Definition at line 1438 of file catch.hpp.

#define TWOBLUECUBES_CATCH_EVALUATE_HPP_INCLUDED

Definition at line 973 of file catch.hpp.

#define TWOBLUECUBES_CATCH_EXPRESSION_DECOMPOSER_HPP_INCLUDED

Definition at line 550 of file catch.hpp.

#define TWOBLUECUBES_CATCH_EXPRESSION_LHS_HPP_INCLUDED

Definition at line 553 of file catch.hpp.

#define TWOBLUECUBES_CATCH_GENERATORS_HPP_INCLUDED

Definition at line 2992 of file catch.hpp.

#define TWOBLUECUBES_CATCH_HPP_INCLUDED

Definition at line 14 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_CAPTURE_H_INCLUDED

Definition at line 1344 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_CONFIG_H_INCLUDED

Definition at line 1964 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_EXCEPTION_H_INCLUDED

Definition at line 3172 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_GENERATORS_H_INCLUDED

Definition at line 268 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_REGISTRY_HUB_H_INCLUDED

Definition at line 1547 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_REPORTER_H_INCLUDED

Definition at line 1550 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_RUNNER_H_INCLUDED

Definition at line 3537 of file catch.hpp.

#define TWOBLUECUBES_CATCH_INTERFACES_TESTCASE_H_INCLUDED

Definition at line 418 of file catch.hpp.

#define TWOBLUECUBES_CATCH_MATCHERS_HPP_INCLUDED

Definition at line 3310 of file catch.hpp.

#define TWOBLUECUBES_CATCH_MESSAGE_H_INCLUDED

Definition at line 1289 of file catch.hpp.

#define TWOBLUECUBES_CATCH_NOTIMPLEMENTED_EXCEPTION_H_INCLUDED

Definition at line 25 of file catch.hpp.

#define TWOBLUECUBES_CATCH_OPTION_HPP_INCLUDED

Definition at line 2251 of file catch.hpp.

#define TWOBLUECUBES_CATCH_PLATFORM_H_INCLUDED

Definition at line 1443 of file catch.hpp.

#define TWOBLUECUBES_CATCH_PTR_HPP_INCLUDED

Definition at line 292 of file catch.hpp.

#define TWOBLUECUBES_CATCH_RESULT_TYPE_H_INCLUDED

Definition at line 863 of file catch.hpp.

#define TWOBLUECUBES_CATCH_SECTION_HPP_INCLUDED

Definition at line 2920 of file catch.hpp.

#define TWOBLUECUBES_CATCH_SFINAE_HPP_INCLUDED

Definition at line 562 of file catch.hpp.

#define TWOBLUECUBES_CATCH_STREAM_HPP_INCLUDED

Definition at line 2004 of file catch.hpp.

#define TWOBLUECUBES_CATCH_STREAMBUF_H_INCLUDED

Definition at line 2007 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TAGS_HPP_INCLUDED

Definition at line 1630 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TEST_CASE_INFO_H_INCLUDED

Definition at line 1559 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TEST_REGISTRY_HPP_INCLUDED

Definition at line 415 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TEST_SPEC_H_INCLUDED

Definition at line 1556 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TIMER_H_INCLUDED

Definition at line 2923 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TOSTRING_HPP_INCLUDED

Definition at line 559 of file catch.hpp.

#define TWOBLUECUBES_CATCH_TOTALS_HPP_INCLUDED

Definition at line 1348 of file catch.hpp.

Definition at line 7805 of file catch.hpp.

#define WHEN (   desc)    SECTION( " When: " desc, "" )

Definition at line 7841 of file catch.hpp.

Function Documentation

void BreakIntoDebugger ( )
inline

Definition at line 1530 of file catch.hpp.

bool isDebuggerActive ( )
inline

Definition at line 1531 of file catch.hpp.

void writeToDebugConsole ( std::string const &  text)
inline

Definition at line 1540 of file catch.hpp.