mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
91c1556078
We could probably toss it away completely, currently it is used only by TeamCity reporter.
92 lines
2.8 KiB
C++
92 lines
2.8 KiB
C++
/*
|
|
* 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)
|
|
*/
|
|
#ifndef TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
|
#define TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|
|
|
|
// Collect all the implementation files together here
|
|
// These are the equivalent of what would usually be cpp files
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Wweak-vtables"
|
|
#endif
|
|
|
|
|
|
#include "internal/catch_notimplemented_exception.h"
|
|
|
|
|
|
// Temporary hack to fix separately provided reporters
|
|
#include "../reporters/catch_reporter_bases.hpp"
|
|
#include "catch_reporter_registrars.hpp"
|
|
//
|
|
|
|
#include "internal/catch_leak_detector.h"
|
|
|
|
|
|
#include "../catch_session.hpp"
|
|
#include "catch_stream.hpp"
|
|
#include "catch_test_spec.hpp"
|
|
#include "catch_test_case_tracker.hpp"
|
|
|
|
// Cpp files will be included in the single-header file here
|
|
// ~*~* CATCH_CPP_STITCH_PLACE *~*~
|
|
|
|
namespace Catch {
|
|
LeakDetector leakDetector;
|
|
|
|
// These are all here to avoid warnings about not having any out of line
|
|
// virtual methods
|
|
NonCopyable::~NonCopyable() {}
|
|
IStream::~IStream() noexcept {}
|
|
FileStream::~FileStream() noexcept {}
|
|
CoutStream::~CoutStream() noexcept {}
|
|
DebugOutStream::~DebugOutStream() noexcept {}
|
|
StreamBufBase::~StreamBufBase() noexcept {}
|
|
IContext::~IContext() {}
|
|
IResultCapture::~IResultCapture() {}
|
|
ITestCase::~ITestCase() {}
|
|
ITestCaseRegistry::~ITestCaseRegistry() {}
|
|
IRegistryHub::~IRegistryHub() {}
|
|
IMutableRegistryHub::~IMutableRegistryHub() {}
|
|
IExceptionTranslator::~IExceptionTranslator() {}
|
|
IExceptionTranslatorRegistry::~IExceptionTranslatorRegistry() {}
|
|
IReporterFactory::~IReporterFactory() {}
|
|
IReporterRegistry::~IReporterRegistry() {}
|
|
IStreamingReporter::~IStreamingReporter() {}
|
|
AssertionStats::~AssertionStats() {}
|
|
SectionStats::~SectionStats() {}
|
|
TestCaseStats::~TestCaseStats() {}
|
|
TestGroupStats::~TestGroupStats() {}
|
|
TestRunStats::~TestRunStats() {}
|
|
|
|
IRunner::~IRunner() {}
|
|
IMutableContext::~IMutableContext() {}
|
|
IConfig::~IConfig() {}
|
|
WildcardPattern::~WildcardPattern() {}
|
|
TestSpec::Pattern::~Pattern() {}
|
|
TestSpec::NamePattern::~NamePattern() {}
|
|
TestSpec::TagPattern::~TagPattern() {}
|
|
TestSpec::ExcludedPattern::~ExcludedPattern() {}
|
|
Matchers::Impl::MatcherUntypedBase::~MatcherUntypedBase() {}
|
|
|
|
void Config::dummy() {}
|
|
|
|
namespace TestCaseTracking {
|
|
ITracker::~ITracker() {}
|
|
TrackerBase::~TrackerBase() {}
|
|
SectionTracker::~SectionTracker() {}
|
|
IndexTracker::~IndexTracker() {}
|
|
}
|
|
}
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
|
|
#endif // TWOBLUECUBES_CATCH_IMPL_HPP_INCLUDED
|