Move matcher implementation to their own subfolder

In the future we can expect many more matchers, so let's give them
a place to live.

Also moved matcher-related internal files to `internal` subfolder.
Ideally we should sort out all of our source code, but that will
have to come later.
This commit is contained in:
Martin Hořeňovský
2020-02-20 13:57:24 +01:00
parent 40e35d4318
commit c3013a6251
25 changed files with 47 additions and 50 deletions

View File

@@ -5,7 +5,7 @@
#include <catch2/catch_approx.h>
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_matchers_string.h>
#include <catch2/matchers/catch_matchers_string.h>
#include <catch2/catch_test_spec_parser.h>
#include <catch2/catch_test_case_info.h>
#include <catch2/catch_config.hpp>

View File

@@ -1,5 +1,5 @@
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_matchers_vector.h>
#include <catch2/matchers/catch_matchers_vector.h>
#include <catch2/catch_string_manip.h>
static const char * const no_whitespace = "There is no extra whitespace here";

View File

@@ -3,8 +3,8 @@
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include <catch2/catch_matchers_string.h>
#include <catch2/catch_matchers_vector.h>
#include <catch2/matchers/catch_matchers_string.h>
#include <catch2/matchers/catch_matchers_vector.h>
#include <catch2/catch_tag_alias_registry.h>
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_test_case_info.h>

View File

@@ -1,5 +1,5 @@
#include <catch2/catch_enum_values_registry.h>
#include <catch2/catch_matchers_vector.h>
#include <catch2/matchers/catch_matchers_vector.h>
#include <catch2/catch_test_macros.hpp>
enum class EnumClass3 { Value1, Value2, Value3, Value4 };

View File

@@ -29,7 +29,7 @@ std::ostream& operator<<(std::ostream& out, foo::helper_1403 const&) {
///////////////////////////////
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_matchers_string.h>
#include <catch2/matchers/catch_matchers_string.h>
#include <cstring>

View File

@@ -4,7 +4,7 @@
*/
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_matchers_string.h>
#include <catch2/matchers/catch_matchers_string.h>
#include <string>
#include <stdexcept>

View File

@@ -4,12 +4,12 @@
*/
#include <catch2/catch_test_macros.hpp>
#include <catch2/catch_matchers_exception.hpp>
#include <catch2/catch_matchers_floating.h>
#include <catch2/catch_matchers_generic.hpp>
#include <catch2/catch_matchers_string.h>
#include <catch2/catch_matchers_vector.h>
#include <catch2/catch_matchers_templates.hpp>
#include <catch2/matchers/catch_matchers_exception.hpp>
#include <catch2/matchers/catch_matchers_floating.h>
#include <catch2/matchers/catch_matchers_generic.hpp>
#include <catch2/matchers/catch_matchers_string.h>
#include <catch2/matchers/catch_matchers_vector.h>
#include <catch2/matchers/catch_matchers_templates.hpp>
#include <algorithm>
#include <cmath>