diff --git a/googlemock/CMakeLists.txt b/googlemock/CMakeLists.txt index 428bd9f8..c302b1ac 100644 --- a/googlemock/CMakeLists.txt +++ b/googlemock/CMakeLists.txt @@ -67,7 +67,6 @@ config_compiler_and_linker() # from ${gtest_dir}/cmake/internal_utils.cmake # Adds Google Mock's and Google Test's header directories to the search path. set(gmock_build_include_dirs "${gmock_SOURCE_DIR}/include" - "${gmock_SOURCE_DIR}" "${gtest_SOURCE_DIR}/include" # This directory is needed to build directly from Google Test sources. "${gtest_SOURCE_DIR}") diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index f20258bc..6428a496 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -142,9 +142,9 @@ #include #include -#include "gmock/internal/gmock-internal-utils.h" -#include "gmock/internal/gmock-port.h" -#include "gmock/internal/gmock-pp.h" +#include "internal/gmock-internal-utils.h" +#include "internal/gmock-port.h" +#include "internal/gmock-pp.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4100) diff --git a/googlemock/include/gmock/gmock-cardinalities.h b/googlemock/include/gmock/gmock-cardinalities.h index 533e604f..572b56f1 100644 --- a/googlemock/include/gmock/gmock-cardinalities.h +++ b/googlemock/include/gmock/gmock-cardinalities.h @@ -44,8 +44,8 @@ #include #include // NOLINT -#include "gmock/internal/gmock-port.h" -#include "gtest/gtest.h" +#include "internal/gmock-port.h" +#include GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googlemock/include/gmock/gmock-function-mocker.h b/googlemock/include/gmock/gmock-function-mocker.h index d2cb13cd..eb097a5d 100644 --- a/googlemock/include/gmock/gmock-function-mocker.h +++ b/googlemock/include/gmock/gmock-function-mocker.h @@ -41,9 +41,9 @@ #include // IWYU pragma: keep #include // IWYU pragma: keep -#include "gmock/gmock-spec-builders.h" -#include "gmock/internal/gmock-internal-utils.h" -#include "gmock/internal/gmock-pp.h" +#include "gmock-spec-builders.h" +#include "internal/gmock-internal-utils.h" +#include "internal/gmock-pp.h" namespace testing { namespace internal { diff --git a/googlemock/include/gmock/gmock-matchers.h b/googlemock/include/gmock/gmock-matchers.h index 8052c74a..f13e40ed 100644 --- a/googlemock/include/gmock/gmock-matchers.h +++ b/googlemock/include/gmock/gmock-matchers.h @@ -271,10 +271,10 @@ #include #include -#include "gmock/internal/gmock-internal-utils.h" -#include "gmock/internal/gmock-port.h" -#include "gmock/internal/gmock-pp.h" -#include "gtest/gtest.h" +#include "internal/gmock-internal-utils.h" +#include "internal/gmock-port.h" +#include "internal/gmock-pp.h" +#include // MSVC warning C5046 is new as of VS2017 version 15.8. #if defined(_MSC_VER) && _MSC_VER >= 1915 diff --git a/googlemock/include/gmock/gmock-more-actions.h b/googlemock/include/gmock/gmock-more-actions.h index 40300766..497c7451 100644 --- a/googlemock/include/gmock/gmock-more-actions.h +++ b/googlemock/include/gmock/gmock-more-actions.h @@ -40,11 +40,11 @@ #include #include -#include "gmock/gmock-actions.h" -#include "gmock/internal/gmock-port.h" +#include "gmock-actions.h" +#include "internal/gmock-port.h" // Include any custom callback actions added by the local installation. -#include "gmock/internal/custom/gmock-generated-actions.h" +#include "internal/custom/gmock-generated-actions.h" // Sometimes you want to give an action explicit template parameters // that cannot be inferred from its value parameters. ACTION() and diff --git a/googlemock/include/gmock/gmock-more-matchers.h b/googlemock/include/gmock/gmock-more-matchers.h index 54ea68be..9bdb20db 100644 --- a/googlemock/include/gmock/gmock-more-matchers.h +++ b/googlemock/include/gmock/gmock-more-matchers.h @@ -43,7 +43,7 @@ #include #include -#include "gmock/gmock-matchers.h" +#include "gmock-matchers.h" namespace testing { diff --git a/googlemock/include/gmock/gmock-nice-strict.h b/googlemock/include/gmock/gmock-nice-strict.h index 056d4714..02710ad6 100644 --- a/googlemock/include/gmock/gmock-nice-strict.h +++ b/googlemock/include/gmock/gmock-nice-strict.h @@ -66,8 +66,8 @@ #include #include -#include "gmock/gmock-spec-builders.h" -#include "gmock/internal/gmock-port.h" +#include "gmock-spec-builders.h" +#include "internal/gmock-port.h" namespace testing { template diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h index 78ca15d0..e5084ff6 100644 --- a/googlemock/include/gmock/gmock-spec-builders.h +++ b/googlemock/include/gmock/gmock-spec-builders.h @@ -73,12 +73,12 @@ #include #include -#include "gmock/gmock-actions.h" -#include "gmock/gmock-cardinalities.h" -#include "gmock/gmock-matchers.h" -#include "gmock/internal/gmock-internal-utils.h" -#include "gmock/internal/gmock-port.h" -#include "gtest/gtest.h" +#include "gmock-actions.h" +#include "gmock-cardinalities.h" +#include "gmock-matchers.h" +#include "internal/gmock-internal-utils.h" +#include "internal/gmock-port.h" +#include #if GTEST_HAS_EXCEPTIONS #include // NOLINT diff --git a/googlemock/include/gmock/gmock.h b/googlemock/include/gmock/gmock.h index c78fb8ee..adae8482 100644 --- a/googlemock/include/gmock/gmock.h +++ b/googlemock/include/gmock/gmock.h @@ -53,16 +53,16 @@ // // where all clauses are optional and WillOnce() can be repeated. -#include "gmock/gmock-actions.h" // IWYU pragma: export -#include "gmock/gmock-cardinalities.h" // IWYU pragma: export -#include "gmock/gmock-function-mocker.h" // IWYU pragma: export -#include "gmock/gmock-matchers.h" // IWYU pragma: export -#include "gmock/gmock-more-actions.h" // IWYU pragma: export -#include "gmock/gmock-more-matchers.h" // IWYU pragma: export -#include "gmock/gmock-nice-strict.h" // IWYU pragma: export -#include "gmock/gmock-spec-builders.h" // IWYU pragma: export -#include "gmock/internal/gmock-internal-utils.h" -#include "gmock/internal/gmock-port.h" +#include "gmock-actions.h" // IWYU pragma: export +#include "gmock-cardinalities.h" // IWYU pragma: export +#include "gmock-function-mocker.h" // IWYU pragma: export +#include "gmock-matchers.h" // IWYU pragma: export +#include "gmock-more-actions.h" // IWYU pragma: export +#include "gmock-more-matchers.h" // IWYU pragma: export +#include "gmock-nice-strict.h" // IWYU pragma: export +#include "gmock-spec-builders.h" // IWYU pragma: export +#include "internal/gmock-internal-utils.h" +#include "internal/gmock-port.h" // Declares Google Mock flags that we want a user to use programmatically. GMOCK_DECLARE_bool_(catch_leaked_mocks); diff --git a/googlemock/include/gmock/internal/gmock-internal-utils.h b/googlemock/include/gmock/internal/gmock-internal-utils.h index ead6d7c8..89111ecd 100644 --- a/googlemock/include/gmock/internal/gmock-internal-utils.h +++ b/googlemock/include/gmock/internal/gmock-internal-utils.h @@ -46,8 +46,8 @@ #include #include -#include "gmock/internal/gmock-port.h" -#include "gtest/gtest.h" +#include "gmock-port.h" +#include namespace testing { diff --git a/googlemock/include/gmock/internal/gmock-port.h b/googlemock/include/gmock/internal/gmock-port.h index 55ddfb6c..88d4461d 100644 --- a/googlemock/include/gmock/internal/gmock-port.h +++ b/googlemock/include/gmock/internal/gmock-port.h @@ -53,8 +53,8 @@ // here, as Google Mock depends on Google Test. Only add a utility // here if it's truly specific to Google Mock. -#include "gmock/internal/custom/gmock-port.h" -#include "gtest/internal/gtest-port.h" +#include "custom/gmock-port.h" +#include #ifdef GTEST_HAS_ABSL #include "absl/flags/declare.h" diff --git a/googlemock/src/gmock-all.cc b/googlemock/src/gmock-all.cc index e43c9b7b..ea4cb1b6 100644 --- a/googlemock/src/gmock-all.cc +++ b/googlemock/src/gmock-all.cc @@ -36,11 +36,11 @@ // This line ensures that gmock.h can be compiled on its own, even // when it's fused. -#include "gmock/gmock.h" +#include // The following lines pull in the real gmock *.cc files. -#include "src/gmock-cardinalities.cc" -#include "src/gmock-internal-utils.cc" -#include "src/gmock-matchers.cc" -#include "src/gmock-spec-builders.cc" -#include "src/gmock.cc" +#include "gmock-cardinalities.cc" +#include "gmock-internal-utils.cc" +#include "gmock-matchers.cc" +#include "gmock-spec-builders.cc" +#include "gmock.cc" diff --git a/googlemock/src/gmock-cardinalities.cc b/googlemock/src/gmock-cardinalities.cc index 92cde348..9444ba81 100644 --- a/googlemock/src/gmock-cardinalities.cc +++ b/googlemock/src/gmock-cardinalities.cc @@ -31,7 +31,7 @@ // // This file implements cardinalities. -#include "gmock/gmock-cardinalities.h" +#include #include @@ -39,8 +39,8 @@ #include #include -#include "gmock/internal/gmock-internal-utils.h" -#include "gtest/gtest.h" +#include +#include namespace testing { diff --git a/googlemock/src/gmock-internal-utils.cc b/googlemock/src/gmock-internal-utils.cc index 5c2ce0d5..b7e57b99 100644 --- a/googlemock/src/gmock-internal-utils.cc +++ b/googlemock/src/gmock-internal-utils.cc @@ -33,7 +33,7 @@ // Mock. They are subject to change without notice, so please DO NOT // USE THEM IN USER CODE. -#include "gmock/internal/gmock-internal-utils.h" +#include #include @@ -46,9 +46,9 @@ #include #include -#include "gmock/gmock.h" -#include "gmock/internal/gmock-port.h" -#include "gtest/gtest.h" +#include +#include +#include namespace testing { namespace internal { diff --git a/googlemock/src/gmock-matchers.cc b/googlemock/src/gmock-matchers.cc index 81a5b7ea..05653ea9 100644 --- a/googlemock/src/gmock-matchers.cc +++ b/googlemock/src/gmock-matchers.cc @@ -32,7 +32,7 @@ // This file implements Matcher, Matcher, and // utilities for defining matchers. -#include "gmock/gmock-matchers.h" +#include #include diff --git a/googlemock/src/gmock-spec-builders.cc b/googlemock/src/gmock-spec-builders.cc index de894716..d84e1d40 100644 --- a/googlemock/src/gmock-spec-builders.cc +++ b/googlemock/src/gmock-spec-builders.cc @@ -32,7 +32,7 @@ // This file implements the spec builder syntax (ON_CALL and // EXPECT_CALL). -#include "gmock/gmock-spec-builders.h" +#include #include @@ -45,9 +45,9 @@ #include #include -#include "gmock/gmock.h" -#include "gtest/gtest.h" -#include "gtest/internal/gtest-port.h" +#include +#include +#include #if defined(GTEST_OS_CYGWIN) || defined(GTEST_OS_LINUX) || defined(GTEST_OS_MAC) #include // NOLINT diff --git a/googlemock/src/gmock.cc b/googlemock/src/gmock.cc index b5e714da..4effbe72 100644 --- a/googlemock/src/gmock.cc +++ b/googlemock/src/gmock.cc @@ -27,11 +27,11 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "gmock/gmock.h" +#include #include -#include "gmock/internal/gmock-port.h" +#include GMOCK_DEFINE_bool_(catch_leaked_mocks, true, "true if and only if Google Mock should report leaked " diff --git a/googlemock/src/gmock_main.cc b/googlemock/src/gmock_main.cc index 6b554127..811498dc 100644 --- a/googlemock/src/gmock_main.cc +++ b/googlemock/src/gmock_main.cc @@ -29,8 +29,8 @@ #include -#include "gmock/gmock.h" -#include "gtest/gtest.h" +#include +#include #if defined(GTEST_OS_ESP8266) || defined(GTEST_OS_ESP32) || \ (defined(GTEST_OS_NRF52) && defined(ARDUINO)) diff --git a/googletest/CMakeLists.txt b/googletest/CMakeLists.txt index 51a67c91..4e95a934 100644 --- a/googletest/CMakeLists.txt +++ b/googletest/CMakeLists.txt @@ -108,8 +108,7 @@ endif() # Where Google Test's .h files can be found. set(gtest_build_include_dirs - "${gtest_SOURCE_DIR}/include" - "${gtest_SOURCE_DIR}") + "${gtest_SOURCE_DIR}/include") include_directories(${gtest_build_include_dirs}) ######################################################################## diff --git a/googletest/include/gtest/gtest-assertion-result.h b/googletest/include/gtest/gtest-assertion-result.h index 56fe128f..00d7d61b 100644 --- a/googletest/include/gtest/gtest-assertion-result.h +++ b/googletest/include/gtest/gtest-assertion-result.h @@ -43,8 +43,8 @@ #include #include -#include "gtest/gtest-message.h" -#include "gtest/internal/gtest-port.h" +#include "gtest-message.h" +#include "internal/gtest-port.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googletest/include/gtest/gtest-death-test.h b/googletest/include/gtest/gtest-death-test.h index 08fef8c7..84d165bb 100644 --- a/googletest/include/gtest/gtest-death-test.h +++ b/googletest/include/gtest/gtest-death-test.h @@ -40,7 +40,7 @@ #ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_ #define GOOGLETEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_ -#include "gtest/internal/gtest-death-test-internal.h" +#include "internal/gtest-death-test-internal.h" // This flag controls the style of death tests. Valid values are "threadsafe", // meaning that the death test child process will re-execute the test binary diff --git a/googletest/include/gtest/gtest-matchers.h b/googletest/include/gtest/gtest-matchers.h index eae210e9..cef9ffe1 100644 --- a/googletest/include/gtest/gtest-matchers.h +++ b/googletest/include/gtest/gtest-matchers.h @@ -46,9 +46,9 @@ #include #include -#include "gtest/gtest-printers.h" -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-port.h" +#include "gtest-printers.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-port.h" // MSVC warning C5046 is new as of VS2017 version 15.8. #if defined(_MSC_VER) && _MSC_VER >= 1915 diff --git a/googletest/include/gtest/gtest-message.h b/googletest/include/gtest/gtest-message.h index 448ac6b7..dba0fdcc 100644 --- a/googletest/include/gtest/gtest-message.h +++ b/googletest/include/gtest/gtest-message.h @@ -54,7 +54,7 @@ #include #include -#include "gtest/internal/gtest-port.h" +#include "internal/gtest-port.h" #ifdef GTEST_HAS_ABSL #include diff --git a/googletest/include/gtest/gtest-param-test.h b/googletest/include/gtest/gtest-param-test.h index 49a47ead..8f8f996b 100644 --- a/googletest/include/gtest/gtest-param-test.h +++ b/googletest/include/gtest/gtest-param-test.h @@ -177,9 +177,9 @@ TEST_P(DerivedTest, DoesBlah) { #include #include -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-param-util.h" -#include "gtest/internal/gtest-port.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-param-util.h" +#include "internal/gtest-port.h" namespace testing { diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h index 1b12ef68..a50e9a4f 100644 --- a/googletest/include/gtest/gtest-printers.h +++ b/googletest/include/gtest/gtest-printers.h @@ -119,8 +119,8 @@ #include "absl/strings/has_absl_stringify.h" #include "absl/strings/str_cat.h" #endif // GTEST_HAS_ABSL -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-port.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-port.h" #if GTEST_INTERNAL_HAS_STD_SPAN #include // NOLINT diff --git a/googletest/include/gtest/gtest-spi.h b/googletest/include/gtest/gtest-spi.h index c0613b69..ad64b3fc 100644 --- a/googletest/include/gtest/gtest-spi.h +++ b/googletest/include/gtest/gtest-spi.h @@ -35,7 +35,7 @@ #include -#include "gtest/gtest.h" +#include "gtest.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googletest/include/gtest/gtest-test-part.h b/googletest/include/gtest/gtest-test-part.h index 41c8a9a0..f4a0e7d6 100644 --- a/googletest/include/gtest/gtest-test-part.h +++ b/googletest/include/gtest/gtest-test-part.h @@ -39,8 +39,8 @@ #include #include -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-string.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-string.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googletest/include/gtest/gtest-typed-test.h b/googletest/include/gtest/gtest-typed-test.h index 72de536b..b1a9f979 100644 --- a/googletest/include/gtest/gtest-typed-test.h +++ b/googletest/include/gtest/gtest-typed-test.h @@ -171,9 +171,9 @@ INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes); #endif // 0 -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-port.h" -#include "gtest/internal/gtest-type-util.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-port.h" +#include "internal/gtest-type-util.h" // Implements typed tests. diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index a932e686..fd57ad4f 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -60,18 +60,18 @@ #include #include -#include "gtest/gtest-assertion-result.h" -#include "gtest/gtest-death-test.h" -#include "gtest/gtest-matchers.h" -#include "gtest/gtest-message.h" -#include "gtest/gtest-param-test.h" -#include "gtest/gtest-printers.h" -#include "gtest/gtest-test-part.h" -#include "gtest/gtest-typed-test.h" -#include "gtest/gtest_pred_impl.h" -#include "gtest/gtest_prod.h" -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-string.h" +#include "gtest-assertion-result.h" +#include "gtest-death-test.h" +#include "gtest-matchers.h" +#include "gtest-message.h" +#include "gtest-param-test.h" +#include "gtest-printers.h" +#include "gtest-test-part.h" +#include "gtest-typed-test.h" +#include "gtest_pred_impl.h" +#include "gtest_prod.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-string.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googletest/include/gtest/gtest_pred_impl.h b/googletest/include/gtest/gtest_pred_impl.h index 47a24aa6..dcfd7850 100644 --- a/googletest/include/gtest/gtest_pred_impl.h +++ b/googletest/include/gtest/gtest_pred_impl.h @@ -36,9 +36,9 @@ #ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_ #define GOOGLETEST_INCLUDE_GTEST_GTEST_PRED_IMPL_H_ -#include "gtest/gtest-assertion-result.h" -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-port.h" +#include "gtest-assertion-result.h" +#include "internal/gtest-internal.h" +#include "internal/gtest-port.h" namespace testing { diff --git a/googletest/include/gtest/internal/gtest-death-test-internal.h b/googletest/include/gtest/internal/gtest-death-test-internal.h index 61536d65..4923a40d 100644 --- a/googletest/include/gtest/internal/gtest-death-test-internal.h +++ b/googletest/include/gtest/internal/gtest-death-test-internal.h @@ -44,8 +44,8 @@ #include #include -#include "gtest/gtest-matchers.h" -#include "gtest/internal/gtest-internal.h" +#include +#include "gtest-internal.h" GTEST_DECLARE_string_(internal_run_death_test); diff --git a/googletest/include/gtest/internal/gtest-filepath.h b/googletest/include/gtest/internal/gtest-filepath.h index 5189c81d..1da18214 100644 --- a/googletest/include/gtest/internal/gtest-filepath.h +++ b/googletest/include/gtest/internal/gtest-filepath.h @@ -44,8 +44,8 @@ #include -#include "gtest/internal/gtest-port.h" -#include "gtest/internal/gtest-string.h" +#include "gtest-port.h" +#include "gtest-string.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index 4f077fcf..de9bce39 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -39,7 +39,7 @@ #ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_ #define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_ -#include "gtest/internal/gtest-port.h" +#include "gtest-port.h" #ifdef GTEST_OS_LINUX #include @@ -66,10 +66,10 @@ #include #include -#include "gtest/gtest-message.h" -#include "gtest/internal/gtest-filepath.h" -#include "gtest/internal/gtest-string.h" -#include "gtest/internal/gtest-type-util.h" +#include +#include "gtest-filepath.h" +#include "gtest-string.h" +#include "gtest-type-util.h" // Due to C++ preprocessor weirdness, we need double indirection to // concatenate two tokens when one of them is __LINE__. Writing diff --git a/googletest/include/gtest/internal/gtest-param-util.h b/googletest/include/gtest/internal/gtest-param-util.h index b04f7020..fad01c64 100644 --- a/googletest/include/gtest/internal/gtest-param-util.h +++ b/googletest/include/gtest/internal/gtest-param-util.h @@ -50,10 +50,10 @@ #include #include -#include "gtest/gtest-printers.h" -#include "gtest/gtest-test-part.h" -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-port.h" +#include +#include +#include "gtest-internal.h" +#include "gtest-port.h" namespace testing { // Input to a parameterized test name generator, describing a test parameter. diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index d061a49b..e9135221 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -327,8 +327,8 @@ #include #endif -#include "gtest/internal/custom/gtest-port.h" -#include "gtest/internal/gtest-port-arch.h" +#include "custom/gtest-port.h" +#include "gtest-port-arch.h" #ifndef GTEST_HAS_MUTEX_AND_THREAD_LOCAL_ #define GTEST_HAS_MUTEX_AND_THREAD_LOCAL_ 0 diff --git a/googletest/include/gtest/internal/gtest-string.h b/googletest/include/gtest/internal/gtest-string.h index 7c05b583..a52bde7b 100644 --- a/googletest/include/gtest/internal/gtest-string.h +++ b/googletest/include/gtest/internal/gtest-string.h @@ -54,7 +54,7 @@ #include #include -#include "gtest/internal/gtest-port.h" +#include "gtest-port.h" namespace testing { namespace internal { diff --git a/googletest/include/gtest/internal/gtest-type-util.h b/googletest/include/gtest/internal/gtest-type-util.h index f94cf614..ebc3e895 100644 --- a/googletest/include/gtest/internal/gtest-type-util.h +++ b/googletest/include/gtest/internal/gtest-type-util.h @@ -41,7 +41,7 @@ #include #include -#include "gtest/internal/gtest-port.h" +#include "gtest-port.h" // #ifdef __GNUC__ is too general here. It is possible to use gcc without using // libstdc++ (which is where cxxabi.h comes from). diff --git a/googletest/src/gtest-all.cc b/googletest/src/gtest-all.cc index 2a70ed88..2175ba0a 100644 --- a/googletest/src/gtest-all.cc +++ b/googletest/src/gtest-all.cc @@ -35,15 +35,15 @@ // This line ensures that gtest.h can be compiled on its own, even // when it's fused. -#include "gtest/gtest.h" +#include // The following lines pull in the real gtest *.cc files. -#include "src/gtest-assertion-result.cc" -#include "src/gtest-death-test.cc" -#include "src/gtest-filepath.cc" -#include "src/gtest-matchers.cc" -#include "src/gtest-port.cc" -#include "src/gtest-printers.cc" -#include "src/gtest-test-part.cc" -#include "src/gtest-typed-test.cc" -#include "src/gtest.cc" +#include "gtest-assertion-result.cc" +#include "gtest-death-test.cc" +#include "gtest-filepath.cc" +#include "gtest-matchers.cc" +#include "gtest-port.cc" +#include "gtest-printers.cc" +#include "gtest-test-part.cc" +#include "gtest-typed-test.cc" +#include "gtest.cc" diff --git a/googletest/src/gtest-assertion-result.cc b/googletest/src/gtest-assertion-result.cc index 39989216..f6cf7a8a 100644 --- a/googletest/src/gtest-assertion-result.cc +++ b/googletest/src/gtest-assertion-result.cc @@ -31,12 +31,12 @@ // // This file defines the AssertionResult type. -#include "gtest/gtest-assertion-result.h" +#include #include #include -#include "gtest/gtest-message.h" +#include namespace testing { diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc index b64dc6fa..cd3c9a58 100644 --- a/googletest/src/gtest-death-test.cc +++ b/googletest/src/gtest-death-test.cc @@ -30,7 +30,7 @@ // // This file implements death tests. -#include "gtest/gtest-death-test.h" +#include #include #include @@ -39,8 +39,8 @@ #include #include -#include "gtest/internal/custom/gtest.h" -#include "gtest/internal/gtest-port.h" +#include +#include #ifdef GTEST_HAS_DEATH_TEST @@ -85,8 +85,8 @@ #endif // GTEST_HAS_DEATH_TEST -#include "gtest/gtest-message.h" -#include "gtest/internal/gtest-string.h" +#include +#include #include "gtest-internal-inl.h" namespace testing { diff --git a/googletest/src/gtest-filepath.cc b/googletest/src/gtest-filepath.cc index 902d8c7f..f8c7a82a 100644 --- a/googletest/src/gtest-filepath.cc +++ b/googletest/src/gtest-filepath.cc @@ -27,15 +27,15 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "gtest/internal/gtest-filepath.h" +#include #include #include #include -#include "gtest/gtest-message.h" -#include "gtest/internal/gtest-port.h" +#include +#include #ifdef GTEST_OS_WINDOWS_MOBILE #include @@ -48,7 +48,7 @@ #include // Some Linux distributions define PATH_MAX here. #endif // GTEST_OS_WINDOWS_MOBILE -#include "gtest/internal/gtest-string.h" +#include #ifdef GTEST_OS_WINDOWS #define GTEST_PATH_MAX_ _MAX_PATH diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h index 4799a1e7..a311e9c4 100644 --- a/googletest/src/gtest-internal-inl.h +++ b/googletest/src/gtest-internal-inl.h @@ -48,7 +48,7 @@ #include #include -#include "gtest/internal/gtest-port.h" +#include #if GTEST_CAN_STREAM_RESULTS_ #include // NOLINT @@ -59,8 +59,8 @@ #include // NOLINT #endif // GTEST_OS_WINDOWS -#include "gtest/gtest-spi.h" -#include "gtest/gtest.h" +#include +#include GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ /* class A needs to have dll-interface to be used by clients of class B */) diff --git a/googletest/src/gtest-matchers.cc b/googletest/src/gtest-matchers.cc index 7e3bcc0c..818d127e 100644 --- a/googletest/src/gtest-matchers.cc +++ b/googletest/src/gtest-matchers.cc @@ -32,12 +32,12 @@ // This file implements just enough of the matcher interface to allow // EXPECT_DEATH and friends to accept a matcher argument. -#include "gtest/gtest-matchers.h" +#include #include -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-port.h" +#include +#include namespace testing { diff --git a/googletest/src/gtest-port.cc b/googletest/src/gtest-port.cc index 16e8c021..316f1d95 100644 --- a/googletest/src/gtest-port.cc +++ b/googletest/src/gtest-port.cc @@ -27,7 +27,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "gtest/internal/gtest-port.h" +#include #include #include @@ -87,10 +87,10 @@ #include #endif // GTEST_OS_FUCHSIA -#include "gtest/gtest-message.h" -#include "gtest/gtest-spi.h" -#include "gtest/internal/gtest-internal.h" -#include "gtest/internal/gtest-string.h" +#include +#include +#include +#include #include "gtest-internal-inl.h" namespace testing { diff --git a/googletest/src/gtest-printers.cc b/googletest/src/gtest-printers.cc index da1f965c..5fb553a9 100644 --- a/googletest/src/gtest-printers.cc +++ b/googletest/src/gtest-printers.cc @@ -40,7 +40,7 @@ // or void PrintTo(const Foo&, ::std::ostream*) in the namespace that // defines Foo. -#include "gtest/gtest-printers.h" +#include #include @@ -53,7 +53,7 @@ #include #include -#include "gtest/internal/gtest-port.h" +#include #include "gtest-internal-inl.h" namespace testing { diff --git a/googletest/src/gtest-test-part.cc b/googletest/src/gtest-test-part.cc index cccd2637..ca375169 100644 --- a/googletest/src/gtest-test-part.cc +++ b/googletest/src/gtest-test-part.cc @@ -30,12 +30,12 @@ // // The Google C++ Testing and Mocking Framework (Google Test) -#include "gtest/gtest-test-part.h" +#include #include #include -#include "gtest/internal/gtest-port.h" +#include #include "gtest-internal-inl.h" namespace testing { diff --git a/googletest/src/gtest-typed-test.cc b/googletest/src/gtest-typed-test.cc index b251c09d..56a1d3a7 100644 --- a/googletest/src/gtest-typed-test.cc +++ b/googletest/src/gtest-typed-test.cc @@ -27,13 +27,13 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "gtest/gtest-typed-test.h" +#include #include #include #include -#include "gtest/gtest.h" +#include namespace testing { namespace internal { diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index a2b78386..f080841f 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -30,7 +30,7 @@ // // The Google C++ Testing and Mocking Framework (Google Test) -#include "gtest/gtest.h" +#include #include #include @@ -62,10 +62,10 @@ #include #include -#include "gtest/gtest-assertion-result.h" -#include "gtest/gtest-spi.h" -#include "gtest/internal/custom/gtest.h" -#include "gtest/internal/gtest-port.h" +#include +#include +#include +#include #ifdef GTEST_OS_LINUX diff --git a/googletest/src/gtest_main.cc b/googletest/src/gtest_main.cc index 8141caf4..dfafc76b 100644 --- a/googletest/src/gtest_main.cc +++ b/googletest/src/gtest_main.cc @@ -29,7 +29,7 @@ #include -#include "gtest/gtest.h" +#include #if defined(GTEST_OS_ESP8266) || defined(GTEST_OS_ESP32) || \ (defined(GTEST_OS_NRF52) && defined(ARDUINO))