mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Rename API test header.
So there's less ambiguity with includes.
This commit is contained in:
+1
-1
@@ -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})
|
||||
|
||||
|
||||
@@ -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 <boost/algorithm/string/predicate.hpp>
|
||||
+1
-1
@@ -22,7 +22,7 @@
|
||||
<http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "tests/api/api.h"
|
||||
#include "api/test_api.h"
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user