mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 05:59:24 +00:00
Made ITestCase a shared object
This commit is contained in:
parent
a67d833091
commit
9c6ce97f01
6 changed files with 19 additions and 79 deletions
|
@ -11,12 +11,10 @@
|
|||
#include <vector>
|
||||
|
||||
namespace Catch {
|
||||
struct ITestCase {
|
||||
struct ITestCase : IShared {
|
||||
virtual void invoke () const = 0;
|
||||
protected:
|
||||
virtual ~ITestCase();
|
||||
virtual void invoke () const = 0;
|
||||
virtual ITestCase* clone() const = 0;
|
||||
virtual bool operator == ( const ITestCase& other ) const = 0;
|
||||
virtual bool operator < ( const ITestCase& other ) const = 0;
|
||||
};
|
||||
|
||||
class TestCaseInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue