diff options
| author | Martin Hořeňovský | 2020-03-29 16:41:58 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-03-29 21:32:13 +0200 |
| commit | 151dccbd3161715be284ddd68be6f20dbae29f1d (patch) | |
| tree | 0b28ba63b9bbbef1daef143b7f5c611af5d0e161 /examples | |
| parent | 4d63c3640222f1dd45e629a526cbd775509c0667 (diff) | |
| download | catch3-151dccbd3161715be284ddd68be6f20dbae29f1d.tar.gz | |
Remove catch.hpp
This was an old "include all" header, that we no longer want to be
usable, to make the include differences in new versions explicit.
We will introduce new "include all" headers later, in the form of
`catch_all.hpp`, `catch_matchers_all.hpp` and so on...
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/010-TestCase.cpp | 2 | ||||
| -rw-r--r-- | examples/020-TestCase-1.cpp | 2 | ||||
| -rw-r--r-- | examples/020-TestCase-2.cpp | 2 | ||||
| -rw-r--r-- | examples/030-Asn-Require-Check.cpp | 2 | ||||
| -rw-r--r-- | examples/120-Bdd-ScenarioGivenWhenThen.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/examples/010-TestCase.cpp b/examples/010-TestCase.cpp index 9c676f82..8eaa1c0e 100644 --- a/examples/010-TestCase.cpp +++ b/examples/010-TestCase.cpp @@ -4,7 +4,7 @@ #include <catch2/catch_default_main.hpp> // And write tests in the same file: -#include <catch2/catch.hpp> +#include <catch2/catch_test_macros.hpp> static int Factorial( int number ) { return number <= 1 ? number : Factorial( number - 1 ) * number; // fail diff --git a/examples/020-TestCase-1.cpp b/examples/020-TestCase-1.cpp index 76e25dad..c734d029 100644 --- a/examples/020-TestCase-1.cpp +++ b/examples/020-TestCase-1.cpp @@ -6,7 +6,7 @@ // Let Catch provide main(): #include <catch2/catch_default_main.hpp> -#include <catch2/catch.hpp> +#include <catch2/catch_test_macros.hpp> TEST_CASE( "1: All test cases reside in other .cpp files (empty)", "[multi-file:1]" ) { } diff --git a/examples/020-TestCase-2.cpp b/examples/020-TestCase-2.cpp index 43c0aee0..3f5767b3 100644 --- a/examples/020-TestCase-2.cpp +++ b/examples/020-TestCase-2.cpp @@ -2,7 +2,7 @@ // main() provided by Catch in file 020-TestCase-1.cpp. -#include <catch2/catch.hpp> +#include <catch2/catch_test_macros.hpp> static int Factorial( int number ) { return number <= 1 ? number : Factorial( number - 1 ) * number; // fail diff --git a/examples/030-Asn-Require-Check.cpp b/examples/030-Asn-Require-Check.cpp index 84935bbc..f638afae 100644 --- a/examples/030-Asn-Require-Check.cpp +++ b/examples/030-Asn-Require-Check.cpp @@ -10,7 +10,7 @@ // main() provided in 000-CatchMain.cpp -#include <catch2/catch.hpp> +#include <catch2/catch_test_macros.hpp> static std::string one() { return "1"; diff --git a/examples/120-Bdd-ScenarioGivenWhenThen.cpp b/examples/120-Bdd-ScenarioGivenWhenThen.cpp index d1b9ce55..97336a70 100644 --- a/examples/120-Bdd-ScenarioGivenWhenThen.cpp +++ b/examples/120-Bdd-ScenarioGivenWhenThen.cpp @@ -2,7 +2,7 @@ // main() provided in 000-CatchMain.cpp -#include <catch2/catch.hpp> +#include <catch2/catch_test_macros.hpp> SCENARIO( "vectors can be sized and resized", "[vector]" ) { |