Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Remove catch_external_interfaces.h

Its intent was to show which headers are expected to be useable by
Catch2's users, and to enforce their inclusion in the single header
distribution at the right place.

Given the new library model, the second use case is not needed and
the first one is better served with documentation and physical file
layout.
Commit
21b24e83262b6ba2b70011ee7c2625ea057988f4
Author
Martin Hořeňovský ·
Parents
0b2874b6b118

Files · Download .tar.gz

Changes

 src/CMakeLists.txt                     |  1 -
 src/catch2/catch.hpp                   |  2 --
 src/catch2/catch_external_interfaces.h | 20 --------------------
 3 files changed, 23 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5ccdeb69..d1cde1b7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -55,7 +55,6 @@ set(INTERNAL_HEADERS
     ${SOURCES_DIR}/catch_enum_values_registry.h
     ${SOURCES_DIR}/catch_errno_guard.h
     ${SOURCES_DIR}/catch_exception_translator_registry.h
-    ${SOURCES_DIR}/catch_external_interfaces.h
     ${SOURCES_DIR}/catch_fatal_condition.h
     ${SOURCES_DIR}/catch_generators.hpp
     ${SOURCES_DIR}/catch_generators_generic.hpp
diff --git a/src/catch2/catch.hpp b/src/catch2/catch.hpp
index 9e2e690a..7a6a7175 100644
--- a/src/catch2/catch.hpp
+++ b/src/catch2/catch.hpp
@@ -40,8 +40,6 @@
 #include <catch2/catch_objc.hpp>
 #endif
 
-#include <catch2/catch_external_interfaces.h>
-
 #endif // ! CATCH_CONFIG_IMPL_ONLY
 
 #if !defined(CATCH_CONFIG_IMPL_ONLY)
diff --git a/src/catch2/catch_external_interfaces.h b/src/catch2/catch_external_interfaces.h
deleted file mode 100644
index 94704fdd..00000000
--- a/src/catch2/catch_external_interfaces.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- *  Created by Martin on 17/08/2017.
- *
- *  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_EXTERNAL_INTERFACES_H_INCLUDED
-#define TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED
-
-#include <catch2/reporters/catch_reporter_bases.hpp>
-#include <catch2/catch_console_colour.h>
-#include <catch2/catch_reporter_registrars.hpp>
-
-// Allow users to base their work off existing reporters
-#include <catch2/reporters/catch_reporter_compact.h>
-#include <catch2/reporters/catch_reporter_console.h>
-#include <catch2/reporters/catch_reporter_junit.h>
-#include <catch2/reporters/catch_reporter_xml.h>
-
-#endif // TWOBLUECUBES_CATCH_EXTERNAL_INTERFACES_H_INCLUDED