Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
f3511bf1
Commit
f3511bf1
authored
Aug 02, 2018
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning up and adding test changes to CMake
parent
bbc0ac9b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
24 deletions
+24
-24
CMakeLists.txt
googletest/CMakeLists.txt
+4
-4
Makefile.am
googletest/Makefile.am
+12
-12
BUILD.bazel
googletest/test/BUILD.bazel
+1
-1
googletest-param-test2-test.cc
googletest/test/googletest-param-test2-test.cc
+3
-3
googletest-test2_test.cc
googletest/test/googletest-test2_test.cc
+3
-3
gtest_unittest.cc
googletest/test/gtest_unittest.cc
+1
-1
No files found.
googletest/CMakeLists.txt
View file @
f3511bf1
...
...
@@ -239,11 +239,11 @@ if (gtest_build_tests)
src/gtest-all.cc src/gtest_main.cc
)
cxx_test_with_flags
(
gtest-tuple_test
"
${
cxx_use_own_tuple
}
"
gtest_main_use_own_tuple test/g
test-tuple_
test.cc
)
gtest_main_use_own_tuple test/g
oogletest-tuple-
test.cc
)
cxx_test_with_flags
(
gtest_use_own_tuple_test
"
${
cxx_use_own_tuple
}
"
gtest_main_use_own_tuple
test/g
test-param-test_
test.cc test/gtest-param-test2_test.cc
)
test/g
oogletest-param-test-
test.cc test/gtest-param-test2_test.cc
)
endif
()
############################################################
...
...
@@ -258,14 +258,14 @@ if (gtest_build_tests)
gtest_catch_exceptions_no_ex_test_
"
${
cxx_no_exception
}
"
gtest_main_no_exception
test/g
test_catch_exceptions_
test_.cc
)
test/g
oogletest-catch-exceptions-
test_.cc
)
endif
()
cxx_executable_with_flags
(
gtest_catch_exceptions_ex_test_
"
${
cxx_exception
}
"
gtest_main
test/g
test_catch_exceptions_
test_.cc
)
test/g
oogletest-catch-exceptions-
test_.cc
)
py_test
(
gtest_catch_exceptions_test
)
cxx_executable
(
gtest_color_test_ test gtest
)
...
...
googletest/Makefile.am
View file @
f3511bf1
...
...
@@ -55,38 +55,38 @@ EXTRA_DIST += \
test
/gtest-options_test.cc
\
test
/gtest-param-test2_test.cc
\
test
/gtest-param-test2_test.cc
\
test
/g
test-param-test_
test.cc
\
test
/g
test-param-test_
test.cc
\
test
/g
oogletest-param-test-
test.cc
\
test
/g
oogletest-param-test-
test.cc
\
test
/gtest-param-test_test.h
\
test
/gtest-port_test.cc
\
test
/gtest_premature_exit_test.cc
\
test
/gtest-printers_test.cc
\
test
/gtest-test-part_test.cc
\
test
/g
test-tuple_
test.cc
\
test
/g
oogletest-tuple-
test.cc
\
test
/gtest-typed-test2_test.cc
\
test
/gtest-typed-test_test.cc
\
test
/gtest-typed-test_test.h
\
test
/gtest-unittest-api_test.cc
\
test
/g
test_break_on_failure_
unittest_.cc
\
test
/g
test_catch_exceptions_
test_.cc
\
test
/g
test_color_
test_.cc
\
test
/g
oogletest-break-on-failure-
unittest_.cc
\
test
/g
oogletest-catch-exceptions-
test_.cc
\
test
/g
oogletest-color-
test_.cc
\
test
/gtest_env_var_test_.cc
\
test
/gtest_environment_test.cc
\
test
/g
test_filter_
unittest_.cc
\
test
/g
oogletest-filter-
unittest_.cc
\
test
/gtest_help_test_.cc
\
test
/g
test_list_tests_
unittest_.cc
\
test
/g
oogletest-list-tests-
unittest_.cc
\
test
/gtest_main_unittest.cc
\
test
/gtest_no_test_unittest.cc
\
test
/g
test_output_
test_.cc
\
test
/g
oogletest-output-
test_.cc
\
test
/gtest_pred_impl_unittest.cc
\
test
/gtest_prod_test.cc
\
test
/gtest_repeat_test.cc
\
test
/g
test_shuffle_
test_.cc
\
test
/g
oogletest-shuffle-
test_.cc
\
test
/gtest_sole_header_test.cc
\
test
/gtest_stress_test.cc
\
test
/gtest_throw_on_failure_ex_test.cc
\
test
/g
test_throw_on_failure_
test_.cc
\
test
/g
test_uninitialized_
test_.cc
\
test
/g
oogletest-throw-on-failure-
test_.cc
\
test
/g
oogletest-uninitialized-
test_.cc
\
test
/gtest_unittest.cc
\
test
/gtest_unittest.cc
\
test
/gtest_xml_outfile1_test_.cc
\
...
...
googletest/test/BUILD.bazel
View file @
f3511bf1
...
...
@@ -68,7 +68,7 @@ cc_test(
"gtest-death-test_ex_test.cc",
"gtest-listener_test.cc",
"gtest-unittest-api_test.cc",
"g
test-param-test_
test.cc",
"g
oogletest-param-test-
test.cc",
"googletest-catch-exceptions-test_.cc",
"googletest-color-test_.cc",
"googletest-env-var-test_.cc",
...
...
googletest/test/googletest-param-test2-test.cc
View file @
f3511bf1
...
...
@@ -40,11 +40,11 @@ using ::testing::internal::ParamGenerator;
// Tests that generators defined in a different translation unit
// are functional. The test using extern_gen is defined
// in g
test-param-test_
test.cc.
// in g
oogletest-param-test-
test.cc.
ParamGenerator
<
int
>
extern_gen
=
Values
(
33
);
// Tests that a parameterized test case can be defined in one translation unit
// and instantiated in another. The test is defined in g
test-param-test_
test.cc
// and instantiated in another. The test is defined in g
oogletest-param-test-
test.cc
// and ExternalInstantiationTest fixture class is defined in
// gtest-param-test_test.h.
INSTANTIATE_TEST_CASE_P
(
MultiplesOf33
,
...
...
@@ -53,7 +53,7 @@ INSTANTIATE_TEST_CASE_P(MultiplesOf33,
// Tests that a parameterized test case can be instantiated
// in multiple translation units. Another instantiation is defined
// in g
test-param-test_
test.cc and InstantiationInMultipleTranslaionUnitsTest
// in g
oogletest-param-test-
test.cc and InstantiationInMultipleTranslaionUnitsTest
// fixture is defined in gtest-param-test_test.h
INSTANTIATE_TEST_CASE_P
(
Sequence2
,
InstantiationInMultipleTranslaionUnitsTest
,
...
...
googletest/test/googletest-test2_test.cc
View file @
f3511bf1
...
...
@@ -40,11 +40,11 @@ using ::testing::internal::ParamGenerator;
// Tests that generators defined in a different translation unit
// are functional. The test using extern_gen_2 is defined
// in g
test-param-test_
test.cc.
// in g
oogletest-param-test-
test.cc.
ParamGenerator
<
int
>
extern_gen_2
=
Values
(
33
);
// Tests that a parameterized test case can be defined in one translation unit
// and instantiated in another. The test is defined in g
test-param-test_
test.cc
// and instantiated in another. The test is defined in g
oogletest-param-test-
test.cc
// and ExternalInstantiationTest fixture class is defined in
// gtest-param-test_test.h.
INSTANTIATE_TEST_CASE_P
(
MultiplesOf33
,
...
...
@@ -53,7 +53,7 @@ INSTANTIATE_TEST_CASE_P(MultiplesOf33,
// Tests that a parameterized test case can be instantiated
// in multiple translation units. Another instantiation is defined
// in g
test-param-test_
test.cc and InstantiationInMultipleTranslaionUnitsTest
// in g
oogletest-param-test-
test.cc and InstantiationInMultipleTranslaionUnitsTest
// fixture is defined in gtest-param-test_test.h
INSTANTIATE_TEST_CASE_P
(
Sequence2
,
InstantiationInMultipleTranslaionUnitsTest
,
...
...
googletest/test/gtest_unittest.cc
View file @
f3511bf1
...
...
@@ -4689,7 +4689,7 @@ TEST(MacroTest, ADD_FAILURE_AT) {
// Unfortunately, we cannot verify that the failure message contains
// the right file path and line number the same way, as
// EXPECT_NONFATAL_FAILURE() doesn't get to see the file path and
// line number. Instead, we do that in g
test_output_
test_.cc.
// line number. Instead, we do that in g
oogletest-output-
test_.cc.
}
// Tests FAIL.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment