Improve unit testing directory structure
Separate Qt tests and gtest tests Add a basic shadow of the project structure Add a few simple tests to demonstrate usage
This commit is contained in:
7
tests/src/App/Branding.cpp
Normal file
7
tests/src/App/Branding.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include "App/Branding.h"
|
||||
|
||||
TEST(Branding, one){
|
||||
QString ss {};
|
||||
}
|
||||
5
tests/src/App/CMakeLists.txt
Normal file
5
tests/src/App/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
target_sources(
|
||||
Tests_run
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Branding.cpp
|
||||
)
|
||||
Reference in New Issue
Block a user