Coverage decorator (#384)

Add code coverage for colors and decorators.
This commit is contained in:
Arthur Sonzogni
2022-04-26 17:04:34 +02:00
committed by GitHub
parent 764c24ef40
commit 04b36df567
14 changed files with 410 additions and 12 deletions

View File

@@ -32,6 +32,12 @@ add_executable(tests
src/ftxui/component/screen_interactive_test.cpp
src/ftxui/component/terminal_input_parser_test.cpp
src/ftxui/component/toggle_test.cpp
src/ftxui/dom/blink_test.cpp
src/ftxui/dom/bold_test.cpp
src/ftxui/dom/border_test.cpp
src/ftxui/dom/separator_test.cpp
src/ftxui/dom/color_test.cpp
src/ftxui/dom/dim_test.cpp
src/ftxui/dom/flexbox_helper_test.cpp
src/ftxui/dom/flexbox_test.cpp
src/ftxui/dom/gauge_test.cpp
@@ -39,7 +45,9 @@ add_executable(tests
src/ftxui/dom/hbox_test.cpp
src/ftxui/dom/table_test.cpp
src/ftxui/dom/text_test.cpp
src/ftxui/dom/underlined_test.cpp
src/ftxui/dom/vbox_test.cpp
src/ftxui/screen/color_test.cpp
src/ftxui/screen/string_test.cpp
)
@@ -54,7 +62,10 @@ target_include_directories(tests
ftxui_set_options(tests)
include(GoogleTest)
gtest_discover_tests(tests)
gtest_discover_tests(tests
DISCOVERY_TIMEOUT 600
)
include(cmake/ftxui_benchmark.cmake)