Lines Matching refs:gtest
19 option(gtest_build_tests "Build all of gtest's own tests." OFF)
21 option(gtest_build_samples "Build gtest's sample programs." OFF)
23 option(gtest_disable_pthreads "Disable uses of pthreads in gtest." OFF)
42 project(gtest CXX C)
64 # Defines the gtest & gtest_main libraries. User tests should link
68 # are used for other targets, to ensure that gtest can be compiled by a user
70 cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
72 target_link_libraries(gtest_main gtest)
76 # Samples on how to link user tests with gtest or gtest_main.
91 cxx_executable(sample9_unittest samples gtest)
92 cxx_executable(sample10_unittest samples gtest)
114 cxx_test(gtest-death-test_test gtest_main)
115 cxx_test(gtest_environment_test gtest)
116 cxx_test(gtest-filepath_test gtest_main)
117 cxx_test(gtest-linked_ptr_test gtest_main)
118 cxx_test(gtest-listener_test gtest_main)
120 cxx_test(gtest-message_test gtest_main)
121 cxx_test(gtest_no_test_unittest gtest)
122 cxx_test(gtest-options_test gtest_main)
123 cxx_test(gtest-param-test_test gtest
124 test/gtest-param-test2_test.cc)
125 cxx_test(gtest-port_test gtest_main)
127 cxx_test(gtest-printers_test gtest_main)
130 cxx_test(gtest_repeat_test gtest)
132 cxx_test(gtest_stress_test gtest)
133 cxx_test(gtest-test-part_test gtest_main)
134 cxx_test(gtest_throw_on_failure_ex_test gtest)
135 cxx_test(gtest-typed-test_test gtest_main
136 test/gtest-typed-test2_test.cc)
138 cxx_test(gtest-unittest-api_test gtest)
144 src/gtest-all.cc)
146 src/gtest-all.cc src/gtest_main.cc)
148 src/gtest-all.cc src/gtest_main.cc)
150 cxx_test_with_flags(gtest-death-test_ex_nocatch_test
152 gtest test/gtest-death-test_ex_test.cc)
153 cxx_test_with_flags(gtest-death-test_ex_catch_test
155 gtest test/gtest-death-test_ex_test.cc)
161 src/gtest-all.cc src/gtest_main.cc)
176 src/gtest-all.cc src/gtest_main.cc)
178 cxx_test_with_flags(gtest-tuple_test "${cxx_use_own_tuple}"
179 gtest_main_use_own_tuple test/gtest-tuple_test.cc)
183 test/gtest-param-test_test.cc test/gtest-param-test2_test.cc)
189 cxx_executable(gtest_break_on_failure_unittest_ test gtest)
204 cxx_executable(gtest_color_test_ test gtest)
207 cxx_executable(gtest_env_var_test_ test gtest)
210 cxx_executable(gtest_filter_unittest_ test gtest)
216 cxx_executable(gtest_list_tests_unittest_ test gtest)
219 cxx_executable(gtest_output_test_ test gtest)
222 cxx_executable(gtest_shuffle_test_ test gtest)
231 cxx_executable(gtest_uninitialized_test_ test gtest)
238 cxx_executable(gtest_xml_output_unittest_ test gtest)