blob: 01522355e04f544dd3da6c8d60266ef36d80df35 [file] [log] [blame]
Phil Nash1091ca82012-08-06 20:16:53 +01001/*
2 * Created by Phil on 5/8/2012.
3 * Copyright 2012 Two Blue Cubes Ltd. All rights reserved.
4 *
5 * Distributed under the Boost Software License, Version 1.0. (See accompanying
6 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 */
Matt Wozniskif29c8982012-09-17 01:42:29 -04008#ifndef TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
9#define TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
Phil Nash5234b152012-08-06 08:33:15 +010010
Phil Nashffe986d2012-08-08 08:50:38 +010011// Collect all the implementation files together here
12// These are the equivalent of what would usually be cpp files
Phil Nasha695eb92012-08-13 07:46:10 +010013
Phil Nashcda21492012-08-16 18:47:41 +010014#ifdef __clang__
Phil Nasha695eb92012-08-13 07:46:10 +010015#pragma clang diagnostic push
16#pragma clang diagnostic ignored "-Wweak-vtables"
Phil Nashcda21492012-08-16 18:47:41 +010017#endif
Phil Nasha695eb92012-08-13 07:46:10 +010018
19#include "catch_runner.hpp"
Phil Nashda0ae952012-08-07 07:58:34 +010020#include "catch_registry_hub.hpp"
Phil Nash1091ca82012-08-06 20:16:53 +010021#include "catch_notimplemented_exception.hpp"
Phil Nash04774652012-08-07 08:18:48 +010022#include "catch_context_impl.hpp"
23#include "catch_console_colour_impl.hpp"
24#include "catch_generators_impl.hpp"
Phil Nashc597a892012-10-16 08:31:05 +010025#include "catch_assertionresult.hpp"
Phil Nashf8471862012-10-26 08:45:23 +010026#include "catch_expressionresult_builder.hpp"
Phil Nashddfe9632012-08-14 19:30:30 +010027#include "catch_test_case_info.hpp"
Phil Nash85c0e3d2012-09-21 07:48:03 +010028#include "catch_tags.hpp"
Phil Nashc4a089c2013-12-03 18:52:41 +000029#include "catch_test_spec.hpp"
Phil Nash7673a302012-11-15 22:15:41 +000030#include "catch_version.hpp"
Phil Nashb3acf452013-04-20 19:36:40 +010031#include "catch_text.hpp"
Phil Nash207b27b2013-02-02 19:58:04 +000032#include "catch_message.hpp"
Phil Nash1ece38e2013-04-08 21:36:08 +010033#include "catch_legacy_reporter_adapter.hpp"
Phil Nash63392542013-08-07 18:56:35 +010034#include "catch_timer.hpp"
Phil Nashc4a089c2013-12-03 18:52:41 +000035#include "catch_common.hpp"
36#include "catch_section.hpp"
37#include "catch_debugger.hpp"
Phil Nasha695eb92012-08-13 07:46:10 +010038
Phil Nash56d5c422012-08-23 20:08:50 +010039#include "../reporters/catch_reporter_xml.hpp"
40#include "../reporters/catch_reporter_junit.hpp"
Phil Nashfe981232012-12-05 08:40:53 +000041#include "../reporters/catch_reporter_console.hpp"
Phil Nash56d5c422012-08-23 20:08:50 +010042
Phil Nasha695eb92012-08-13 07:46:10 +010043namespace Catch {
44 NonCopyable::~NonCopyable() {}
45 IShared::~IShared() {}
Phil Nashad7445d2013-07-02 08:49:29 +010046 StreamBufBase::~StreamBufBase() throw() {}
Phil Nasha695eb92012-08-13 07:46:10 +010047 IContext::~IContext() {}
48 IResultCapture::~IResultCapture() {}
49 ITestCase::~ITestCase() {}
50 ITestCaseRegistry::~ITestCaseRegistry() {}
51 IRegistryHub::~IRegistryHub() {}
52 IMutableRegistryHub::~IMutableRegistryHub() {}
53 IExceptionTranslator::~IExceptionTranslator() {}
54 IExceptionTranslatorRegistry::~IExceptionTranslatorRegistry() {}
55 IReporter::~IReporter() {}
56 IReporterFactory::~IReporterFactory() {}
57 IReporterRegistry::~IReporterRegistry() {}
Phil Nashf9d92632012-11-25 21:43:36 +000058 IStreamingReporter::~IStreamingReporter() {}
Phil Nash7f04b562012-11-30 18:54:06 +000059 AssertionStats::~AssertionStats() {}
60 SectionStats::~SectionStats() {}
61 TestCaseStats::~TestCaseStats() {}
62 TestGroupStats::~TestGroupStats() {}
63 TestRunStats::~TestRunStats() {}
Phil Nash2ddb9d32013-08-15 18:39:55 +010064 CumulativeReporterBase::SectionNode::~SectionNode() {}
65 CumulativeReporterBase::~CumulativeReporterBase() {}
Phil Nash7f04b562012-11-30 18:54:06 +000066
Phil Nashbcf722e2013-01-03 09:04:46 +000067 StreamingReporterBase::~StreamingReporterBase() {}
Phil Nashfe981232012-12-05 08:40:53 +000068 ConsoleReporter::~ConsoleReporter() {}
Phil Nasha695eb92012-08-13 07:46:10 +010069 IRunner::~IRunner() {}
70 IMutableContext::~IMutableContext() {}
71 IConfig::~IConfig() {}
72 XmlReporter::~XmlReporter() {}
73 JunitReporter::~JunitReporter() {}
74 TestRegistry::~TestRegistry() {}
75 FreeFunctionTestCase::~FreeFunctionTestCase() {}
76 IGeneratorInfo::~IGeneratorInfo() {}
77 IGeneratorsForTest::~IGeneratorsForTest() {}
78
Phil Nash9444bbc2012-10-12 07:58:17 +010079 Matchers::Impl::StdString::Equals::~Equals() {}
80 Matchers::Impl::StdString::Contains::~Contains() {}
81 Matchers::Impl::StdString::StartsWith::~StartsWith() {}
82 Matchers::Impl::StdString::EndsWith::~EndsWith() {}
83
Phil Nasha695eb92012-08-13 07:46:10 +010084 void Config::dummy() {}
85
Phil Nash8255acf2012-11-30 19:29:03 +000086 INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( "xml", XmlReporter )
Phil Nasha695eb92012-08-13 07:46:10 +010087}
88
Phil Nashcda21492012-08-16 18:47:41 +010089#ifdef __clang__
Phil Nasha695eb92012-08-13 07:46:10 +010090#pragma clang diagnostic pop
Phil Nashcda21492012-08-16 18:47:41 +010091#endif
Matt Wozniskif29c8982012-09-17 01:42:29 -040092
93#endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED