diff options
| author | Martin Hořeňovský | 2024-04-10 12:05:46 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2024-04-10 12:05:46 +0200 |
| commit | b5373dadca40b7edc8570cf9470b9b1cb1934d40 (patch) | |
| tree | cc67b63ea308c37d52b73de6e94d09d3e8342aba /extras/catch_amalgamated.cpp | |
| parent | cd8f97e6c7f6aaf332992f83bf9d7ee7f357f85e (diff) | |
| download | catch3-3.5.4.tar.gz | |
v3.5.4v3.5.4
Diffstat (limited to 'extras/catch_amalgamated.cpp')
| -rw-r--r-- | extras/catch_amalgamated.cpp | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/extras/catch_amalgamated.cpp b/extras/catch_amalgamated.cpp index c3fbc061..6aa67884 100644 --- a/extras/catch_amalgamated.cpp +++ b/extras/catch_amalgamated.cpp @@ -6,8 +6,8 @@ // SPDX-License-Identifier: BSL-1.0 -// Catch v3.5.3 -// Generated: 2024-03-01 22:05:56.038084 +// Catch v3.5.4 +// Generated: 2024-04-10 12:03:46.281848 // ---------------------------------------------------------- // This file is an amalgamation of multiple different files. // You probably shouldn't edit it directly. @@ -187,7 +187,7 @@ namespace Catch { double const* last, Estimator& estimator ) { auto n = static_cast<size_t>( last - first ); - std::uniform_int_distribution<size_t> dist( 0, n - 1 ); + Catch::uniform_integer_distribution<size_t> dist( 0, n - 1 ); sample out; out.reserve( resamples ); @@ -807,14 +807,16 @@ namespace Catch { // Insert the default reporter if user hasn't asked for a specific one if ( m_data.reporterSpecifications.empty() ) { - m_data.reporterSpecifications.push_back( { #if defined( CATCH_CONFIG_DEFAULT_REPORTER ) - CATCH_CONFIG_DEFAULT_REPORTER, + const auto default_spec = CATCH_CONFIG_DEFAULT_REPORTER; #else - "console", + const auto default_spec = "console"; #endif - {}, {}, {} - } ); + auto parsed = parseReporterSpec(default_spec); + CATCH_ENFORCE( parsed, + "Cannot parse the provided default reporter spec: '" + << default_spec << '\'' ); + m_data.reporterSpecifications.push_back( std::move( *parsed ) ); } if ( enableBazelEnvSupport() ) { @@ -2271,7 +2273,7 @@ namespace Catch { } Version const& libraryVersion() { - static Version version( 3, 5, 3, "", 0 ); + static Version version( 3, 5, 4, "", 0 ); return version; } @@ -6601,6 +6603,8 @@ namespace Catch { return getRegistryHub().getTestCaseRegistry().getAllTestsSorted( config ); } + TestRegistry::~TestRegistry() = default; + void TestRegistry::registerTest(Detail::unique_ptr<TestCaseInfo> testInfo, Detail::unique_ptr<ITestInvoker> testInvoker) { m_handles.emplace_back(testInfo.get(), testInvoker.get()); m_viewed_test_infos.push_back(testInfo.get()); |