![]() |
Project
|
Namespaces | |
namespace | Benchmark |
namespace | Clara |
namespace | Detail |
namespace | Generators |
namespace | literals |
namespace | Matchers |
namespace | TestCaseTracking |
namespace | TextFlow |
Classes | |
struct | SignalDefs |
struct | StringStreams |
Typedefs | |
using | RegistryHubSingleton = Singleton< RegistryHub, IRegistryHub, IMutableRegistryHub > |
Functions | |
bool | operator== (ProcessedReporterSpec const &lhs, ProcessedReporterSpec const &rhs) |
std::uint32_t | getSeed () |
IRegistryHub const & | getRegistryHub () |
IMutableRegistryHub & | getMutableRegistryHub () |
void | cleanUp () |
std::string | translateActiveException () |
std::ostream & | operator<< (std::ostream &os, Version const &version) |
Version const & | libraryVersion () |
void | handleExceptionMatchExpr (AssertionHandler &handler, std::string const &str) |
Clara::Parser | makeCommandLineParser (ConfigData &config) |
auto | makeStream (std::string const &filename) -> Detail::unique_ptr< IStream > |
auto | operator<< (std::ostream &os, LazyExpression const &lazyExpr) -> std::ostream & |
bool | list (IEventListener &reporter, Config const &config) |
Optional< unsigned int > | parseUInt (std::string const &input, int base) |
bool | isnan (float f) |
bool | isnan (double d) |
bool | operator== (SimplePcg32 const &lhs, SimplePcg32 const &rhs) |
bool | operator!= (SimplePcg32 const &lhs, SimplePcg32 const &rhs) |
std::uint32_t | generateRandomSeed (GenerateFrom from) |
bool | operator== (ReporterSpec const &lhs, ReporterSpec const &rhs) |
Optional< ReporterSpec > | parseReporterSpec (StringRef reporterSpec) |
bool | isOk (ResultWas::OfType resultType) |
bool | isJustInfo (int flags) |
ResultDisposition::Flags | operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs) |
bool | shouldContinueOnFailure (int flags) |
bool | shouldSuppressFailure (int flags) |
IResultCapture & | getResultCapture () |
void | seedRng (IConfig const &config) |
unsigned int | rngSeed () |
void | addSingleton (ISingleton *singleton) |
void | cleanupSingletons () |
std::ostream & | operator<< (std::ostream &os, SourceLineInfo const &info) |
std::ostream & | cout () |
std::ostream & | cerr () |
std::ostream & | clog () |
bool | startsWith (std::string const &s, std::string const &prefix) |
bool | startsWith (StringRef s, char prefix) |
bool | endsWith (std::string const &s, std::string const &suffix) |
bool | endsWith (std::string const &s, char suffix) |
bool | contains (std::string const &s, std::string const &infix) |
void | toLowerInPlace (std::string &s) |
std::string | toLower (std::string const &s) |
char | toLower (char c) |
std::string | trim (std::string const &str) |
StringRef | trim (StringRef ref) |
bool | replaceInPlace (std::string &str, std::string const &replaceThis, std::string const &withThis) |
std::vector< StringRef > | splitStringRef (StringRef str, char delimiter) |
std::ostream & | operator<< (std::ostream &os, pluralise const &pluraliser) |
auto | operator<< (std::ostream &os, StringRef str) -> std::ostream & |
std::string | operator+ (StringRef lhs, StringRef rhs) |
auto | operator+= (std::string &lhs, StringRef rhs) -> std::string & |
std::vector< TestCaseHandle > | sortTests (IConfig const &config, std::vector< TestCaseHandle > const &unsortedTestCases) |
bool | isThrowSafe (TestCaseHandle const &testCase, IConfig const &config) |
std::vector< TestCaseHandle > | filterTests (std::vector< TestCaseHandle > const &testCases, TestSpec const &testSpec, IConfig const &config) |
std::vector< TestCaseHandle > const & | getAllTestCasesSorted (IConfig const &config) |
void | throw_test_failure_exception () |
void | throw_test_skip_exception () |
Detail::unique_ptr< ITestInvoker > | makeTestInvoker (void(*testAsFunction)()) |
bool | uncaught_exceptions () |
XmlFormatting | operator| (XmlFormatting lhs, XmlFormatting rhs) |
XmlFormatting | operator& (XmlFormatting lhs, XmlFormatting rhs) |
std::ostream & | operator<< (std::ostream &os, XmlEncode const &xmlEncode) |
void | handleExceptionMatchExpr (AssertionHandler &handler, StringMatcher const &matcher) |
using Catch::RegistryHubSingleton = typedef Singleton<RegistryHub, IRegistryHub, IMutableRegistryHub> |
Definition at line 998 of file catch_amalgamated.cxx.
void Catch::addSingleton | ( | ISingleton * | singleton | ) |
Definition at line 5824 of file catch_amalgamated.cxx.
std::ostream & Catch::cerr | ( | ) |
Definition at line 5896 of file catch_amalgamated.cxx.
void Catch::cleanUp | ( | ) |
Definition at line 1006 of file catch_amalgamated.cxx.
void Catch::cleanupSingletons | ( | ) |
Definition at line 5827 of file catch_amalgamated.cxx.
std::ostream & Catch::clog | ( | ) |
Definition at line 5897 of file catch_amalgamated.cxx.
bool Catch::contains | ( | std::string const & | s, |
std::string const & | infix | ||
) |
Definition at line 5923 of file catch_amalgamated.cxx.
std::ostream & Catch::cout | ( | ) |
Definition at line 5895 of file catch_amalgamated.cxx.
bool Catch::endsWith | ( | std::string const & | s, |
char | suffix | ||
) |
Definition at line 5920 of file catch_amalgamated.cxx.
bool Catch::endsWith | ( | std::string const & | s, |
std::string const & | suffix | ||
) |
Definition at line 5917 of file catch_amalgamated.cxx.
std::vector< TestCaseHandle > Catch::filterTests | ( | std::vector< TestCaseHandle > const & | testCases, |
TestSpec const & | testSpec, | ||
IConfig const & | config | ||
) |
Definition at line 6231 of file catch_amalgamated.cxx.
std::uint32_t Catch::generateRandomSeed | ( | GenerateFrom | from | ) |
Definition at line 4755 of file catch_amalgamated.cxx.
std::vector< TestCaseHandle > const & Catch::getAllTestCasesSorted | ( | IConfig const & | config | ) |
Definition at line 6242 of file catch_amalgamated.cxx.
IMutableRegistryHub & Catch::getMutableRegistryHub | ( | ) |
Definition at line 1003 of file catch_amalgamated.cxx.
IRegistryHub const & Catch::getRegistryHub | ( | ) |
Definition at line 1000 of file catch_amalgamated.cxx.
IResultCapture & Catch::getResultCapture | ( | ) |
Definition at line 5739 of file catch_amalgamated.cxx.
std::uint32_t Catch::getSeed | ( | ) |
Definition at line 819 of file catch_amalgamated.cxx.
void Catch::handleExceptionMatchExpr | ( | AssertionHandler & | handler, |
std::string const & | str | ||
) |
Definition at line 2413 of file catch_amalgamated.cxx.
void Catch::handleExceptionMatchExpr | ( | AssertionHandler & | handler, |
StringMatcher const & | matcher | ||
) |
Definition at line 7946 of file catch_amalgamated.cxx.
bool Catch::isJustInfo | ( | int | flags | ) |
Definition at line 5015 of file catch_amalgamated.cxx.
bool Catch::isnan | ( | double | d | ) |
Definition at line 4667 of file catch_amalgamated.cxx.
bool Catch::isnan | ( | float | f | ) |
Definition at line 4664 of file catch_amalgamated.cxx.
bool Catch::isOk | ( | ResultWas::OfType | resultType | ) |
Definition at line 5012 of file catch_amalgamated.cxx.
bool Catch::isThrowSafe | ( | TestCaseHandle const & | testCase, |
IConfig const & | config | ||
) |
Definition at line 6227 of file catch_amalgamated.cxx.
Version const & Catch::libraryVersion | ( | ) |
Definition at line 2135 of file catch_amalgamated.cxx.
bool Catch::list | ( | IEventListener & | reporter, |
Config const & | config | ||
) |
Definition at line 4403 of file catch_amalgamated.cxx.
Clara::Parser Catch::makeCommandLineParser | ( | ConfigData & | config | ) |
Definition at line 2893 of file catch_amalgamated.cxx.
auto Catch::makeStream | ( | std::string const & | filename | ) | -> Detail::unique_ptr<IStream> |
Definition at line 4248 of file catch_amalgamated.cxx.
Detail::unique_ptr< ITestInvoker > Catch::makeTestInvoker | ( | void(*)() | testAsFunction | ) |
Definition at line 6576 of file catch_amalgamated.cxx.
bool Catch::operator!= | ( | SimplePcg32 const & | lhs, |
SimplePcg32 const & | rhs | ||
) |
Definition at line 4741 of file catch_amalgamated.cxx.
XmlFormatting Catch::operator& | ( | XmlFormatting | lhs, |
XmlFormatting | rhs | ||
) |
Definition at line 7196 of file catch_amalgamated.cxx.
std::string Catch::operator+ | ( | StringRef | lhs, |
StringRef | rhs | ||
) |
Definition at line 6043 of file catch_amalgamated.cxx.
auto Catch::operator+= | ( | std::string & | lhs, |
StringRef | rhs | ||
) | -> std::string& |
Definition at line 6051 of file catch_amalgamated.cxx.
auto Catch::operator<< | ( | std::ostream & | os, |
LazyExpression const & | lazyExpr | ||
) | -> std::ostream& |
Definition at line 4273 of file catch_amalgamated.cxx.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
pluralise const & | pluraliser | ||
) |
Definition at line 5989 of file catch_amalgamated.cxx.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
SourceLineInfo const & | info | ||
) |
Definition at line 5853 of file catch_amalgamated.cxx.
auto Catch::operator<< | ( | std::ostream & | os, |
StringRef | str | ||
) | -> std::ostream& |
Definition at line 6039 of file catch_amalgamated.cxx.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
Version const & | version | ||
) |
Definition at line 2123 of file catch_amalgamated.cxx.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
XmlEncode const & | xmlEncode | ||
) |
Definition at line 7303 of file catch_amalgamated.cxx.
bool Catch::operator== | ( | ProcessedReporterSpec const & | lhs, |
ProcessedReporterSpec const & | rhs | ||
) |
Definition at line 652 of file catch_amalgamated.cxx.
bool Catch::operator== | ( | ReporterSpec const & | lhs, |
ReporterSpec const & | rhs | ||
) |
Definition at line 4932 of file catch_amalgamated.cxx.
bool Catch::operator== | ( | SimplePcg32 const & | lhs, |
SimplePcg32 const & | rhs | ||
) |
Definition at line 4737 of file catch_amalgamated.cxx.
ResultDisposition::Flags Catch::operator| | ( | ResultDisposition::Flags | lhs, |
ResultDisposition::Flags | rhs | ||
) |
Definition at line 5019 of file catch_amalgamated.cxx.
XmlFormatting Catch::operator| | ( | XmlFormatting | lhs, |
XmlFormatting | rhs | ||
) |
Definition at line 7189 of file catch_amalgamated.cxx.
Optional< ReporterSpec > Catch::parseReporterSpec | ( | StringRef | reporterSpec | ) |
Definition at line 4939 of file catch_amalgamated.cxx.
Definition at line 4620 of file catch_amalgamated.cxx.
bool Catch::replaceInPlace | ( | std::string & | str, |
std::string const & | replaceThis, | ||
std::string const & | withThis | ||
) |
Definition at line 5960 of file catch_amalgamated.cxx.
uint32_t Catch::Config::rngSeed | ( | ) |
Definition at line 5750 of file catch_amalgamated.cxx.
void Catch::seedRng | ( | IConfig const & | config | ) |
Definition at line 5746 of file catch_amalgamated.cxx.
bool Catch::shouldContinueOnFailure | ( | int | flags | ) |
Definition at line 5023 of file catch_amalgamated.cxx.
bool Catch::shouldSuppressFailure | ( | int | flags | ) |
Definition at line 5024 of file catch_amalgamated.cxx.
std::vector< TestCaseHandle > Catch::sortTests | ( | IConfig const & | config, |
std::vector< TestCaseHandle > const & | unsortedTestCases | ||
) |
Definition at line 6175 of file catch_amalgamated.cxx.
std::vector< StringRef > Catch::splitStringRef | ( | StringRef | str, |
char | delimiter | ||
) |
Definition at line 5974 of file catch_amalgamated.cxx.
bool Catch::startsWith | ( | std::string const & | s, |
std::string const & | prefix | ||
) |
Definition at line 5911 of file catch_amalgamated.cxx.
bool Catch::startsWith | ( | StringRef | s, |
char | prefix | ||
) |
Definition at line 5914 of file catch_amalgamated.cxx.
void Catch::throw_test_failure_exception | ( | ) |
Definition at line 6508 of file catch_amalgamated.cxx.
void Catch::throw_test_skip_exception | ( | ) |
Definition at line 6516 of file catch_amalgamated.cxx.
Definition at line 5936 of file catch_amalgamated.cxx.
std::string Catch::toLower | ( | std::string const & | s | ) |
Definition at line 5931 of file catch_amalgamated.cxx.
void Catch::toLowerInPlace | ( | std::string & | s | ) |
Definition at line 5926 of file catch_amalgamated.cxx.
std::string Catch::ExceptionTranslatorRegistry::translateActiveException | ( | ) |
Definition at line 1010 of file catch_amalgamated.cxx.
std::string Catch::trim | ( | std::string const & | str | ) |
Definition at line 5940 of file catch_amalgamated.cxx.
StringRef Catch::trim | ( | StringRef | ref | ) |
Definition at line 5948 of file catch_amalgamated.cxx.
bool Catch::uncaught_exceptions | ( | ) |
Definition at line 7082 of file catch_amalgamated.cxx.