mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Piecemeal includes in extra-tests
This commit is contained in:
parent
17281c09c3
commit
2b696c4388
@ -3,7 +3,7 @@
|
||||
// and expressions in assertion macros are not run.
|
||||
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
TEST_CASE("Tests that run") {
|
||||
// All of these should be run and be reported
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
namespace Catch {
|
||||
[[noreturn]]
|
||||
|
@ -10,7 +10,7 @@ std::string fallbackStringifier(T const&) {
|
||||
}
|
||||
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
struct foo {
|
||||
explicit operator bool() const {
|
||||
|
@ -5,7 +5,7 @@
|
||||
// will be deleted soon :-)
|
||||
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
struct Hidden {};
|
||||
|
||||
|
@ -2,7 +2,9 @@
|
||||
// Test that the benchmarking support macros compile properly with the single header
|
||||
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <catch2/benchmark/catch_benchmark.hpp>
|
||||
#include <catch2/catch_generators_specific.hpp>
|
||||
|
||||
namespace {
|
||||
std::uint64_t factorial(std::uint64_t number) {
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include <catch2/catch_default_main.hpp>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
TEST_CASE("Catch2 did survive compilation with windows.h", "[compile-test]") {
|
||||
SUCCEED();
|
||||
|
Loading…
Reference in New Issue
Block a user