diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-05-29 19:46:51 (GMT) |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-05-29 19:46:51 (GMT) |
commit | 1bd424d9608d85fc6b705a2370ed86db3118dcf6 (patch) | |
tree | d3e3c6c787c0daaa50e53cc8fbd9233e90d93972 /test/gtest_output_test_.cc | |
parent | 8de91f8f8374f49240b379e2328de9121837bae8 (diff) | |
download | googletest-1bd424d9608d85fc6b705a2370ed86db3118dcf6.zip googletest-1bd424d9608d85fc6b705a2370ed86db3118dcf6.tar.gz googletest-1bd424d9608d85fc6b705a2370ed86db3118dcf6.tar.bz2 |
Adds missing copyright in test/gtest-test-part_test.cc (by Markus Heule). Minor format adjustments.
Diffstat (limited to 'test/gtest_output_test_.cc')
-rw-r--r-- | test/gtest_output_test_.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/gtest_output_test_.cc b/test/gtest_output_test_.cc index 6d42ad8..693df3f 100644 --- a/test/gtest_output_test_.cc +++ b/test/gtest_output_test_.cc @@ -974,6 +974,10 @@ int main(int argc, char **argv) { // We just run the tests, knowing some of them are intended to fail. // We will use a separate Python script to compare the output of // this program with the golden file. + + // It's hard to test InitGoogleTest() directly, as it has many + // global side effects. The following line serves as a sanity test + // for it. testing::InitGoogleTest(&argc, argv); if (argc >= 2 && String(argv[1]) == "--gtest_internal_skip_environment_and_ad_hoc_tests") |