From dac3e879c56a50696a36f53e1e5e353e48fa665f Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Tue, 14 Sep 2010 05:35:59 +0000 Subject: Include gtest headers as user headers instead of system headers. --- test/gtest-death-test_test.cc | 8 ++++---- test/gtest-filepath_test.cc | 4 ++-- test/gtest-linked_ptr_test.cc | 4 ++-- test/gtest-listener_test.cc | 2 +- test/gtest-message_test.cc | 4 ++-- test/gtest-options_test.cc | 2 +- test/gtest-param-test2_test.cc | 2 +- test/gtest-param-test_test.cc | 2 +- test/gtest-param-test_test.h | 2 +- test/gtest-port_test.cc | 6 +++--- test/gtest-printers_test.cc | 4 ++-- test/gtest-test-part_test.cc | 4 ++-- test/gtest-tuple_test.cc | 4 ++-- test/gtest-typed-test2_test.cc | 2 +- test/gtest-typed-test_test.cc | 2 +- test/gtest-typed-test_test.h | 2 +- test/gtest-unittest-api_test.cc | 2 +- test/gtest_break_on_failure_unittest_.cc | 2 +- test/gtest_catch_exceptions_test_.cc | 2 +- test/gtest_color_test_.cc | 2 +- test/gtest_env_var_test_.cc | 2 +- test/gtest_environment_test.cc | 2 +- test/gtest_filter_unittest_.cc | 2 +- test/gtest_help_test_.cc | 2 +- test/gtest_list_tests_unittest_.cc | 2 +- test/gtest_main_unittest.cc | 2 +- test/gtest_nc.cc | 28 ++++++++++++++-------------- test/gtest_no_test_unittest.cc | 2 +- test/gtest_output_test_.cc | 4 ++-- test/gtest_pred_impl_unittest.cc | 4 ++-- test/gtest_prod_test.cc | 2 +- test/gtest_repeat_test.cc | 2 +- test/gtest_shuffle_test_.cc | 2 +- test/gtest_sole_header_test.cc | 2 +- test/gtest_stress_test.cc | 2 +- test/gtest_throw_on_failure_ex_test.cc | 2 +- test/gtest_throw_on_failure_test_.cc | 2 +- test/gtest_uninitialized_test_.cc | 2 +- test/gtest_unittest.cc | 4 ++-- test/gtest_xml_outfile1_test_.cc | 2 +- test/gtest_xml_outfile2_test_.cc | 2 +- test/gtest_xml_output_unittest_.cc | 2 +- test/production.h | 2 +- 43 files changed, 70 insertions(+), 70 deletions(-) (limited to 'test') diff --git a/test/gtest-death-test_test.cc b/test/gtest-death-test_test.cc index d33cfeb7..6144f2db 100644 --- a/test/gtest-death-test_test.cc +++ b/test/gtest-death-test_test.cc @@ -31,9 +31,9 @@ // // Tests for death tests. -#include -#include -#include +#include "gtest/gtest-death-test.h" +#include "gtest/gtest.h" +#include "gtest/internal/gtest-filepath.h" using testing::internal::AlwaysFalse; using testing::internal::AlwaysTrue; @@ -52,7 +52,7 @@ using testing::internal::AlwaysTrue; #include #include -#include +#include "gtest/gtest-spi.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest-filepath_test.cc b/test/gtest-filepath_test.cc index 62502827..549dcef2 100644 --- a/test/gtest-filepath_test.cc +++ b/test/gtest-filepath_test.cc @@ -38,8 +38,8 @@ // build or make-files for some existing Google Test clients. Do not // #include this file anywhere else! -#include -#include +#include "gtest/internal/gtest-filepath.h" +#include "gtest/gtest.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest-linked_ptr_test.cc b/test/gtest-linked_ptr_test.cc index eae82296..efd6b1ed 100644 --- a/test/gtest-linked_ptr_test.cc +++ b/test/gtest-linked_ptr_test.cc @@ -30,10 +30,10 @@ // Authors: Dan Egnor (egnor@google.com) // Ported to Windows: Vadim Berman (vadimb@google.com) -#include +#include "gtest/internal/gtest-linked_ptr.h" #include -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest-listener_test.cc b/test/gtest-listener_test.cc index c9be39a8..2aa08ef3 100644 --- a/test/gtest-listener_test.cc +++ b/test/gtest-listener_test.cc @@ -33,7 +33,7 @@ // This file verifies Google Test event listeners receive events at the // right times. -#include +#include "gtest/gtest.h" #include using ::testing::AddGlobalTestEnvironment; diff --git a/test/gtest-message_test.cc b/test/gtest-message_test.cc index efb6ff08..c09c6a83 100644 --- a/test/gtest-message_test.cc +++ b/test/gtest-message_test.cc @@ -31,9 +31,9 @@ // // Tests for the Message class. -#include +#include "gtest/gtest-message.h" -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest-options_test.cc b/test/gtest-options_test.cc index 2e2cbc92..30b82f3f 100644 --- a/test/gtest-options_test.cc +++ b/test/gtest-options_test.cc @@ -38,7 +38,7 @@ // make-files on Windows and other platforms. Do not #include this file // anywhere else! -#include +#include "gtest/gtest.h" #if GTEST_OS_WINDOWS_MOBILE #include diff --git a/test/gtest-param-test2_test.cc b/test/gtest-param-test2_test.cc index ccb6cfac..4a782fe7 100644 --- a/test/gtest-param-test2_test.cc +++ b/test/gtest-param-test2_test.cc @@ -32,7 +32,7 @@ // Tests for Google Test itself. This verifies that the basic constructs of // Google Test work. -#include +#include "gtest/gtest.h" #include "test/gtest-param-test_test.h" diff --git a/test/gtest-param-test_test.cc b/test/gtest-param-test_test.cc index 26acce4c..c920f4fd 100644 --- a/test/gtest-param-test_test.cc +++ b/test/gtest-param-test_test.cc @@ -33,7 +33,7 @@ // generators objects produce correct parameter sequences and that // Google Test runtime instantiates correct tests from those sequences. -#include +#include "gtest/gtest.h" #if GTEST_HAS_PARAM_TEST diff --git a/test/gtest-param-test_test.h b/test/gtest-param-test_test.h index b7f94936..d0f6556b 100644 --- a/test/gtest-param-test_test.h +++ b/test/gtest-param-test_test.h @@ -37,7 +37,7 @@ #ifndef GTEST_TEST_GTEST_PARAM_TEST_TEST_H_ #define GTEST_TEST_GTEST_PARAM_TEST_TEST_H_ -#include +#include "gtest/gtest.h" #if GTEST_HAS_PARAM_TEST diff --git a/test/gtest-port_test.cc b/test/gtest-port_test.cc index e08afe8e..bf42d8b8 100644 --- a/test/gtest-port_test.cc +++ b/test/gtest-port_test.cc @@ -31,7 +31,7 @@ // // This file tests the internal cross-platform support utilities. -#include +#include "gtest/internal/gtest-port.h" #include @@ -41,8 +41,8 @@ #include // For std::pair and std::make_pair. -#include -#include +#include "gtest/gtest.h" +#include "gtest/gtest-spi.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest-printers_test.cc b/test/gtest-printers_test.cc index ce72421f..16fe9249 100644 --- a/test/gtest-printers_test.cc +++ b/test/gtest-printers_test.cc @@ -33,7 +33,7 @@ // // This file tests the universal value printer. -#include +#include "gtest/gtest-printers.h" #include #include @@ -48,7 +48,7 @@ #include #include -#include +#include "gtest/gtest.h" // hash_map and hash_set are available on Windows. #if GTEST_OS_WINDOWS diff --git a/test/gtest-test-part_test.cc b/test/gtest-test-part_test.cc index 5a3e9196..ca8ba933 100644 --- a/test/gtest-test-part_test.cc +++ b/test/gtest-test-part_test.cc @@ -30,9 +30,9 @@ // Author: mheule@google.com (Markus Heule) // -#include +#include "gtest/gtest-test-part.h" -#include +#include "gtest/gtest.h" using testing::Message; using testing::Test; diff --git a/test/gtest-tuple_test.cc b/test/gtest-tuple_test.cc index 532f70b3..bfaa3e0a 100644 --- a/test/gtest-tuple_test.cc +++ b/test/gtest-tuple_test.cc @@ -29,9 +29,9 @@ // // Author: wan@google.com (Zhanyong Wan) -#include +#include "gtest/internal/gtest-tuple.h" #include -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest-typed-test2_test.cc b/test/gtest-typed-test2_test.cc index 79a8a87d..c284700b 100644 --- a/test/gtest-typed-test2_test.cc +++ b/test/gtest-typed-test2_test.cc @@ -32,7 +32,7 @@ #include #include "test/gtest-typed-test_test.h" -#include +#include "gtest/gtest.h" #if GTEST_HAS_TYPED_TEST_P diff --git a/test/gtest-typed-test_test.cc b/test/gtest-typed-test_test.cc index f2c39723..dd4ba43b 100644 --- a/test/gtest-typed-test_test.cc +++ b/test/gtest-typed-test_test.cc @@ -33,7 +33,7 @@ #include #include "test/gtest-typed-test_test.h" -#include +#include "gtest/gtest.h" using testing::Test; diff --git a/test/gtest-typed-test_test.h b/test/gtest-typed-test_test.h index 40dfeac6..41d75704 100644 --- a/test/gtest-typed-test_test.h +++ b/test/gtest-typed-test_test.h @@ -32,7 +32,7 @@ #ifndef GTEST_TEST_GTEST_TYPED_TEST_TEST_H_ #define GTEST_TEST_GTEST_TYPED_TEST_TEST_H_ -#include +#include "gtest/gtest.h" #if GTEST_HAS_TYPED_TEST_P diff --git a/test/gtest-unittest-api_test.cc b/test/gtest-unittest-api_test.cc index 7e0f8f80..ed5dea83 100644 --- a/test/gtest-unittest-api_test.cc +++ b/test/gtest-unittest-api_test.cc @@ -33,7 +33,7 @@ // This file contains tests verifying correctness of data provided via // UnitTest's public methods. -#include +#include "gtest/gtest.h" #include // For strcmp. #include diff --git a/test/gtest_break_on_failure_unittest_.cc b/test/gtest_break_on_failure_unittest_.cc index 6779c903..30755090 100644 --- a/test/gtest_break_on_failure_unittest_.cc +++ b/test/gtest_break_on_failure_unittest_.cc @@ -39,7 +39,7 @@ // This program will be invoked from a Python unit test. It is // expected to fail. Don't run it directly. -#include +#include "gtest/gtest.h" #if GTEST_OS_WINDOWS #include diff --git a/test/gtest_catch_exceptions_test_.cc b/test/gtest_catch_exceptions_test_.cc index 2ba6eb44..3cf75321 100644 --- a/test/gtest_catch_exceptions_test_.cc +++ b/test/gtest_catch_exceptions_test_.cc @@ -32,7 +32,7 @@ // Tests for Google Test itself. Tests in this file throw C++ or SEH // exceptions, and the output is verified by gtest_catch_exceptions_test.py. -#include +#include "gtest/gtest.h" #include // NOLINT #include // For exit(). diff --git a/test/gtest_color_test_.cc b/test/gtest_color_test_.cc index 58d377c9..f61ebb89 100644 --- a/test/gtest_color_test_.cc +++ b/test/gtest_color_test_.cc @@ -35,7 +35,7 @@ #include -#include +#include "gtest/gtest.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest_env_var_test_.cc b/test/gtest_env_var_test_.cc index f7c78fcf..539afc96 100644 --- a/test/gtest_env_var_test_.cc +++ b/test/gtest_env_var_test_.cc @@ -32,7 +32,7 @@ // A helper program for testing that Google Test parses the environment // variables correctly. -#include +#include "gtest/gtest.h" #include diff --git a/test/gtest_environment_test.cc b/test/gtest_environment_test.cc index 94ea318b..744b405e 100644 --- a/test/gtest_environment_test.cc +++ b/test/gtest_environment_test.cc @@ -33,7 +33,7 @@ #include #include -#include +#include "gtest/gtest.h" #define GTEST_IMPLEMENTATION_ 1 // Required for the next #include. #include "src/gtest-internal-inl.h" diff --git a/test/gtest_filter_unittest_.cc b/test/gtest_filter_unittest_.cc index 325504fe..77deffc3 100644 --- a/test/gtest_filter_unittest_.cc +++ b/test/gtest_filter_unittest_.cc @@ -38,7 +38,7 @@ // The program will be invoked from a Python unit test. Don't run it // directly. -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest_help_test_.cc b/test/gtest_help_test_.cc index aad0d72d..31f78c24 100644 --- a/test/gtest_help_test_.cc +++ b/test/gtest_help_test_.cc @@ -32,7 +32,7 @@ // This program is meant to be run by gtest_help_test.py. Do not run // it directly. -#include +#include "gtest/gtest.h" // When a help flag is specified, this program should skip the tests // and exit with 0; otherwise the following test will be executed, diff --git a/test/gtest_list_tests_unittest_.cc b/test/gtest_list_tests_unittest_.cc index a0ed0825..2b1d0780 100644 --- a/test/gtest_list_tests_unittest_.cc +++ b/test/gtest_list_tests_unittest_.cc @@ -38,7 +38,7 @@ // This program will be invoked from a Python unit test. // Don't run it directly. -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest_main_unittest.cc b/test/gtest_main_unittest.cc index 7a3f0adf..ecd9bb87 100644 --- a/test/gtest_main_unittest.cc +++ b/test/gtest_main_unittest.cc @@ -29,7 +29,7 @@ // // Author: wan@google.com (Zhanyong Wan) -#include +#include "gtest/gtest.h" // Tests that we don't have to define main() when we link to // gtest_main instead of gtest. diff --git a/test/gtest_nc.cc b/test/gtest_nc.cc index 73b5db6d..71acf2bd 100644 --- a/test/gtest_nc.cc +++ b/test/gtest_nc.cc @@ -42,7 +42,7 @@ #ifdef TEST_CANNOT_IGNORE_RUN_ALL_TESTS_RESULT // Tests that the result of RUN_ALL_TESTS() cannot be ignored. -#include +#include "gtest/gtest.h" int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); @@ -58,7 +58,7 @@ int main(int argc, char** argv) { // Tests that the compiler catches the typo when a user declares a // Setup() method in a test fixture. -#include +#include "gtest/gtest.h" class MyTest : public testing::Test { protected: @@ -69,7 +69,7 @@ class MyTest : public testing::Test { // Tests that the compiler catches the typo when a user calls Setup() // from a test fixture. -#include +#include "gtest/gtest.h" class MyTest : public testing::Test { protected: @@ -82,7 +82,7 @@ class MyTest : public testing::Test { // Tests that the compiler catches the typo when a user declares a // Setup() method in a subclass of Environment. -#include +#include "gtest/gtest.h" class MyEnvironment : public testing::Environment { public: @@ -93,7 +93,7 @@ class MyEnvironment : public testing::Environment { // Tests that the compiler catches the typo when a user calls Setup() // in an Environment. -#include +#include "gtest/gtest.h" class MyEnvironment : public testing::Environment { protected: @@ -107,7 +107,7 @@ class MyEnvironment : public testing::Environment { // Tests that the compiler catches using the wrong test case name in // TYPED_TEST_P. -#include +#include "gtest/gtest.h" template class FooTest : public testing::Test { @@ -126,7 +126,7 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, testing::Types); // Tests that the compiler catches using the wrong test case name in // REGISTER_TYPED_TEST_CASE_P. -#include +#include "gtest/gtest.h" template class FooTest : public testing::Test { @@ -145,7 +145,7 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, testing::Types); // Tests that the compiler catches using the wrong test case name in // INSTANTIATE_TYPED_TEST_CASE_P. -#include +#include "gtest/gtest.h" template class FooTest : public testing::Test { @@ -166,7 +166,7 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, BarTest, testing::Types); // Tests that the compiler catches instantiating TYPED_TEST_CASE_P // twice with the same name prefix. -#include +#include "gtest/gtest.h" template class FooTest : public testing::Test { @@ -183,21 +183,21 @@ INSTANTIATE_TYPED_TEST_CASE_P(My, FooTest, testing::Types); #elif defined(TEST_STATIC_ASSERT_TYPE_EQ_IS_NOT_A_TYPE) -#include +#include "gtest/gtest.h" // Tests that StaticAssertTypeEq cannot be used as a type. testing::StaticAssertTypeEq dummy; #elif defined(TEST_STATIC_ASSERT_TYPE_EQ_WORKS_IN_NAMESPACE) -#include +#include "gtest/gtest.h" // Tests that StaticAssertTypeEq works in a namespace scope. static bool dummy = testing::StaticAssertTypeEq(); #elif defined(TEST_STATIC_ASSERT_TYPE_EQ_WORKS_IN_CLASS) -#include +#include "gtest/gtest.h" template class Helper { @@ -215,7 +215,7 @@ void Test() { #elif defined(TEST_STATIC_ASSERT_TYPE_EQ_WORKS_IN_FUNCTION) -#include +#include "gtest/gtest.h" void Test() { // Tests that StaticAssertTypeEq works inside a function. @@ -225,7 +225,7 @@ void Test() { #else // A sanity test. This should compile. -#include +#include "gtest/gtest.h" int main() { return RUN_ALL_TESTS(); diff --git a/test/gtest_no_test_unittest.cc b/test/gtest_no_test_unittest.cc index e09ca73a..e3a85f12 100644 --- a/test/gtest_no_test_unittest.cc +++ b/test/gtest_no_test_unittest.cc @@ -32,7 +32,7 @@ // // Author: wan@google.com (Zhanyong Wan) -#include +#include "gtest/gtest.h" int main(int argc, char **argv) { diff --git a/test/gtest_output_test_.cc b/test/gtest_output_test_.cc index fc80fac3..47343e50 100644 --- a/test/gtest_output_test_.cc +++ b/test/gtest_output_test_.cc @@ -32,8 +32,8 @@ // // Author: wan@google.com (Zhanyong Wan) -#include -#include +#include "gtest/gtest-spi.h" +#include "gtest/gtest.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest_pred_impl_unittest.cc b/test/gtest_pred_impl_unittest.cc index e7ee54b5..66c75d17 100644 --- a/test/gtest_pred_impl_unittest.cc +++ b/test/gtest_pred_impl_unittest.cc @@ -49,8 +49,8 @@ #include -#include -#include +#include "gtest/gtest.h" +#include "gtest/gtest-spi.h" // A user-defined data type. struct Bool { diff --git a/test/gtest_prod_test.cc b/test/gtest_prod_test.cc index bc3201d0..060abce1 100644 --- a/test/gtest_prod_test.cc +++ b/test/gtest_prod_test.cc @@ -31,7 +31,7 @@ // // Unit test for include/gtest/gtest_prod.h. -#include +#include "gtest/gtest.h" #include "test/production.h" // Tests that private members can be accessed from a TEST declared as diff --git a/test/gtest_repeat_test.cc b/test/gtest_repeat_test.cc index df6868b8..ff9063a4 100644 --- a/test/gtest_repeat_test.cc +++ b/test/gtest_repeat_test.cc @@ -33,7 +33,7 @@ #include #include -#include +#include "gtest/gtest.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest_shuffle_test_.cc b/test/gtest_shuffle_test_.cc index 53ecf777..0752789e 100644 --- a/test/gtest_shuffle_test_.cc +++ b/test/gtest_shuffle_test_.cc @@ -31,7 +31,7 @@ // Verifies that test shuffling works. -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest_sole_header_test.cc b/test/gtest_sole_header_test.cc index de91e800..ccd091a2 100644 --- a/test/gtest_sole_header_test.cc +++ b/test/gtest_sole_header_test.cc @@ -32,7 +32,7 @@ // This test verifies that it's possible to use Google Test by including // the gtest.h header file alone. -#include +#include "gtest/gtest.h" namespace { diff --git a/test/gtest_stress_test.cc b/test/gtest_stress_test.cc index f5af78cc..4e7d9bff 100644 --- a/test/gtest_stress_test.cc +++ b/test/gtest_stress_test.cc @@ -32,7 +32,7 @@ // Tests that SCOPED_TRACE() and various Google Test assertions can be // used in a large number of threads concurrently. -#include +#include "gtest/gtest.h" #include #include diff --git a/test/gtest_throw_on_failure_ex_test.cc b/test/gtest_throw_on_failure_ex_test.cc index 8bf9dc90..8d46c76f 100644 --- a/test/gtest_throw_on_failure_ex_test.cc +++ b/test/gtest_throw_on_failure_ex_test.cc @@ -31,7 +31,7 @@ // Tests Google Test's throw-on-failure mode with exceptions enabled. -#include +#include "gtest/gtest.h" #include #include diff --git a/test/gtest_throw_on_failure_test_.cc b/test/gtest_throw_on_failure_test_.cc index 88fbd5a7..03776ecb 100644 --- a/test/gtest_throw_on_failure_test_.cc +++ b/test/gtest_throw_on_failure_test_.cc @@ -35,7 +35,7 @@ // invoked by gtest_throw_on_failure_test.py, and is expected to exit // with non-zero in the throw-on-failure mode or 0 otherwise. -#include +#include "gtest/gtest.h" int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); diff --git a/test/gtest_uninitialized_test_.cc b/test/gtest_uninitialized_test_.cc index e8b2aa81..44316987 100644 --- a/test/gtest_uninitialized_test_.cc +++ b/test/gtest_uninitialized_test_.cc @@ -29,7 +29,7 @@ // // Author: wan@google.com (Zhanyong Wan) -#include +#include "gtest/gtest.h" TEST(DummyTest, Dummy) { // This test doesn't verify anything. We just need it to create a diff --git a/test/gtest_unittest.cc b/test/gtest_unittest.cc index d7092495..5eaa2af6 100644 --- a/test/gtest_unittest.cc +++ b/test/gtest_unittest.cc @@ -32,7 +32,7 @@ // Tests for Google Test itself. This verifies that the basic constructs of // Google Test work. -#include +#include "gtest/gtest.h" #include // Verifies that the command line flag variables can be accessed @@ -57,7 +57,7 @@ TEST(CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded) { EXPECT_TRUE(dummy || !dummy); // Suppresses warning that dummy is unused. } -#include +#include "gtest/gtest-spi.h" // Indicates that this translation unit is part of Google Test's // implementation. It must come before gtest-internal-inl.h is diff --git a/test/gtest_xml_outfile1_test_.cc b/test/gtest_xml_outfile1_test_.cc index 664baad2..531ced49 100644 --- a/test/gtest_xml_outfile1_test_.cc +++ b/test/gtest_xml_outfile1_test_.cc @@ -32,7 +32,7 @@ // gtest_xml_outfile1_test_ writes some xml via TestProperty used by // gtest_xml_outfiles_test.py -#include +#include "gtest/gtest.h" class PropertyOne : public testing::Test { protected: diff --git a/test/gtest_xml_outfile2_test_.cc b/test/gtest_xml_outfile2_test_.cc index 3411a3d3..7b400b27 100644 --- a/test/gtest_xml_outfile2_test_.cc +++ b/test/gtest_xml_outfile2_test_.cc @@ -32,7 +32,7 @@ // gtest_xml_outfile2_test_ writes some xml via TestProperty used by // gtest_xml_outfiles_test.py -#include +#include "gtest/gtest.h" class PropertyTwo : public testing::Test { protected: diff --git a/test/gtest_xml_output_unittest_.cc b/test/gtest_xml_output_unittest_.cc index fc07ef46..693ffb99 100644 --- a/test/gtest_xml_output_unittest_.cc +++ b/test/gtest_xml_output_unittest_.cc @@ -38,7 +38,7 @@ // This program will be invoked from a Python unit test. Don't run it // directly. -#include +#include "gtest/gtest.h" using ::testing::InitGoogleTest; using ::testing::TestEventListeners; diff --git a/test/production.h b/test/production.h index 8f16fffa..98fd5e47 100644 --- a/test/production.h +++ b/test/production.h @@ -34,7 +34,7 @@ #ifndef GTEST_TEST_PRODUCTION_H_ #define GTEST_TEST_PRODUCTION_H_ -#include +#include "gtest/gtest_prod.h" class PrivateCode { public: -- cgit v1.2.3