Namespaces | |
Detail | |
Generators | |
literals | |
Matchers | |
Typedefs | |
using | exceptionTranslateFunction) = std::string(*)( |
using | ExceptionTranslators = std::vector< std::unique_ptr< IExceptionTranslator const >> |
using | IReporterFactoryPtr = std::shared_ptr< IReporterFactory > |
using | ITestCasePtr = std::shared_ptr< ITestInvoker > |
using | StringMatcher = Matchers::Impl::MatcherBase< std::string > |
Functions | |
std::ostream & | cerr () |
void | cleanUp () |
std::ostream & | clog () |
template<typename LhsT , typename RhsT > | |
auto | compareEqual (LhsT const &lhs, RhsT const &rhs) -> bool |
template<typename T > | |
auto | compareEqual (T *const &lhs, int rhs) -> bool |
template<typename T > | |
auto | compareEqual (T *const &lhs, long rhs) -> bool |
template<typename T > | |
auto | compareEqual (int lhs, T *const &rhs) -> bool |
template<typename T > | |
auto | compareEqual (long lhs, T *const &rhs) -> bool |
template<typename LhsT , typename RhsT > | |
auto | compareNotEqual (LhsT const &lhs, RhsT &&rhs) -> bool |
template<typename T > | |
auto | compareNotEqual (T *const &lhs, int rhs) -> bool |
template<typename T > | |
auto | compareNotEqual (T *const &lhs, long rhs) -> bool |
template<typename T > | |
auto | compareNotEqual (int lhs, T *const &rhs) -> bool |
template<typename T > | |
auto | compareNotEqual (long lhs, T *const &rhs) -> bool |
bool | contains (std::string const &s, std::string const &infix) |
std::ostream & | cout () |
bool | endsWith (std::string const &s, std::string const &suffix) |
bool | endsWith (std::string const &s, char suffix) |
std::vector< TestCase > | filterTests (std::vector< TestCase > const &testCases, TestSpec const &testSpec, IConfig const &config) |
void | formatReconstructedExpression (std::ostream &os, std::string const &lhs, StringRef op, std::string const &rhs) |
std::vector< TestCase > const & | getAllTestCasesSorted (IConfig const &config) |
auto | getCurrentNanosecondsSinceEpoch () -> uint64_t |
auto | getEstimatedClockResolution () -> uint64_t |
IMutableRegistryHub & | getMutableRegistryHub () |
IRegistryHub const & | getRegistryHub () |
IResultCapture & | getResultCapture () |
void | handleExceptionMatchExpr (AssertionHandler &handler, std::string const &str, StringRef const &matcherString) |
void | handleExceptionMatchExpr (AssertionHandler &handler, StringMatcher const &matcher, StringRef const &matcherString) |
void | handleExpression (ITransientExpression const &expr) |
template<typename T > | |
void | handleExpression (ExprLhs< T > const &expr) |
bool | isFalseTest (int flags) |
bool | isJustInfo (int flags) |
bool | isOk (ResultWas::OfType resultType) |
template<typename ArgT , typename MatcherT > | |
auto | makeMatchExpr (ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString) -> MatchExpr< ArgT, MatcherT > |
auto | makeStream (StringRef const &filename) -> IStream const * |
TestCase | makeTestCase (ITestInvoker *testCase, std::string const &className, NameAndTags const &nameAndTags, SourceLineInfo const &lineInfo) |
auto | makeTestInvoker (void(*testAsFunction)()) noexcept-> ITestInvoker * |
template<typename C > | |
auto | makeTestInvoker (void(C::*testAsMethod)()) noexcept-> ITestInvoker * |
bool | matchTest (TestCase const &testCase, TestSpec const &testSpec, IConfig const &config) |
auto | operator""_sr (char const *rawChars, std::size_t size) noexcept-> StringRef |
template<typename T > | |
T const & | operator+ (T const &value, StreamEndStop) |
auto | operator+ (StringRef const &lhs, StringRef const &rhs) -> std::string |
auto | operator+ (StringRef const &lhs, char const *rhs) -> std::string |
auto | operator+ (char const *lhs, StringRef const &rhs) -> std::string |
auto | operator+= (std::string &lhs, StringRef const &sr) -> std::string & |
std::ostream & | operator<< (std::ostream &os, SourceLineInfo const &info) |
auto | operator<< (std::ostream &os, StringRef const &sr) -> std::ostream & |
ResultDisposition::Flags | operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs) |
template<typename Range > | |
std::string | rangeToString (Range const &range) |
template<typename Allocator > | |
std::string | rangeToString (std::vector< bool, Allocator > const &v) |
bool | replaceInPlace (std::string &str, std::string const &replaceThis, std::string const &withThis) |
unsigned int | rngSeed () |
bool | shouldContinueOnFailure (int flags) |
bool | shouldSuppressFailure (int flags) |
bool | startsWith (std::string const &s, std::string const &prefix) |
bool | startsWith (std::string const &s, char prefix) |
void | throw_exception (std::exception const &e) |
std::string | toLower (std::string const &s) |
void | toLowerInPlace (std::string &s) |
std::string | translateActiveException () |
std::string | trim (std::string const &str) |
Variables | |
not_this_one | begin (...) |
not_this_one | end (...) |
using Catch::exceptionTranslateFunction = typedef std::string(*)( |
using Catch::ExceptionTranslators = typedef std::vector<std::unique_ptr<IExceptionTranslator const>> |
using Catch::IReporterFactoryPtr = typedef std::shared_ptr<IReporterFactory> |
using Catch::ITestCasePtr = typedef std::shared_ptr<ITestInvoker> |
using Catch::StringMatcher = typedef Matchers::Impl::MatcherBase<std::string> |
std::ostream& Catch::cerr | ( | ) |
void Catch::cleanUp | ( | ) |
std::ostream& Catch::clog | ( | ) |
auto Catch::compareEqual | ( | LhsT const & | lhs, |
RhsT const & | rhs | ||
) | -> bool |
auto Catch::compareEqual | ( | T *const & | lhs, |
int | rhs | ||
) | -> bool |
auto Catch::compareEqual | ( | T *const & | lhs, |
long | rhs | ||
) | -> bool |
auto Catch::compareEqual | ( | int | lhs, |
T *const & | rhs | ||
) | -> bool |
auto Catch::compareEqual | ( | long | lhs, |
T *const & | rhs | ||
) | -> bool |
auto Catch::compareNotEqual | ( | LhsT const & | lhs, |
RhsT && | rhs | ||
) | -> bool |
auto Catch::compareNotEqual | ( | T *const & | lhs, |
int | rhs | ||
) | -> bool |
auto Catch::compareNotEqual | ( | T *const & | lhs, |
long | rhs | ||
) | -> bool |
auto Catch::compareNotEqual | ( | int | lhs, |
T *const & | rhs | ||
) | -> bool |
auto Catch::compareNotEqual | ( | long | lhs, |
T *const & | rhs | ||
) | -> bool |
bool Catch::contains | ( | std::string const & | s, |
std::string const & | infix | ||
) |
std::ostream& Catch::cout | ( | ) |
bool Catch::endsWith | ( | std::string const & | s, |
std::string const & | suffix | ||
) |
bool Catch::endsWith | ( | std::string const & | s, |
char | suffix | ||
) |
std::vector<TestCase> Catch::filterTests | ( | std::vector< TestCase > const & | testCases, |
TestSpec const & | testSpec, | ||
IConfig const & | config | ||
) |
void Catch::formatReconstructedExpression | ( | std::ostream & | os, |
std::string const & | lhs, | ||
StringRef | op, | ||
std::string const & | rhs | ||
) |
std::vector<TestCase> const& Catch::getAllTestCasesSorted | ( | IConfig const & | config | ) |
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 | ) |
void Catch::handleExpression | ( | ExprLhs< T > const & | expr | ) |
bool Catch::isJustInfo | ( | int | flags | ) |
bool Catch::isOk | ( | ResultWas::OfType | resultType | ) |
TestCase Catch::makeTestCase | ( | ITestInvoker * | testCase, |
std::string const & | className, | ||
NameAndTags const & | nameAndTags, | ||
SourceLineInfo const & | lineInfo | ||
) |
|
noexcept |
|
noexcept |
bool Catch::matchTest | ( | TestCase const & | testCase, |
TestSpec const & | testSpec, | ||
IConfig const & | config | ||
) |
|
inlinenoexcept |
T const& Catch::operator+ | ( | T const & | value, |
StreamEndStop | |||
) |
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& 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 | ||
) |
std::string Catch::rangeToString | ( | Range const & | range | ) |
std::string Catch::rangeToString | ( | std::vector< bool, Allocator > const & | v | ) |
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 | ||
) |
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 | ) |
not_this_one Catch::begin(...) |
not_this_one Catch::end(...) |