Lines Matching refs:Catch
99 namespace Catch { namespace
485 namespace Catch { namespace
545 ::Catch::SourceLineInfo( __FILE__, static_cast<std::size_t>( __LINE__ ) )
548 namespace Catch { namespace
559 …namespace{ Catch::RegistrarForTagAliases INTERNAL_CATCH_UNIQUE_NAME( AutoRegisterTagAlias )( alias…
569 namespace Catch { namespace
602 namespace Catch { namespace
686 constexpr auto operator "" _catch_sr( char const* rawChars, std::size_t size ) noexcept -> Catch::S… in operator ""_catch_sr()
687 return Catch::StringRef( rawChars, size ); in operator ""_catch_sr()
849 void reg_test(TypeList<Type>, Catch::NameAndTags nameAndTags)\
851 …Catch::AutoReg( Catch::makeTestInvoker(&TestFunc<Type>), CATCH_INTERNAL_LINEINFO, Catch::StringRef…
856 void reg_test(Nttp<__VA_ARGS__>, Catch::NameAndTags nameAndTags)\
858 …Catch::AutoReg( Catch::makeTestInvoker(&TestFunc<__VA_ARGS__>), CATCH_INTERNAL_LINEINFO, Catch::St…
863 void reg_test(TypeList<Type>, Catch::StringRef className, Catch::NameAndTags nameAndTags)\
865 …Catch::AutoReg( Catch::makeTestInvoker(&TestName<Type>::test), CATCH_INTERNAL_LINEINFO, className,…
870 void reg_test(Nttp<__VA_ARGS__>, Catch::StringRef className, Catch::NameAndTags nameAndTags)\
872 …Catch::AutoReg( Catch::makeTestInvoker(&TestName<__VA_ARGS__>::test), CATCH_INTERNAL_LINEINFO, cla…
924 namespace Catch { namespace
960 namespace Catch { namespace
1052 …e{ Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( Catch::makeTestInvoker( &TestName )…
1062 …Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( Catch::makeTestInvoker( &QualifiedMeth…
1073 …Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar ) ( Catch::makeTestInvoker( &TestName::te…
1084 …Catch::AutoReg INTERNAL_CATCH_UNIQUE_NAME( autoRegistrar )( Catch::makeTestInvoker( Function ), CA…
1105 …(void)expander{(reg_test(Types{}, Catch::NameAndTags{ Name " - " + std::string(tmpl_types[index]),…
1151 …(void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestFuncName<Types> ), CATCH_INTERNAL_LIN…
1195 …(void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestFunc<Types> ), CATCH_INTERNAL_LINEINF…
1229 …(void)expander{(reg_test(Types{}, #ClassName, Catch::NameAndTags{ Name " - " + std::string(tmpl_ty…
1278 …(void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestName<Types>::test ), CATCH_INTERNAL_L…
1325 …(void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestName<Types>::test ), CATCH_INTERNAL_L…
1351 namespace Catch { namespace
1395 namespace Catch { namespace
1426 namespace Catch { namespace
1464 namespace Catch { namespace
1552 namespace Catch { namespace
1619 typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1630 … typename std::enable_if<!::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1646 …return ::Catch::StringMaker<typename std::remove_cv<typename std::remove_reference<T>::type>::type… in stringify()
1651 … return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e)); in convertUnknownEnumToString()
1657 return ::Catch::StringMaker<T^>::convert(e);
1714 return ::Catch::Detail::stringify(std::string{ str }); in convert()
1720 return ::Catch::Detail::stringify(std::string{ reinterpret_cast<char const *>(str) }); in convert()
1726 return ::Catch::Detail::stringify(std::string{ reinterpret_cast<char const *>(str) }); in convert()
1801 return ::Catch::Detail::rawMemoryToString(p); in convert()
1812 return ::Catch::Detail::rawMemoryToString(p); in convert()
1823 return ::Catch::Detail::clrReferenceToString(ref);
1834 rss << ::Catch::Detail::stringify(*first); in rangeToString()
1836 rss << ", " << ::Catch::Detail::stringify(*first); in rangeToString()
1855 return ::Catch::Detail::stringify([nsObject description]); in convert()
1884 namespace Catch { namespace
1890 << ::Catch::Detail::stringify(pair.first) in convert()
1892 << ::Catch::Detail::stringify(pair.second) in convert()
1902 namespace Catch { namespace
1908 rss << ::Catch::Detail::stringify(*optional); in convert()
1921 namespace Catch { namespace
1931 << ::Catch::Detail::stringify(std::get<N>(tuple)); in print()
1961 namespace Catch { namespace
1977 return ::Catch::Detail::stringify(value); in convert()
1987 namespace Catch { namespace
2020 return ::Catch::Detail::rangeToString( begin( range ), end( range ) ); in rangeToString()
2034 rss << ::Catch::Detail::stringify( b ); in rangeToString()
2041 …struct StringMaker<R, typename std::enable_if<is_range<R>::value && !::Catch::Detail::IsStreamInse…
2062 namespace Catch { namespace
2071 Catch::ReusableStringStream rss; in symbol()
2142 return ::Catch::Detail::stringify(time_point.time_since_epoch()) + " since epoch"; in convert()
2174 namespace Catch { \
2177 …static const auto& enumInfo = ::Catch::getMutableRegistryHub().getMutableEnumValuesRegistry().regi…
2201 namespace Catch { namespace
2232 … ( os, Catch::Detail::stringify( m_lhs ), m_op, Catch::Detail::stringify( m_rhs ) ); in streamReconstructedExpression()
2305 os << Catch::Detail::stringify( m_lhs ); in streamReconstructedExpression()
2438 namespace Catch { namespace
2520 namespace Catch { namespace
2598 namespace Catch { namespace
2665 captureValue( index, Catch::Detail::stringify( value ) ); in captureValues()
2670 captureValue( index, Catch::Detail::stringify(value) ); in captureValues()
2707 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2711 catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \
2720 if( Catch::getResultCapture().lastAssertionPassed() )
2725 if( !Catch::getResultCapture().lastAssertionPassed() )
2730 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2744 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2761 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2781 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, Catc…
2782 …catchAssertionHandler.handleMessage( messageType, ( Catch::MessageStream() << __VA_ARGS__ + ::Catc…
2788 …auto varName = Catch::Capturer( macroName, CATCH_INTERNAL_LINEINFO, Catch::ResultWas::Info, #__VA_…
2793 …Catch::ScopedMessage INTERNAL_CATCH_UNIQUE_NAME( scopedMessage )( Catch::MessageBuilder( macroName…
2797 …Catch::getResultCapture().emplaceUnscopedMessage( Catch::MessageBuilder( macroName##_catch_sr, CAT…
2803 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
2810 … Catch::handleExceptionMatchExpr( catchAssertionHandler, matcher, #matcher##_catch_sr ); \
2828 namespace Catch { namespace
2859 namespace Catch { namespace
2890 namespace Catch { namespace
2910 namespace Catch { namespace
2934 …if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInf…
2940 …if( Catch::Section const& INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Section ) = Catch::SectionInf…
2951 namespace Catch { namespace
3005 namespace Catch { namespace
3065 …namespace{ Catch::ExceptionTranslatorRegistrar INTERNAL_CATCH_UNIQUE_NAME( catch_internal_Exceptio…
3076 namespace Catch { namespace
3186 struct StringMaker<Catch::Detail::Approx> {
3187 static std::string convert(Catch::Detail::Approx const& value);
3199 namespace Catch { namespace
3236 namespace Catch { namespace
3396 namespace Catch { namespace
3423 namespace Catch { namespace
3487 namespace Catch { namespace
3534 namespace Catch { namespace
3603 namespace Catch { namespace
3622 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3652 return "Contains: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3676 return "Equals: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3695 return "is approx: " + ::Catch::Detail::stringify( m_comparator ); in describe()
3714 mutable Catch::Detail::Approx approx = Catch::Detail::Approx::custom();
3728 return "UnorderedEquals: " + ::Catch::Detail::stringify(m_target); in describe()
3768 namespace Catch { namespace
3785 os << Catch::Detail::stringify( m_arg ) << ' '; in streamReconstructedExpression()
3807 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
3809 … catchAssertionHandler.handleExpr( Catch::makeMatchExpr( arg, matcher, #matcher##_catch_sr ) ); \
3817 …Catch::AssertionHandler catchAssertionHandler( macroName##_catch_sr, CATCH_INTERNAL_LINEINFO, CATC…
3824 … catchAssertionHandler.handleExpr( Catch::makeMatchExpr( ex, matcher, #matcher##_catch_sr ) ); \
3843 namespace Catch { namespace
3874 namespace Catch { namespace
3896 (Catch::ReusableStringStream() << __VA_ARGS__).str()
3899 …Catch::throw_logic_error(CATCH_MAKE_MSG( CATCH_INTERNAL_LINEINFO << ": Internal Catch2 error: " <<…
3902 Catch::throw_domain_error(CATCH_MAKE_MSG( __VA_ARGS__ ))
3905 Catch::throw_runtime_error(CATCH_MAKE_MSG( __VA_ARGS__ ))
3918 namespace Catch { namespace
4102 Catch::Generators::generate( INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_UNIQUE_NAME(generator)), \
4104 …[ ]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-…
4106 Catch::Generators::generate( INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_UNIQUE_NAME(generator)), \
4108 …[=]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-…
4110 Catch::Generators::generate( INTERNAL_CATCH_STRINGIZE(INTERNAL_CATCH_UNIQUE_NAME(generator)), \
4112 …[&]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-…
4117 namespace Catch { namespace
4171 … Catch::throw_exception(GeneratorException("No valid value found in filtered generator")); in FilterGenerator()
4312 … Catch::throw_exception(GeneratorException("Not enough values to initialize the first chunk")); in ChunkGenerator()
4350 namespace Catch { namespace
4406 namespace Catch { namespace
4475 namespace Catch { namespace
4552 namespace Catch { namespace
4600 namespace Catch { namespace
4605 Catch::SimplePcg32& m_rng;
4627 Catch::SimplePcg32& m_rng;
4724 … Catch::throw_exception(GeneratorException("IteratorGenerator received no valid values")); in IteratorGenerator()
4769 namespace Catch { namespace
4839 namespace Catch { namespace
4872 namespace Catch { namespace
4970 return "equals string: " + Catch::Detail::stringify( m_substr ); in describe()
4983 return "contains string: " + Catch::Detail::stringify( m_substr ); in describe()
4996 return "starts with: " + Catch::Detail::stringify( m_substr ); in describe()
5008 return "ends with: " + Catch::Detail::stringify( m_substr ); in describe()
5079 namespace Catch namespace
5108 namespace Catch { namespace
5184 namespace Catch { namespace
5200 namespace Catch { namespace
5270 namespace Catch { namespace
5382 namespace Catch { namespace
5430 namespace Catch { namespace
5452 namespace Catch { namespace
5480 namespace Catch { namespace
5725 namespace Catch { namespace
5989 namespace Catch { namespace
6049 namespace Catch { namespace
6098 …namespace{ Catch::ReporterRegistrar<reporterType> catch_internal_RegistrarFor##reporterType( name …
6104 namespace{ Catch::ListenerRegistrar<listenerType> catch_internal_RegistrarFor##listenerType; } \
6117 namespace Catch { namespace
6151 namespace Catch { namespace
6225 namespace Catch { namespace
6275 XmlWriter( std::ostream& os = Catch::cout() );
6326 namespace Catch { namespace
6376 namespace Catch { namespace
6457 namespace Catch { namespace
6490 namespace Catch { namespace
6549 namespace Catch { namespace
6598 namespace Catch { namespace
6656 namespace Catch { namespace
6693 namespace Catch { namespace
6784 namespace Catch { namespace
6823 namespace Catch { namespace
6839 namespace Catch { namespace
6858 namespace Catch { namespace
6893 Catch::throw_exception(optimized_away_error{}); in run_for_at_least()
6903 namespace Catch { namespace
6960 namespace Catch { namespace
7098 namespace Catch { namespace
7202 namespace Catch { namespace
7234 namespace Catch { namespace
7244 …auto analysis = Catch::Benchmark::Detail::analyse_samples(cfg.benchmarkConfidenceInterval(), cfg.b… in analyse()
7245 … auto outliers = Catch::Benchmark::Detail::classify_outliers(samples.begin(), samples.end()); in analyse()
7297 namespace Catch { namespace
7378 if( Catch::Benchmark::Benchmark BenchmarkName{name} ) \
7382 if( Catch::Benchmark::Benchmark BenchmarkName{name} ) \
7393 namespace Catch { namespace
7476 namespace Catch { namespace
7640 namespace Catch { namespace
7740 auto m = Catch::Benchmark::Detail::mean(first, last); in standard_deviation()
7750 namespace Catch { namespace
7876 namespace Catch { namespace
7898 rss << "Approx( " << ::Catch::Detail::stringify( m_value ) << " )"; in toString()
7934 std::string StringMaker<Catch::Detail::Approx>::convert(Catch::Detail::Approx const& value) { in convert()
7944 namespace Catch { namespace
7989 … #define CATCH_BREAK_INTO_DEBUGGER() []{ if( Catch::isDebuggerActive() ) { CATCH_TRAP(); } }()
8002 namespace Catch { namespace
8056 namespace Catch { namespace
8188 namespace Catch { namespace
8255 throw Catch::TestFailureException(); in complete()
8266 …m_resultCapture.handleUnexpectedInflightException( m_assertionInfo, Catch::translateActiveExceptio… in handleUnexpectedInflightException()
8294 namespace Catch { namespace
8318 return Catch::isOk( m_resultData.resultType ); in succeeded()
8323 …return Catch::isOk( m_resultData.resultType ) || shouldSuppressFailure( m_info.resultDisposition ); in isOk()
8391 namespace Catch { namespace
8399 std::string exceptionMessage = Catch::translateActiveException(); in handleExceptionMatchExpr()
8475 namespace Catch { namespace
8805 namespace Catch { namespace clara { namespace
9693 namespace Catch { namespace
9703 namespace Catch { namespace
9921 namespace Catch { namespace
9952 namespace Catch { namespace
10023 return Catch::makeStream(m_data.outputFilename); in openStream()
10037 namespace Catch { namespace
10082 namespace Catch { namespace
10112 namespace Catch { namespace
10179 namespace Catch { namespace
10253 namespace Catch { namespace
10261 namespace Catch { namespace
10300 namespace Catch { namespace
10365 namespace Catch { namespace
10373 namespace Catch { namespace
10381 namespace Catch { namespace
10389 namespace Catch { namespace
10392 Catch::cout() << text; in writeToDebugConsole()
10414 namespace Catch { namespace
10443 …Catch::cerr() << "\n** Call to sysctl failed - unable to determine if debugger is active **\n" << … in isDebuggerActive()
10463 namespace Catch{ namespace
10491 namespace Catch { namespace
10498 namespace Catch { namespace
10504 namespace Catch { namespace
10511 namespace Catch { namespace
10529 namespace Catch { namespace
10533 Catch::cerr() << "Catch will terminate because it needed to throw an exception.\n" in throw_exception()
10562 namespace Catch { namespace
10586 namespace Catch { namespace
10630 const auto valueNames = Catch::Detail::parseEnums( allValueNames ); in makeEnumInfo()
10652 namespace Catch { namespace
10665 namespace Catch { namespace
10684 namespace Catch { namespace
10702 return Catch::Detail::stringify( [exception description] ); in translateActiveException()
10762 namespace Catch { namespace
10784 Catch::getCurrentContext().getResultCapture()->handleFatalErrorCondition( message ); in reportFatal()
10797 namespace Catch { namespace
10834 Catch::cerr() in FatalConditionHandler()
10867 namespace Catch { namespace
10971 namespace Catch { namespace
10992 namespace Catch { namespace
10998 namespace Catch { namespace
11004 namespace Catch { namespace
11011 namespace Catch { namespace
11020 namespace Catch { namespace
11072 namespace Catch { namespace
11176 namespace Catch { namespace
11182 namespace Catch { namespace
11192 namespace Catch { namespace
11208 Catch::LeakDetector::LeakDetector() {} in LeakDetector()
11212 Catch::LeakDetector::~LeakDetector() { in ~LeakDetector()
11213 Catch::cleanUp(); in ~LeakDetector()
11222 namespace Catch { namespace
11247 namespace Catch { namespace
11256 namespace Catch { namespace
11261 Catch::cout() << "Matching test cases:\n"; in listTests()
11263 Catch::cout() << "All available test cases:\n"; in listTests()
11273 Catch::cout() << Column( testCaseInfo.name ).initialIndent( 2 ).indent( 4 ) << "\n"; in listTests()
11275 …Catch::cout() << Column( Catch::Detail::stringify( testCaseInfo.lineInfo ) ).indent(4) << std::end… in listTests()
11279 Catch::cout() << Column( description ).indent(4) << std::endl; in listTests()
11282 Catch::cout() << Column( testCaseInfo.tagsAsString() ).indent( 6 ) << "\n"; in listTests()
11286 Catch::cout() << pluralise( matchedTestCases.size(), "test case" ) << '\n' << std::endl; in listTests()
11288 … Catch::cout() << pluralise( matchedTestCases.size(), "matching test case" ) << '\n' << std::endl; in listTests()
11299 Catch::cout() << '"' << testCaseInfo.name << '"'; in listTestsNamesOnly()
11301 Catch::cout() << testCaseInfo.name; in listTestsNamesOnly()
11303 Catch::cout() << "\t@" << testCaseInfo.lineInfo; in listTestsNamesOnly()
11304 Catch::cout() << std::endl; in listTestsNamesOnly()
11333 Catch::cout() << "Tags for matching test cases:\n"; in listTags()
11335 Catch::cout() << "All available tags:\n"; in listTags()
11359 Catch::cout() << str << wrapper << '\n'; in listTags()
11361 Catch::cout() << pluralise( tagCounts.size(), "tag" ) << '\n' << std::endl; in listTags()
11366 Catch::cout() << "Available reporters:\n"; in listReporters()
11373 Catch::cout() in listReporters()
11383 Catch::cout() << std::endl; in listReporters()
11405 namespace Catch { namespace
11427 namespace Catch { namespace
11452 namespace Catch { namespace
11462 namespace Catch { namespace
11486 namespace Catch { namespace
11507 if (Catch::isnan(lhs) || Catch::isnan(rhs)) { in almostEqualUlps()
11540 start = Catch::nextafter(start, direction); in step()
11584 …return "is within " + ::Catch::Detail::stringify(m_margin) + " of " + ::Catch::Detail::stringify(m… in describe()
11657 Catch::ReusableStringStream sstr; in describe()
11697 std::string Catch::Matchers::Generic::Detail::finalizeDescription(const std::string& desc) { in finalizeDescription()
11709 namespace Catch { namespace
11782 …return "matches " + ::Catch::Detail::stringify(m_regex) + ((m_caseSensitivity == CaseSensitive::Ch… in describe()
11811 namespace Catch { namespace
11819 namespace Catch { namespace
11843 Catch::MessageBuilder::MessageBuilder( StringRef const& macroName, in MessageBuilder()
11953 namespace Catch { namespace
12069 namespace Catch { namespace
12083 RedirectedStdOut::RedirectedStdOut() : m_cout( Catch::cout(), m_rss.get() ) {} in RedirectedStdOut()
12087 : m_cerr( Catch::cerr(), m_rss.get() ), in RedirectedStdErr()
12088 m_clog( Catch::clog(), m_rss.get() ) in RedirectedStdErr()
12161 Catch::cout() << std::flush; in ~OutputRedirect()
12165 Catch::cerr() << std::flush; in ~OutputRedirect()
12166 Catch::clog() << std::flush; in ~OutputRedirect()
12192 namespace Catch { namespace
12215 namespace Catch { namespace
12284 namespace Catch { namespace
12337 namespace Catch { namespace
12366 namespace Catch { namespace
12380 namespace Catch { namespace
12401 namespace Catch { namespace
12418 namespace Catch { namespace
12451 namespace Catch { namespace
12533 namespace Catch { namespace
12562 namespace Catch { namespace
12586 namespace Catch { namespace
13101 handleNonExpr(info, Catch::ResultWas::DidntThrowException, reaction); in handleUnexpectedExceptionNotThrown()
13170 namespace Catch { namespace
13198 namespace Catch { namespace
13215 namespace Catch { namespace
13265 namespace Catch { namespace
13297 namespace Catch { namespace
13303 … auto reporter = Catch::getRegistryHub().getReporterRegistry().create(reporterName, config); in createReporter()
13310 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) { in makeReporter()
13321 auto const& listeners = Catch::getRegistryHub().getReporterRegistry().getListeners(); in makeReporter()
13323 multi.addListener(listener->create(Catch::ReporterConfig(config))); in makeReporter()
13385 void applyFilenamesAsTags(Catch::IConfig const& config) { in applyFilenamesAsTags()
13429 Catch::cerr() << "Errors occurred during startup!" << '\n'; in Session()
13435 Catch::cerr() << Column( ex.what() ).indent(2) << '\n'; in Session()
13445 Catch::cleanUp(); in ~Session()
13449 Catch::cout() in showHelp()
13455 Catch::cout() in libIdentify()
13470 Catch::cerr() in applyCommandLine()
13475 Catch::cerr() << "Run with -? for usage\n" << std::endl; in applyCommandLine()
13518 Catch::cout() << "...waiting for enter/ return before starting" << std::endl; in run()
13523 …Catch::cout() << "...waiting for enter/ return before exiting, with code: " << exitCode << std::en… in run()
13577 Catch::cerr() << ex.what() << std::endl; in runInternal()
13589 namespace Catch { namespace
13618 namespace Catch { namespace
13644 namespace Catch { namespace
13646 Catch::IStream::~IStream() = default;
13717 CoutStream() : m_os( Catch::cout().rdbuf() ) {} in CoutStream()
13814 namespace Catch { namespace
13915 namespace Catch { namespace
13953 namespace Catch { namespace
13959 namespace Catch { namespace
13976 namespace Catch { namespace
14026 namespace Catch { namespace
14197 namespace Catch { namespace
14364 namespace Catch { namespace
14594 namespace Catch { namespace
14627 namespace Catch { namespace
14708 namespace Catch { namespace
14945 namespace Catch { namespace
15021 namespace Catch { namespace
15062 if (Catch::isnan(value)) { in fpToString()
15111 return ::Catch::Detail::stringify(std::string{ str }); in convert()
15117 return ::Catch::Detail::stringify(std::string{ str }); in convert()
15124 return ::Catch::Detail::stringify(std::string{ str }); in convert()
15137 return ::Catch::Detail::stringify(s); in convert()
15148 return ::Catch::Detail::stringify(std::wstring{ str }); in convert()
15155 return ::Catch::Detail::stringify(std::wstring{ str }); in convert()
15165 return ::Catch::Detail::stringify(std::to_integer<unsigned long long>(value)); in convert()
15170 return ::Catch::Detail::stringify(static_cast<long long>(value)); in convert()
15173 return ::Catch::Detail::stringify(static_cast<long long>(value)); in convert()
15185 return ::Catch::Detail::stringify(static_cast<unsigned long long>(value)); in convert()
15188 return ::Catch::Detail::stringify(static_cast<unsigned long long>(value)); in convert()
15213 return ::Catch::Detail::stringify(static_cast<unsigned int>(value)); in convert()
15221 return ::Catch::Detail::stringify(static_cast<signed char>(c)); in convert()
15224 return ::Catch::Detail::stringify(static_cast<char>(c)); in convert()
15259 namespace Catch { namespace
15351 namespace Catch { namespace
15367 namespace Catch { namespace
15403 namespace Catch { namespace
15445 namespace Catch { namespace
15772 namespace Catch { namespace
15851 Catch::Colour::Code dimColour() { return Catch::Colour::FileName; } in dimColour()
15860 namespace Catch { namespace
16135 namespace Catch { namespace
16402 m_os << Catch::getLineOfChars<'-'>() << '\n'; in open()
16810 namespace Catch { namespace
17092 namespace Catch { namespace
17252 namespace Catch { namespace
17514 namespace Catch { namespace
17538 return Catch::Session().run( argc, argv );
17549 Catch::registerTestMethods();
17550 int result = Catch::Session().run( argc, (char**)argv );
17575 #define CATCH_REQUIRE( ... ) INTERNAL_CATCH_TEST( "CATCH_REQUIRE", Catch::ResultDisposition::Normal…
17576 …ALSE( ... ) INTERNAL_CATCH_TEST( "CATCH_REQUIRE_FALSE", Catch::ResultDisposition::Normal | Catch::…
17578 #define CATCH_REQUIRE_THROWS( ... ) INTERNAL_CATCH_THROWS( "CATCH_REQUIRE_THROWS", Catch::ResultDis…
17579 …ype ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS_AS", exceptionType, Catch::ResultDisposition…
17580 …matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "CATCH_REQUIRE_THROWS_WITH", Catch::ResultDisposition…
17582 …RNAL_CATCH_THROWS_MATCHES( "CATCH_REQUIRE_THROWS_MATCHES", exceptionType, Catch::ResultDisposition…
17584 #define CATCH_REQUIRE_NOTHROW( ... ) INTERNAL_CATCH_NO_THROW( "CATCH_REQUIRE_NOTHROW", Catch::Resul…
17586 #define CATCH_CHECK( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK", Catch::ResultDisposition::ContinueOn…
17587 …E( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK_FALSE", Catch::ResultDisposition::ContinueOnFailure | C…
17588 #define CATCH_CHECKED_IF( ... ) INTERNAL_CATCH_IF( "CATCH_CHECKED_IF", Catch::ResultDisposition::Co…
17589 #define CATCH_CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CATCH_CHECKED_ELSE", Catch::ResultDispositi…
17590 …( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK_NOFAIL", Catch::ResultDisposition::ContinueOnFailure | C…
17592 #define CATCH_CHECK_THROWS( ... ) INTERNAL_CATCH_THROWS( "CATCH_CHECK_THROWS", Catch::ResultDispos…
17593 …nType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_AS", exceptionType, Catch::ResultDisposition…
17594 …, matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "CATCH_CHECK_THROWS_WITH", Catch::ResultDisposition…
17596 …TERNAL_CATCH_THROWS_MATCHES( "CATCH_CHECK_THROWS_MATCHES", exceptionType, Catch::ResultDisposition…
17598 #define CATCH_CHECK_NOTHROW( ... ) INTERNAL_CATCH_NO_THROW( "CATCH_CHECK_NOTHROW", Catch::ResultDis…
17601 #define CATCH_CHECK_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "CATCH_CHECK_THAT", matcher, Catch::R…
17603 …_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "CATCH_REQUIRE_THAT", matcher, Catch::ResultDisposition…
17608 #define CATCH_WARN( msg ) INTERNAL_CATCH_MSG( "CATCH_WARN", Catch::ResultWas::Warning, Catch::Resul…
17617 …ine CATCH_FAIL( ... ) INTERNAL_CATCH_MSG( "CATCH_FAIL", Catch::ResultWas::ExplicitFailure, Catch::…
17618 …IL_CHECK( ... ) INTERNAL_CATCH_MSG( "CATCH_FAIL_CHECK", Catch::ResultWas::ExplicitFailure, Catch::…
17619 #define CATCH_SUCCEED( ... ) INTERNAL_CATCH_MSG( "CATCH_SUCCEED", Catch::ResultWas::Ok, Catch::Resu…
17671 #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS_…
17672 …UIRE_FALSE( ... ) INTERNAL_CATCH_TEST( "REQUIRE_FALSE", Catch::ResultDisposition::Normal | Catch::…
17674 #define REQUIRE_THROWS( ... ) INTERNAL_CATCH_THROWS( "REQUIRE_THROWS", Catch::ResultDisposition::No…
17675 …ptionType ) INTERNAL_CATCH_THROWS_AS( "REQUIRE_THROWS_AS", exceptionType, Catch::ResultDisposition…
17676 …expr, matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "REQUIRE_THROWS_WITH", Catch::ResultDisposition…
17678 …) INTERNAL_CATCH_THROWS_MATCHES( "REQUIRE_THROWS_MATCHES", exceptionType, Catch::ResultDisposition…
17680 #define REQUIRE_NOTHROW( ... ) INTERNAL_CATCH_NO_THROW( "REQUIRE_NOTHROW", Catch::ResultDisposition…
17682 #define CHECK( ... ) INTERNAL_CATCH_TEST( "CHECK", Catch::ResultDisposition::ContinueOnFailure, __V…
17683 …K_FALSE( ... ) INTERNAL_CATCH_TEST( "CHECK_FALSE", Catch::ResultDisposition::ContinueOnFailure | C…
17684 #define CHECKED_IF( ... ) INTERNAL_CATCH_IF( "CHECKED_IF", Catch::ResultDisposition::ContinueOnFail…
17685 #define CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CHECKED_ELSE", Catch::ResultDisposition::Continue…
17686 …NOFAIL( ... ) INTERNAL_CATCH_TEST( "CHECK_NOFAIL", Catch::ResultDisposition::ContinueOnFailure | C…
17688 #define CHECK_THROWS( ... ) INTERNAL_CATCH_THROWS( "CHECK_THROWS", Catch::ResultDisposition::Conti…
17689 …ceptionType ) INTERNAL_CATCH_THROWS_AS( "CHECK_THROWS_AS", exceptionType, Catch::ResultDisposition…
17690 …( expr, matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "CHECK_THROWS_WITH", Catch::ResultDisposition…
17692 …r ) INTERNAL_CATCH_THROWS_MATCHES( "CHECK_THROWS_MATCHES", exceptionType, Catch::ResultDisposition…
17694 #define CHECK_NOTHROW( ... ) INTERNAL_CATCH_NO_THROW( "CHECK_NOTHROW", Catch::ResultDisposition::Co…
17697 #define CHECK_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "CHECK_THAT", matcher, Catch::ResultDisposi…
17699 #define REQUIRE_THAT( arg, matcher ) INTERNAL_CHECK_THAT( "REQUIRE_THAT", matcher, Catch::ResultDis…
17704 #define WARN( msg ) INTERNAL_CATCH_MSG( "WARN", Catch::ResultWas::Warning, Catch::ResultDisposition…
17713 #define FAIL( ... ) INTERNAL_CATCH_MSG( "FAIL", Catch::ResultWas::ExplicitFailure, Catch::ResultDis…
17714 …ine FAIL_CHECK( ... ) INTERNAL_CATCH_MSG( "FAIL_CHECK", Catch::ResultWas::ExplicitFailure, Catch::…
17715 #define SUCCEED( ... ) INTERNAL_CATCH_MSG( "SUCCEED", Catch::ResultWas::Ok, Catch::ResultDispositio…
17772 using Catch::Detail::Approx;
17949 using Catch::Detail::Approx;