mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 05:59:24 +00:00
Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
parent
cdc64a138b
commit
a695eb9006
37 changed files with 1045 additions and 966 deletions
|
@ -19,6 +19,7 @@ namespace Catch {
|
|||
class TestRegistry : public ITestCaseRegistry {
|
||||
public:
|
||||
TestRegistry() : m_unnamedCount( 0 ) {}
|
||||
virtual ~TestRegistry();
|
||||
|
||||
virtual void registerTest( const TestCaseInfo& testInfo ) {
|
||||
if( testInfo.getName() == "" ) {
|
||||
|
@ -71,6 +72,7 @@ namespace Catch {
|
|||
public:
|
||||
|
||||
FreeFunctionTestCase( TestFunction fun ) : m_fun( fun ) {}
|
||||
virtual ~FreeFunctionTestCase();
|
||||
|
||||
virtual void invoke() const {
|
||||
m_fun();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue