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
|
|
|
|
2015-08-05 20:02:17 +02:00
|
|
|
#include "../catch_session.hpp"
|
2017-07-06 22:28:42 +02:00
|
|
|
#include "catch_stream.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-06-29 12:18:14 +02:00
|
|
|
// These files are not included in the full (not single include) project
|
|
|
|
// as they are compiled as proper cpp files
|
|
|
|
#ifndef CATCH_CONFIG_FULL_PROJECT
|
2017-07-06 22:28:42 +02:00
|
|
|
# include "catch_assertionresult.cpp"
|
|
|
|
# include "catch_common.cpp"
|
|
|
|
# include "catch_console_colour.cpp"
|
|
|
|
# include "catch_context.cpp"
|
|
|
|
# include "catch_debugger.cpp"
|
|
|
|
# include "catch_matchers_string.cpp"
|
|
|
|
# include "catch_message.cpp"
|
|
|
|
# include "catch_notimplemented_exception.cpp"
|
|
|
|
# include "catch_registry_hub.cpp"
|
|
|
|
# include "catch_result_builder.hpp"
|
|
|
|
# include "catch_section.cpp"
|
|
|
|
# include "catch_startup_exception_registry.cpp"
|
2017-06-29 12:18:14 +02:00
|
|
|
# include "catch_stringref.cpp"
|
|
|
|
# include "catch_string.cpp"
|
|
|
|
# include "catch_stringbuilder.cpp"
|
|
|
|
# include "catch_stringdata.cpp"
|
2017-07-06 22:28:42 +02:00
|
|
|
# include "catch_tag_alias_registry.cpp"
|
|
|
|
# include "catch_test_case_info.cpp"
|
|
|
|
# include "catch_timer.cpp"
|
|
|
|
# include "catch_tostring.cpp"
|
|
|
|
# include "catch_version.cpp"
|
2017-06-29 12:18:14 +02:00
|
|
|
#endif
|
|
|
|
|
2015-08-05 20:02:17 +02:00
|
|
|
#include "../reporters/catch_reporter_multi.hpp"
|
2012-08-23 21:08:50 +02:00
|
|
|
#include "../reporters/catch_reporter_xml.hpp"
|
|
|
|
#include "../reporters/catch_reporter_junit.hpp"
|
2012-12-05 09:40:53 +01:00
|
|
|
#include "../reporters/catch_reporter_console.hpp"
|
2014-05-01 08:27:57 +02:00
|
|
|
#include "../reporters/catch_reporter_compact.hpp"
|
2012-08-23 21:08:50 +02:00
|
|
|
|
2012-08-13 08:46:10 +02:00
|
|
|
namespace Catch {
|
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
|
|
|
IContext::~IContext() {}
|
|
|
|
IResultCapture::~IResultCapture() {}
|
|
|
|
ITestCase::~ITestCase() {}
|
|
|
|
ITestCaseRegistry::~ITestCaseRegistry() {}
|
|
|
|
IRegistryHub::~IRegistryHub() {}
|
|
|
|
IMutableRegistryHub::~IMutableRegistryHub() {}
|
|
|
|
IExceptionTranslator::~IExceptionTranslator() {}
|
|
|
|
IExceptionTranslatorRegistry::~IExceptionTranslatorRegistry() {}
|
|
|
|
IReporterFactory::~IReporterFactory() {}
|
|
|
|
IReporterRegistry::~IReporterRegistry() {}
|
2012-11-25 22:43:36 +01:00
|
|
|
IStreamingReporter::~IStreamingReporter() {}
|
2012-11-30 19:54:06 +01:00
|
|
|
AssertionStats::~AssertionStats() {}
|
|
|
|
SectionStats::~SectionStats() {}
|
|
|
|
TestCaseStats::~TestCaseStats() {}
|
|
|
|
TestGroupStats::~TestGroupStats() {}
|
|
|
|
TestRunStats::~TestRunStats() {}
|
2013-08-15 19:39:55 +02:00
|
|
|
CumulativeReporterBase::SectionNode::~SectionNode() {}
|
|
|
|
CumulativeReporterBase::~CumulativeReporterBase() {}
|
2012-11-30 19:54:06 +01:00
|
|
|
|
2013-01-03 10:04:46 +01:00
|
|
|
StreamingReporterBase::~StreamingReporterBase() {}
|
2012-12-05 09:40:53 +01:00
|
|
|
ConsoleReporter::~ConsoleReporter() {}
|
2014-05-01 08:27:57 +02:00
|
|
|
CompactReporter::~CompactReporter() {}
|
2012-08-13 08:46:10 +02:00
|
|
|
IRunner::~IRunner() {}
|
|
|
|
IMutableContext::~IMutableContext() {}
|
|
|
|
IConfig::~IConfig() {}
|
|
|
|
XmlReporter::~XmlReporter() {}
|
|
|
|
JunitReporter::~JunitReporter() {}
|
2015-07-13 16:03:04 +02:00
|
|
|
WildcardPattern::~WildcardPattern() {}
|
2014-05-16 08:23:31 +02:00
|
|
|
TestSpec::Pattern::~Pattern() {}
|
|
|
|
TestSpec::NamePattern::~NamePattern() {}
|
|
|
|
TestSpec::TagPattern::~TagPattern() {}
|
|
|
|
TestSpec::ExcludedPattern::~ExcludedPattern() {}
|
2017-03-06 10:23:31 +01:00
|
|
|
Matchers::Impl::MatcherUntypedBase::~MatcherUntypedBase() {}
|
2012-08-13 08:46:10 +02:00
|
|
|
|
|
|
|
void Config::dummy() {}
|
2015-11-04 19:01:28 +01:00
|
|
|
|
2015-11-02 07:14:52 +01:00
|
|
|
namespace TestCaseTracking {
|
|
|
|
ITracker::~ITracker() {}
|
|
|
|
TrackerBase::~TrackerBase() {}
|
|
|
|
SectionTracker::~SectionTracker() {}
|
|
|
|
IndexTracker::~IndexTracker() {}
|
|
|
|
}
|
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 pop
|
2012-08-16 19:47:41 +02:00
|
|
|
#endif
|
2012-09-17 07:42:29 +02:00
|
|
|
|
|
|
|
#endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|