Migrated ITestCase to std::shared_ptr
This commit is contained in:
parent
0844d6e867
commit
44cccde8b9
2 changed files with 4 additions and 3 deletions
|
@ -16,12 +16,13 @@ namespace Catch {
|
|||
|
||||
class TestSpec;
|
||||
|
||||
struct ITestCase : IShared {
|
||||
struct ITestCase {
|
||||
virtual void invoke () const = 0;
|
||||
protected:
|
||||
virtual ~ITestCase();
|
||||
};
|
||||
|
||||
using ITestCasePtr = std::shared_ptr<ITestCase>;
|
||||
|
||||
class TestCase;
|
||||
struct IConfig;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue