mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-25 05:55:40 +02:00
Made ITestCase a shared object
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user