mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Include correct header file for catch
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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")
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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); }
|
||||||
|
|||||||
Reference in New Issue
Block a user