mirror of
https://gitlab.com/klmp200/fish.git
synced 2025-07-11 20:29:23 +00:00
settings 1
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.7)
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
project(fish_shell_tests)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
@ -11,7 +11,7 @@ include_directories(
|
||||
"${source_dir}/googlemock/include"
|
||||
)
|
||||
|
||||
set(SOURCE_FILES_TESTS main.cpp FishCoreTests.cpp FishUtilsTests.cpp)
|
||||
set(SOURCE_FILES_TESTS main.cpp FishCoreTests.cpp FishUtilsTests.cpp FishSettings.cpp )
|
||||
|
||||
add_executable(fish_tests ${SOURCE_FILES_TESTS})
|
||||
|
||||
|
3
fish_shell_tests/FishSettingsTests.cpp
Normal file
3
fish_shell_tests/FishSettingsTests.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include "../fish_shell/fish_types.h"
|
||||
#include "../fish_shell/fish_settings.h"
|
@ -7,6 +7,7 @@
|
||||
#include "../fish_shell/fish_utils.c"
|
||||
#include "../fish_shell/fish_commands.c"
|
||||
#include "../fish_shell/fish_globbing.c"
|
||||
#include "../fish_shell/fish_settings.c"
|
||||
|
||||
int main(int argc, char **argv){
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
|
Reference in New Issue
Block a user