Include correct header file for catch

This commit is contained in:
Magnus Hellströmer
2024-09-08 21:14:28 +02:00
parent 0dc45f056e
commit 6c5ff66067
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#define CATCH_CONFIG_RUNNER #define CATCH_CONFIG_RUNNER
#include <QtGui/QGuiApplication> #include <QtGui/QGuiApplication>
#include <catch2/catch.hpp> #include <catch2/catch_all.hpp>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {

View File

@@ -1,6 +1,6 @@
#include "../../../sources/borderproperties.h" #include "../../../sources/borderproperties.h"
#include <catch2/catch.hpp> #include <catch2/catch_all.hpp>
TEST_CASE("BorderProperties") TEST_CASE("BorderProperties")
{ {

View File

@@ -1,6 +1,6 @@
#include "../../../sources/qet.h" #include "../../../sources/qet.h"
#include <catch2/catch.hpp> #include <catch2/catch_all.hpp>
TEST_CASE("qet stringToFileName") TEST_CASE("qet stringToFileName")
{ {

View File

@@ -1,3 +1,3 @@
#include <catch2/catch.hpp> #include <catch2/catch_all.hpp>
TEST_CASE("My first test with Catch2", "[fancy]") { REQUIRE(0 == 0); } TEST_CASE("My first test with Catch2", "[fancy]") { REQUIRE(0 == 0); }