Adds missing copyright in test/gtest-test-part_test.cc (by Markus Heule). Minor format adjustments.

This commit is contained in:
zhanyong.wan
2009-05-29 19:46:51 +00:00
parent 8de91f8f83
commit 1bd424d960
6 changed files with 43 additions and 5 deletions

View File

@@ -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")