Devirtualize test case registration

This commit is contained in:
Martin Hořeňovský 2020-07-27 08:49:49 +02:00
parent c9b4867441
commit 125d4b4164
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -35,7 +35,7 @@ namespace Catch {
public: public:
~TestRegistry() override = default; ~TestRegistry() override = default;
virtual void registerTest( Detail::unique_ptr<TestCaseInfo> testInfo, Detail::unique_ptr<ITestInvoker> testInvoker ); void registerTest( Detail::unique_ptr<TestCaseInfo> testInfo, Detail::unique_ptr<ITestInvoker> testInvoker );
std::vector<TestCaseInfo*> const& getAllInfos() const override; std::vector<TestCaseInfo*> const& getAllInfos() const override;
std::vector<TestCaseHandle> const& getAllTests() const override; std::vector<TestCaseHandle> const& getAllTests() const override;