Started work on splitting out .cpp files from header files

This commit is contained in:
Martin Hořeňovský
2017-07-06 22:28:42 +02:00
parent 0016362f69
commit fc32165d48
38 changed files with 403 additions and 354 deletions

View File

@@ -12,6 +12,7 @@
#include "catch_test_case_info.h"
#include "catch_test_spec.hpp"
#include "catch_context.h"
#include "catch_interfaces_config.h"
#include <vector>
#include <set>
@@ -119,6 +120,9 @@ namespace Catch {
std::ios_base::Init m_ostreamInit; // Forces cout/ cerr to be initialised
};
TestRegistry::~TestRegistry() {}
///////////////////////////////////////////////////////////////////////////
class FreeFunctionTestCase : public ITestCase {
@@ -136,6 +140,9 @@ namespace Catch {
TestFunction m_fun;
};
FreeFunctionTestCase::~FreeFunctionTestCase() {}
inline std::string extractClassName( std::string const& classOrQualifiedMethodName ) {
std::string className = classOrQualifiedMethodName;
if( startsWith( className, '&' ) )