File indexing completed on 2025-01-30 10:02:48
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef CATCH_INTERFACES_TESTCASE_HPP_INCLUDED
0009 #define CATCH_INTERFACES_TESTCASE_HPP_INCLUDED
0010
0011 #include <vector>
0012
0013 namespace Catch {
0014
0015 struct TestCaseInfo;
0016 class TestCaseHandle;
0017 class IConfig;
0018
0019 class ITestCaseRegistry {
0020 public:
0021 virtual ~ITestCaseRegistry();
0022
0023 virtual std::vector<TestCaseInfo* > const& getAllInfos() const = 0;
0024 virtual std::vector<TestCaseHandle> const& getAllTests() const = 0;
0025 virtual std::vector<TestCaseHandle> const& getAllTestsSorted( IConfig const& config ) const = 0;
0026 };
0027
0028 }
0029
0030 #endif