diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f731895..2fd4e660 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,7 @@ set (LOOT_API_HEADERS ${LOOT_HEADERS} set (LOOT_TESTS_SRC "${CMAKE_SOURCE_DIR}/src/tests/main.cpp") set (LOOT_TESTS_HEADERS "${CMAKE_SOURCE_DIR}/src/tests/fixtures.h" - "${CMAKE_SOURCE_DIR}/src/tests/api/api.h") + "${CMAKE_SOURCE_DIR}/src/tests/api/test_api.h") source_group("Header Files" FILES ${LOOT_HEADERS} ${LOOT_GUI_HEADERS} ${LOOT_API_HEADERS} ${LOOT_TESTS_HEADERS}) diff --git a/src/tests/api/api.h b/src/tests/api/test_api.h similarity index 99% rename from src/tests/api/api.h rename to src/tests/api/test_api.h index 271edefe..e0e6f96d 100644 --- a/src/tests/api/api.h +++ b/src/tests/api/test_api.h @@ -25,7 +25,7 @@ along with LOOT. If not, see #ifndef LOOT_TEST_API #define LOOT_TEST_API -#include "../../api/api.h" +#include "api/api.h" #include "tests/fixtures.h" #include diff --git a/src/tests/main.cpp b/src/tests/main.cpp index fa414a19..c41c066e 100644 --- a/src/tests/main.cpp +++ b/src/tests/main.cpp @@ -22,7 +22,7 @@ . */ -#include "tests/api/api.h" +#include "api/test_api.h" int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv);