Re-enabled unit-tests, updated catch2, started loader test

feature/test-load
mandlm 2019-02-27 17:33:10 +01:00
parent 5c6ed8191b
commit 271344dd6b
4 changed files with 9 additions and 2 deletions

View File

@ -12,4 +12,4 @@ include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_subdirectory(source)
#add_subdirectory(test)
add_subdirectory(test)

View File

@ -2,7 +2,7 @@
qt/5.12.0@bincrafters/stable
protobuf/3.6.1@bincrafters/stable
protoc_installer/3.6.1@bincrafters/stable
catch2/2.4.2@bincrafters/stable
catch2/2.5.0@bincrafters/stable
[generators]
cmake

View File

@ -7,6 +7,7 @@ add_executable(${PROJECT_NAME}
main.cpp
dummy.cpp
Age.cpp
loadfile.cpp
)
target_link_libraries(${PROJECT_NAME}

6
test/loadfile.cpp Normal file
View File

@ -0,0 +1,6 @@
#include <catch2/catch.hpp>
TEST_CASE("blah")
{
REQUIRE(true);
}