Wire Sysio Wire Sysion 1.0.0
|
Namespaces | |
namespace | clara |
namespace | Detail |
namespace | detail |
namespace | Generators |
namespace | literals |
namespace | Matchers |
namespace | TestCaseTracking |
Typedefs | |
using | StringMatcher = Matchers::Impl::MatcherBase<std::string> |
using | IConfigPtr = std::shared_ptr<IConfig const> |
using | exceptionTranslateFunction = std::string(*)() |
using | ExceptionTranslators = std::vector<std::unique_ptr<IExceptionTranslator const>> |
using | IReporterFactoryPtr = std::shared_ptr<IReporterFactory> |
using | IStreamingReporterPtr = std::unique_ptr<IStreamingReporter> |
using | RegistryHubSingleton = Singleton<RegistryHub, IRegistryHub, IMutableRegistryHub> |
Enumerations | |
enum class | Verbosity { Quiet = 0 , Normal , High , Quiet = 0 , Normal , High } |
enum class | Verbosity { Quiet = 0 , Normal , High , Quiet = 0 , Normal , High } |
Functions | |
std::ostream & | cout () |
std::ostream & | clog () |
std::ostream & | cerr () |
auto | operator<< (std::ostream &os, LazyExpression const &lazyExpr) -> std::ostream & |
void | handleExceptionMatchExpr (AssertionHandler &handler, std::string const &str, StringRef const &matcherString) |
void | handleExceptionMatchExpr (AssertionHandler &handler, StringMatcher const &matcher, StringRef const &matcherString) |
template<typename ArgT , typename MatcherT > | |
auto | makeMatchExpr (ArgT const &arg, MatcherT const &matcher, StringRef const &matcherString) -> MatchExpr< ArgT, MatcherT > |
clara::Parser | makeCommandLineParser (ConfigData &config) |
std::ostream & | operator<< (std::ostream &os, SourceLineInfo const &info) |
template<typename T > | |
T const & | operator+ (T const &value, StreamEndStop) |
std::ostream & | operator<< (std::ostream &os, Colour const &) |
void | cleanUpContext () |
IMutableContext & | getCurrentMutableContext () |
IContext & | getCurrentContext () |
void | writeToDebugConsole (std::string const &text) |
bool | isDebuggerActive () |
void | formatReconstructedExpression (std::ostream &os, std::string const &lhs, StringRef op, std::string const &rhs) |
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 |
void | handleExpression (ITransientExpression const &expr) |
template<typename T > | |
void | handleExpression (ExprLhs< T > const &expr) |
void | throw_exception (std::exception const &e) |
IResultCapture & | getResultCapture () |
IRegistryHub const & | getRegistryHub () |
IMutableRegistryHub & | getMutableRegistryHub () |
void | cleanUp () |
std::string | translateActiveException () |
bool | matchTest (TestCase const &testCase, TestSpec const &testSpec, IConfig const &config) |
std::vector< TestCase > | filterTests (std::vector< TestCase > const &testCases, TestSpec const &testSpec, IConfig const &config) |
std::vector< TestCase > const & | getAllTestCasesSorted (IConfig const &config) |
std::size_t | listTests (Config const &config) |
std::size_t | listTestsNamesOnly (Config const &config) |
std::size_t | listTags (Config const &config) |
std::size_t | listReporters () |
Option< std::size_t > | list (std::shared_ptr< Config > const &config) |
std::size_t | registerTestMethods () |
bool | isnan (float f) |
bool | isnan (double d) |
std::mt19937 & | rng () |
void | seedRng (IConfig const &config) |
unsigned int | rngSeed () |
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) |
bool | isFalseTest (int flags) |
void | addSingleton (ISingleton *singleton) |
void | cleanupSingletons () |
auto | makeStream (StringRef const &filename) -> IStream const * |
bool | startsWith (std::string const &s, std::string const &prefix) |
bool | startsWith (std::string const &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) |
std::string | trim (std::string const &str) |
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+ (StringRef const &lhs, StringRef const &rhs) -> std::string |
auto | operator+ (StringRef const &lhs, const char *rhs) -> std::string |
auto | operator+ (char const *lhs, StringRef const &rhs) -> std::string |
auto | operator<< (std::ostream &os, StringRef const &str) -> std::ostream & |
auto | operator+= (std::string &lhs, StringRef const &rhs) -> std::string & |
auto | operator""_sr (char const *rawChars, std::size_t size) noexcept -> StringRef |
TestCase | makeTestCase (ITestInvoker *_testCase, std::string const &_className, NameAndTags const &nameAndTags, SourceLineInfo const &_lineInfo) |
void | setTags (TestCaseInfo &testCaseInfo, std::vector< std::string > tags) |
std::vector< TestCase > | sortTests (IConfig const &config, std::vector< TestCase > const &unsortedTestCases) |
void | enforceNoDuplicateTestCases (std::vector< TestCase > const &functions) |
std::string | extractClassName (StringRef const &classOrQualifiedMethodName) |
auto | makeTestInvoker (void(*testAsFunction)()) noexcept -> ITestInvoker * |
template<typename C > | |
auto | makeTestInvoker (void(C::*testAsMethod)()) noexcept -> ITestInvoker * |
TestSpec | parseTestSpec (std::string const &arg) |
auto | getCurrentNanosecondsSinceEpoch () -> uint64_t |
auto | getEstimatedClockResolution () -> uint64_t |
template<typename T > | |
std::string | to_string (T const &t) |
template<typename T > | |
std::string | fpToString (T value, int precision) |
template<typename Range > | |
std::string | rangeToString (Range const &range) |
template<typename Allocator > | |
std::string | rangeToString (std::vector< bool, Allocator > const &v) |
bool | uncaught_exceptions () |
std::ostream & | operator<< (std::ostream &os, Version const &version) |
Version const & | libraryVersion () |
std::ostream & | operator<< (std::ostream &os, XmlEncode const &xmlEncode) |
void | prepareExpandedExpression (AssertionResult &result) |
std::string | getFormattedDuration (double duration) |
std::string | serializeFilters (std::vector< std::string > const &container) |
template<char C> | |
char const * | getLineOfChars () |
Variables | |
LeakDetector | leakDetector |
not_this_one | begin (...) |
not_this_one | end (...) |
typedef std::string(* Catch::exceptionTranslateFunction)() = std::string(*)() |
Definition at line 23 of file catch_interfaces_exception.h.
using Catch::ExceptionTranslators = std::vector<std::unique_ptr<IExceptionTranslator const>> |
Definition at line 26 of file catch_interfaces_exception.h.
typedef std::shared_ptr< IConfig const > Catch::IConfigPtr = std::shared_ptr<IConfig const> |
Definition at line 20 of file catch_context.h.
typedef std::shared_ptr< IReporterFactory > Catch::IReporterFactoryPtr = std::shared_ptr<IReporterFactory> |
Definition at line 29 of file catch_interfaces_registry_hub.h.
using Catch::IStreamingReporterPtr = std::unique_ptr<IStreamingReporter> |
Definition at line 211 of file catch_interfaces_reporter.h.
using Catch::RegistryHubSingleton = Singleton<RegistryHub, IRegistryHub, IMutableRegistryHub> |
Definition at line 78 of file catch_registry_hub.cpp.
typedef Matchers::Impl::MatcherBase< std::string > Catch::StringMatcher = Matchers::Impl::MatcherBase<std::string> |
Definition at line 13 of file catch_capture_matchers.cpp.
|
strong |
Enumerator | |
---|---|
Quiet | |
Normal | |
High | |
Quiet | |
Normal | |
High |
Definition at line 20 of file catch_interfaces_config.h.
|
strong |
void Catch::addSingleton | ( | ISingleton * | singleton | ) |
Definition at line 25 of file catch_singletons.cpp.
std::ostream & Catch::cerr | ( | ) |
Definition at line 41 of file 231-Cfg-OutputStreams.cpp.
void Catch::cleanUp | ( | ) |
Definition at line 86 of file catch_registry_hub.cpp.
void Catch::cleanUpContext | ( | ) |
Definition at line 55 of file catch_context.cpp.
void Catch::cleanupSingletons | ( | ) |
Definition at line 28 of file catch_singletons.cpp.
std::ostream & Catch::clog | ( | ) |
Definition at line 37 of file 231-Cfg-OutputStreams.cpp.
Definition at line 149 of file catch_decomposer.h.
auto Catch::compareEqual | ( | LhsT const & | lhs, |
RhsT const & | rhs ) -> bool |
Definition at line 143 of file catch_decomposer.h.
Definition at line 151 of file catch_decomposer.h.
Definition at line 145 of file catch_decomposer.h.
Definition at line 147 of file catch_decomposer.h.
Definition at line 160 of file catch_decomposer.h.
auto Catch::compareNotEqual | ( | LhsT const & | lhs, |
RhsT && | rhs ) -> bool |
Definition at line 154 of file catch_decomposer.h.
Definition at line 162 of file catch_decomposer.h.
Definition at line 156 of file catch_decomposer.h.
Definition at line 158 of file catch_decomposer.h.
bool Catch::contains | ( | std::string const & | s, |
std::string const & | infix ) |
std::ostream & Catch::cout | ( | ) |
Definition at line 33 of file 231-Cfg-OutputStreams.cpp.
bool Catch::endsWith | ( | std::string const & | s, |
char | suffix ) |
Definition at line 34 of file catch_string_manip.cpp.
bool Catch::endsWith | ( | std::string const & | s, |
std::string const & | suffix ) |
Definition at line 31 of file catch_string_manip.cpp.
void Catch::enforceNoDuplicateTestCases | ( | std::vector< TestCase > const & | functions | ) |
Definition at line 43 of file catch_test_case_registry_impl.cpp.
std::string Catch::extractClassName | ( | StringRef const & | classOrQualifiedMethodName | ) |
Definition at line 102 of file catch_test_case_registry_impl.cpp.
std::vector< TestCase > Catch::filterTests | ( | std::vector< TestCase > const & | testCases, |
TestSpec const & | testSpec, | ||
IConfig const & | config ) |
Definition at line 54 of file catch_test_case_registry_impl.cpp.
void Catch::formatReconstructedExpression | ( | std::ostream & | os, |
std::string const & | lhs, | ||
StringRef | op, | ||
std::string const & | rhs ) |
Definition at line 16 of file catch_decomposer.cpp.
Definition at line 71 of file catch_tostring.cpp.
Definition at line 65 of file catch_test_case_registry_impl.cpp.
|
inline |
Definition at line 52 of file catch_context.h.
|
inline |
Definition at line 45 of file catch_context.h.
auto Catch::getCurrentNanosecondsSinceEpoch | ( | ) | -> uint64_t |
Definition at line 17 of file catch_timer.cpp.
auto Catch::getEstimatedClockResolution | ( | ) | -> uint64_t |
Definition at line 52 of file catch_timer.cpp.
std::string Catch::getFormattedDuration | ( | double | duration | ) |
Definition at line 26 of file catch_reporter_bases.cpp.
char const * Catch::getLineOfChars | ( | ) |
Definition at line 259 of file catch_reporter_bases.hpp.
IMutableRegistryHub & Catch::getMutableRegistryHub | ( | ) |
Definition at line 83 of file catch_registry_hub.cpp.
IRegistryHub const & Catch::getRegistryHub | ( | ) |
Definition at line 80 of file catch_registry_hub.cpp.
IResultCapture & Catch::getResultCapture | ( | ) |
Definition at line 494 of file catch_run_context.cpp.
void Catch::handleExceptionMatchExpr | ( | AssertionHandler & | handler, |
std::string const & | str, | ||
StringRef const & | matcherString ) |
Definition at line 117 of file catch_assertionhandler.cpp.
void Catch::handleExceptionMatchExpr | ( | AssertionHandler & | handler, |
StringMatcher const & | matcher, | ||
StringRef const & | matcherString ) |
Definition at line 18 of file catch_capture_matchers.cpp.
Definition at line 226 of file catch_decomposer.h.
void Catch::handleExpression | ( | ITransientExpression const & | expr | ) |
bool Catch::isDebuggerActive | ( | ) |
Definition at line 121 of file catch_debugger.cpp.
|
inline |
bool Catch::isJustInfo | ( | int | flags | ) |
Definition at line 16 of file catch_result_type.cpp.
bool Catch::isnan | ( | double | d | ) |
Definition at line 18 of file catch_polyfills.cpp.
bool Catch::isnan | ( | float | f | ) |
bool Catch::isOk | ( | ResultWas::OfType | resultType | ) |
Definition at line 13 of file catch_result_type.cpp.
Version const & Catch::libraryVersion | ( | ) |
Definition at line 39 of file catch_version.cpp.
Definition at line 150 of file catch_list.cpp.
std::size_t Catch::listReporters | ( | ) |
Definition at line 128 of file catch_list.cpp.
std::size_t Catch::listTags | ( | Config const & | config | ) |
Definition at line 93 of file catch_list.cpp.
std::size_t Catch::listTests | ( | Config const & | config | ) |
Definition at line 30 of file catch_list.cpp.
std::size_t Catch::listTestsNamesOnly | ( | Config const & | config | ) |
Definition at line 64 of file catch_list.cpp.
clara::Parser Catch::makeCommandLineParser | ( | ConfigData & | config | ) |
Definition at line 21 of file catch_commandline.cpp.
auto Catch::makeMatchExpr | ( | ArgT const & | arg, |
MatcherT const & | matcher, | ||
StringRef const & | matcherString ) -> MatchExpr<ArgT, MatcherT> |
Definition at line 49 of file catch_capture_matchers.h.
Definition at line 125 of file catch_stream.cpp.
TestCase Catch::makeTestCase | ( | ITestInvoker * | _testCase, |
std::string const & | _className, | ||
NameAndTags const & | nameAndTags, | ||
SourceLineInfo const & | _lineInfo ) |
Definition at line 51 of file catch_test_case_info.cpp.
|
noexcept |
Definition at line 15 of file catch_test_registry.cpp.
|
noexcept |
Definition at line 36 of file catch_test_registry.h.
bool Catch::matchTest | ( | TestCase const & | testCase, |
TestSpec const & | testSpec, | ||
IConfig const & | config ) |
Definition at line 39 of file catch_test_case_registry_impl.cpp.
|
inlinenoexcept |
Definition at line 122 of file catch_stringref.h.
auto Catch::operator+ | ( | char const * | lhs, |
StringRef const & | rhs ) -> std::string |
Definition at line 110 of file catch_stringref.cpp.
auto Catch::operator+ | ( | StringRef const & | lhs, |
const char * | rhs ) -> std::string |
Definition at line 107 of file catch_stringref.cpp.
Definition at line 100 of file catch_stringref.cpp.
T const & Catch::operator+ | ( | T const & | value, |
StreamEndStop | ) |
Definition at line 83 of file catch_common.h.
auto Catch::operator+= | ( | std::string & | lhs, |
StringRef const & | rhs ) -> std::string & |
Definition at line 118 of file catch_stringref.cpp.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
Colour const & | ) |
Definition at line 228 of file catch_console_colour.cpp.
auto Catch::operator<< | ( | std::ostream & | os, |
LazyExpression const & | lazyExpr ) -> std::ostream& |
Definition at line 38 of file catch_assertionhandler.cpp.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
pluralise const & | pluraliser ) |
Definition at line 90 of file catch_string_manip.cpp.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
SourceLineInfo const & | info ) |
Definition at line 30 of file catch_common.cpp.
auto Catch::operator<< | ( | std::ostream & | os, |
StringRef const & | str ) -> std::ostream & |
Definition at line 114 of file catch_stringref.cpp.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
Version const & | version ) |
Definition at line 27 of file catch_version.cpp.
std::ostream & Catch::operator<< | ( | std::ostream & | os, |
XmlEncode const & | xmlEncode ) |
Definition at line 155 of file catch_xmlwriter.cpp.
ResultDisposition::Flags Catch::operator| | ( | ResultDisposition::Flags | lhs, |
ResultDisposition::Flags | rhs ) |
Definition at line 20 of file catch_result_type.cpp.
TestSpec Catch::parseTestSpec | ( | std::string const & | arg | ) |
Definition at line 83 of file catch_test_spec_parser.cpp.
void Catch::prepareExpandedExpression | ( | AssertionResult & | result | ) |
Definition at line 20 of file catch_reporter_bases.cpp.
std::string Catch::rangeToString | ( | Range const & | range | ) |
Definition at line 487 of file catch_tostring.h.
std::string Catch::rangeToString | ( | std::vector< bool, Allocator > const & | v | ) |
Definition at line 493 of file catch_tostring.h.
|
inline |
Definition at line 75 of file catch_objc.hpp.
bool Catch::replaceInPlace | ( | std::string & | str, |
std::string const & | replaceThis, | ||
std::string const & | withThis ) |
Definition at line 56 of file catch_string_manip.cpp.
std::mt19937 & Catch::rng | ( | ) |
Definition at line 14 of file catch_random_number_generator.cpp.
unsigned int Catch::rngSeed | ( | ) |
Definition at line 26 of file catch_random_number_generator.cpp.
void Catch::seedRng | ( | IConfig const & | config | ) |
Definition at line 19 of file catch_random_number_generator.cpp.
std::string Catch::serializeFilters | ( | std::vector< std::string > const & | container | ) |
Definition at line 44 of file catch_reporter_bases.cpp.
void Catch::setTags | ( | TestCaseInfo & | testCaseInfo, |
std::vector< std::string > | tags ) |
Definition at line 100 of file catch_test_case_info.cpp.
bool Catch::shouldContinueOnFailure | ( | int | flags | ) |
Definition at line 24 of file catch_result_type.cpp.
bool Catch::shouldSuppressFailure | ( | int | flags | ) |
std::vector< TestCase > Catch::sortTests | ( | IConfig const & | config, |
std::vector< TestCase > const & | unsortedTestCases ) |
Definition at line 21 of file catch_test_case_registry_impl.cpp.
Definition at line 70 of file catch_string_manip.cpp.
bool Catch::startsWith | ( | std::string const & | s, |
char | prefix ) |
Definition at line 28 of file catch_string_manip.cpp.
bool Catch::startsWith | ( | std::string const & | s, |
std::string const & | prefix ) |
Definition at line 25 of file catch_string_manip.cpp.
void Catch::throw_exception | ( | std::exception const & | e | ) |
Definition at line 13 of file catch_enforce.cpp.
Definition at line 17 of file catch_to_string.hpp.
std::string Catch::toLower | ( | std::string const & | s | ) |
Definition at line 43 of file catch_string_manip.cpp.
void Catch::toLowerInPlace | ( | std::string & | s | ) |
std::string Catch::translateActiveException | ( | ) |
Definition at line 90 of file catch_registry_hub.cpp.
std::string Catch::trim | ( | std::string const & | str | ) |
Definition at line 48 of file catch_string_manip.cpp.
bool Catch::uncaught_exceptions | ( | ) |
Definition at line 14 of file catch_uncaught_exceptions.cpp.
void Catch::writeToDebugConsole | ( | std::string const & | text | ) |
not_this_one Catch::begin | ( | ... | ) |
not_this_one Catch::end | ( | ... | ) |
LeakDetector Catch::leakDetector |
Definition at line 26 of file catch_impl.hpp.