2012-08-06 21:16:53 +02:00
|
|
|
/*
|
|
|
|
* Created by Phil on 5/8/2012.
|
|
|
|
* Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
|
|
|
|
*
|
|
|
|
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
*/
|
2012-09-17 07:42:29 +02:00
|
|
|
#ifndef TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
|
|
|
#define TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
2012-08-06 21:16:53 +02:00
|
|
|
|
2012-08-08 09:50:38 +02:00
|
|
|
// Collect all the implementation files together here
|
|
|
|
// These are the equivalent of what would usually be cpp files
|
2012-08-13 08:46:10 +02:00
|
|
|
|
2012-08-16 19:47:41 +02:00
|
|
|
#ifdef __clang__
|
2012-08-13 08:46:10 +02:00
|
|
|
#pragma clang diagnostic push
|
|
|
|
#pragma clang diagnostic ignored "-Wweak-vtables"
|
2012-08-16 19:47:41 +02:00
|
|
|
#endif
|
2012-08-13 08:46:10 +02:00
|
|
|
|
2017-07-12 15:05:01 +02:00
|
|
|
|
|
|
|
#include "internal/catch_notimplemented_exception.h"
|
|
|
|
|
|
|
|
|
2017-07-10 11:33:18 +02:00
|
|
|
// Temporary hack to fix separately provided reporters
|
|
|
|
#include "../reporters/catch_reporter_bases.hpp"
|
|
|
|
#include "catch_reporter_registrars.hpp"
|
|
|
|
//
|
|
|
|
|
2017-07-12 14:47:36 +02:00
|
|
|
#include "internal/catch_leak_detector.h"
|
|
|
|
|
2017-07-10 11:33:18 +02:00
|
|
|
|
2015-08-05 20:02:17 +02:00
|
|
|
#include "../catch_session.hpp"
|
2013-12-03 19:52:41 +01:00
|
|
|
#include "catch_test_spec.hpp"
|
2015-11-02 07:14:52 +01:00
|
|
|
#include "catch_test_case_tracker.hpp"
|
2012-08-13 08:46:10 +02:00
|
|
|
|
2017-07-09 20:58:51 +02:00
|
|
|
// Cpp files will be included in the single-header file here
|
|
|
|
// ~*~* CATCH_CPP_STITCH_PLACE *~*~
|
|
|
|
|
2012-08-13 08:46:10 +02:00
|
|
|
namespace Catch {
|
2017-07-12 14:47:36 +02:00
|
|
|
LeakDetector leakDetector;
|
|
|
|
|
2015-11-02 07:14:52 +01:00
|
|
|
// These are all here to avoid warnings about not having any out of line
|
|
|
|
// virtual methods
|
2012-08-13 08:46:10 +02:00
|
|
|
NonCopyable::~NonCopyable() {}
|
2017-04-25 12:41:30 +02:00
|
|
|
IStream::~IStream() noexcept {}
|
|
|
|
FileStream::~FileStream() noexcept {}
|
|
|
|
CoutStream::~CoutStream() noexcept {}
|
|
|
|
DebugOutStream::~DebugOutStream() noexcept {}
|
|
|
|
StreamBufBase::~StreamBufBase() noexcept {}
|
2012-08-13 08:46:10 +02:00
|
|
|
IResultCapture::~IResultCapture() {}
|
2017-07-12 19:01:54 +02:00
|
|
|
ITestInvoker::~ITestInvoker() {}
|
2012-08-13 08:46:10 +02:00
|
|
|
ITestCaseRegistry::~ITestCaseRegistry() {}
|
|
|
|
IRegistryHub::~IRegistryHub() {}
|
|
|
|
IMutableRegistryHub::~IMutableRegistryHub() {}
|
|
|
|
IExceptionTranslator::~IExceptionTranslator() {}
|
|
|
|
IExceptionTranslatorRegistry::~IExceptionTranslatorRegistry() {}
|
|
|
|
IRunner::~IRunner() {}
|
|
|
|
IConfig::~IConfig() {}
|
|
|
|
|
|
|
|
void Config::dummy() {}
|
|
|
|
}
|
|
|
|
|
2012-08-16 19:47:41 +02:00
|
|
|
#ifdef __clang__
|
2012-08-13 08:46:10 +02:00
|
|
|
#pragma clang diagnostic pop
|
2012-08-16 19:47:41 +02:00
|
|
|
#endif
|
2012-09-17 07:42:29 +02:00
|
|
|
|
|
|
|
#endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|