Made ITestCase a shared object

This commit is contained in:
Phil Nash committed 2012-08-14 08:38:22 +01:00
1 parent a67d833091
commit 9c6ce97f01
6 files changed
+19 -79

No files matched your search

+3 -5
View File
@@ -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;