mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 08:40:53 +01:00
Add Catch2 and Google Test on Cmake
ToDo: - Add compiling QElectroTech on Cmake (help needed) - more Tests? - Qt Test - Boost Test to test run qtcreator File > open => CMakeLists.txt
This commit is contained in:
9
tests/catch/main.cpp
Normal file
9
tests/catch/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#define CATCH_CONFIG_RUNNER
|
||||
#include <QtGui/QGuiApplication>
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
QGuiApplication app(argc, argv);
|
||||
return Catch::Session().run(argc, argv);
|
||||
}
|
||||
Reference in New Issue
Block a user