blob: c4959026155bb328cca161c6343aaef4f6e86b80 [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 Nash7673a302012-11-15 22:15:41 +000029#include "catch_version.hpp"
Phil Nashb3acf452013-04-20 19:36:40 +010030#include "catch_text.hpp"
Phil Nash207b27b2013-02-02 19:58:04 +000031#include "catch_message.hpp"
Phil Nash1ece38e2013-04-08 21:36:08 +010032#include "catch_legacy_reporter_adapter.hpp"
Phil Nash63392542013-08-07 18:56:35 +010033#include "catch_timer.hpp"
Phil Nasha695eb92012-08-13 07:46:10 +010034
Phil Nash56d5c422012-08-23 20:08:50 +010035#include "../reporters/catch_reporter_basic.hpp"
36#include "../reporters/catch_reporter_xml.hpp"
37#include "../reporters/catch_reporter_junit.hpp"
Phil Nashfe981232012-12-05 08:40:53 +000038#include "../reporters/catch_reporter_console.hpp"
Phil Nash56d5c422012-08-23 20:08:50 +010039
Phil Nasha695eb92012-08-13 07:46:10 +010040namespace Catch {
41 NonCopyable::~NonCopyable() {}
42 IShared::~IShared() {}
Phil Nashad7445d2013-07-02 08:49:29 +010043 StreamBufBase::~StreamBufBase() throw() {}
Phil Nasha695eb92012-08-13 07:46:10 +010044 IContext::~IContext() {}
45 IResultCapture::~IResultCapture() {}
46 ITestCase::~ITestCase() {}
47 ITestCaseRegistry::~ITestCaseRegistry() {}
48 IRegistryHub::~IRegistryHub() {}
49 IMutableRegistryHub::~IMutableRegistryHub() {}
50 IExceptionTranslator::~IExceptionTranslator() {}
51 IExceptionTranslatorRegistry::~IExceptionTranslatorRegistry() {}
52 IReporter::~IReporter() {}
53 IReporterFactory::~IReporterFactory() {}
54 IReporterRegistry::~IReporterRegistry() {}
Phil Nashf9d92632012-11-25 21:43:36 +000055 IStreamingReporter::~IStreamingReporter() {}
Phil Nash7f04b562012-11-30 18:54:06 +000056 AssertionStats::~AssertionStats() {}
57 SectionStats::~SectionStats() {}
58 TestCaseStats::~TestCaseStats() {}
59 TestGroupStats::~TestGroupStats() {}
60 TestRunStats::~TestRunStats() {}
Phil Nashbcf722e2013-01-03 09:04:46 +000061 TestGroupNode::~TestGroupNode() {}
62 TestRunNode::~TestRunNode() {}
Phil Nash7f04b562012-11-30 18:54:06 +000063
Phil Nasha695eb92012-08-13 07:46:10 +010064 BasicReporter::~BasicReporter() {}
Phil Nashbcf722e2013-01-03 09:04:46 +000065 StreamingReporterBase::~StreamingReporterBase() {}
Phil Nashfe981232012-12-05 08:40:53 +000066 ConsoleReporter::~ConsoleReporter() {}
Phil Nasha695eb92012-08-13 07:46:10 +010067 IRunner::~IRunner() {}
68 IMutableContext::~IMutableContext() {}
69 IConfig::~IConfig() {}
70 XmlReporter::~XmlReporter() {}
71 JunitReporter::~JunitReporter() {}
72 TestRegistry::~TestRegistry() {}
73 FreeFunctionTestCase::~FreeFunctionTestCase() {}
74 IGeneratorInfo::~IGeneratorInfo() {}
75 IGeneratorsForTest::~IGeneratorsForTest() {}
Phil Nash85c0e3d2012-09-21 07:48:03 +010076 TagParser::~TagParser() {}
77 TagExtracter::~TagExtracter() {}
78 TagExpressionParser::~TagExpressionParser() {}
Phil Nasha695eb92012-08-13 07:46:10 +010079
Phil Nash9444bbc2012-10-12 07:58:17 +010080 Matchers::Impl::StdString::Equals::~Equals() {}
81 Matchers::Impl::StdString::Contains::~Contains() {}
82 Matchers::Impl::StdString::StartsWith::~StartsWith() {}
83 Matchers::Impl::StdString::EndsWith::~EndsWith() {}
84
Phil Nasha695eb92012-08-13 07:46:10 +010085 void Config::dummy() {}
86
Phil Nash8255acf2012-11-30 19:29:03 +000087 INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( "basic", BasicReporter )
88 INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( "xml", XmlReporter )
89 INTERNAL_CATCH_REGISTER_LEGACY_REPORTER( "junit", JunitReporter )
Phil Nash56d5c422012-08-23 20:08:50 +010090
Phil Nasha695eb92012-08-13 07:46:10 +010091}
92
Phil Nashcda21492012-08-16 18:47:41 +010093#ifdef __clang__
Phil Nasha695eb92012-08-13 07:46:10 +010094#pragma clang diagnostic pop
Phil Nashcda21492012-08-16 18:47:41 +010095#endif
Matt Wozniskif29c8982012-09-17 01:42:29 -040096
97#endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED