ext: Import googlemock, release version 1.8.0
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 14 Nov 2018 18:41:19 +0000 (18:41 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 6 Dec 2018 11:52:57 +0000 (11:52 +0000)
commit44551545affd785804a3dde8f0e88b3bcf9bf904
tree1621afabed0443eed2a5108878b4d5436e6c5f3c
parent3b7f8c22f4cca8de7222432066273912b65424e3
ext: Import googlemock, release version 1.8.0

gtest 1.8.0 is already part of gem5; this patch adds a matching gmock
so that it is possible to create Mocks in gem5 unit tests.

Please note: the commit is just importing the source code as it is
without adding any SConscript; it is hence unbuildable at the moment.
Next commits will integrate the mocking framework into the gem5
build system

Change-Id: Iaf05ad91b1964aac7ea37085f839027a8d34ba3e
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/14695
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
118 files changed:
ext/googlemock/CHANGES [new file with mode: 0644]
ext/googlemock/CMakeLists.txt [new file with mode: 0644]
ext/googlemock/CONTRIBUTORS [new file with mode: 0644]
ext/googlemock/LICENSE [new file with mode: 0644]
ext/googlemock/Makefile.am [new file with mode: 0644]
ext/googlemock/README.md [new file with mode: 0644]
ext/googlemock/build-aux/.keep [new file with mode: 0644]
ext/googlemock/configure.ac [new file with mode: 0644]
ext/googlemock/docs/CheatSheet.md [new file with mode: 0644]
ext/googlemock/docs/CookBook.md [new file with mode: 0644]
ext/googlemock/docs/DesignDoc.md [new file with mode: 0644]
ext/googlemock/docs/DevGuide.md [new file with mode: 0644]
ext/googlemock/docs/Documentation.md [new file with mode: 0644]
ext/googlemock/docs/ForDummies.md [new file with mode: 0644]
ext/googlemock/docs/FrequentlyAskedQuestions.md [new file with mode: 0644]
ext/googlemock/docs/KnownIssues.md [new file with mode: 0644]
ext/googlemock/docs/v1_5/CheatSheet.md [new file with mode: 0644]
ext/googlemock/docs/v1_5/CookBook.md [new file with mode: 0644]
ext/googlemock/docs/v1_5/Documentation.md [new file with mode: 0644]
ext/googlemock/docs/v1_5/ForDummies.md [new file with mode: 0644]
ext/googlemock/docs/v1_5/FrequentlyAskedQuestions.md [new file with mode: 0644]
ext/googlemock/docs/v1_6/CheatSheet.md [new file with mode: 0644]
ext/googlemock/docs/v1_6/CookBook.md [new file with mode: 0644]
ext/googlemock/docs/v1_6/Documentation.md [new file with mode: 0644]
ext/googlemock/docs/v1_6/ForDummies.md [new file with mode: 0644]
ext/googlemock/docs/v1_6/FrequentlyAskedQuestions.md [new file with mode: 0644]
ext/googlemock/docs/v1_7/CheatSheet.md [new file with mode: 0644]
ext/googlemock/docs/v1_7/CookBook.md [new file with mode: 0644]
ext/googlemock/docs/v1_7/Documentation.md [new file with mode: 0644]
ext/googlemock/docs/v1_7/ForDummies.md [new file with mode: 0644]
ext/googlemock/docs/v1_7/FrequentlyAskedQuestions.md [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-actions.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-cardinalities.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-actions.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-actions.h.pump [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-function-mockers.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-function-mockers.h.pump [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-matchers.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-matchers.h.pump [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-nice-strict.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-generated-nice-strict.h.pump [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-matchers.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-more-actions.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-more-matchers.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock-spec-builders.h [new file with mode: 0644]
ext/googlemock/include/gmock/gmock.h [new file with mode: 0644]
ext/googlemock/include/gmock/internal/custom/gmock-generated-actions.h [new file with mode: 0644]
ext/googlemock/include/gmock/internal/custom/gmock-generated-actions.h.pump [new file with mode: 0644]
ext/googlemock/include/gmock/internal/custom/gmock-matchers.h [new file with mode: 0644]
ext/googlemock/include/gmock/internal/custom/gmock-port.h [new file with mode: 0644]
ext/googlemock/include/gmock/internal/gmock-generated-internal-utils.h [new file with mode: 0644]
ext/googlemock/include/gmock/internal/gmock-generated-internal-utils.h.pump [new file with mode: 0644]
ext/googlemock/include/gmock/internal/gmock-internal-utils.h [new file with mode: 0644]
ext/googlemock/include/gmock/internal/gmock-port.h [new file with mode: 0644]
ext/googlemock/make/Makefile [new file with mode: 0644]
ext/googlemock/msvc/2005/gmock.sln [new file with mode: 0644]
ext/googlemock/msvc/2005/gmock.vcproj [new file with mode: 0644]
ext/googlemock/msvc/2005/gmock_config.vsprops [new file with mode: 0644]
ext/googlemock/msvc/2005/gmock_main.vcproj [new file with mode: 0644]
ext/googlemock/msvc/2005/gmock_test.vcproj [new file with mode: 0644]
ext/googlemock/msvc/2010/gmock.sln [new file with mode: 0644]
ext/googlemock/msvc/2010/gmock.vcxproj [new file with mode: 0644]
ext/googlemock/msvc/2010/gmock_config.props [new file with mode: 0644]
ext/googlemock/msvc/2010/gmock_main.vcxproj [new file with mode: 0644]
ext/googlemock/msvc/2010/gmock_test.vcxproj [new file with mode: 0644]
ext/googlemock/msvc/2015/gmock.sln [new file with mode: 0644]
ext/googlemock/msvc/2015/gmock.vcxproj [new file with mode: 0644]
ext/googlemock/msvc/2015/gmock_config.props [new file with mode: 0644]
ext/googlemock/msvc/2015/gmock_main.vcxproj [new file with mode: 0644]
ext/googlemock/msvc/2015/gmock_test.vcxproj [new file with mode: 0644]
ext/googlemock/scripts/fuse_gmock_files.py [new file with mode: 0755]
ext/googlemock/scripts/generator/LICENSE [new file with mode: 0644]
ext/googlemock/scripts/generator/README [new file with mode: 0644]
ext/googlemock/scripts/generator/README.cppclean [new file with mode: 0644]
ext/googlemock/scripts/generator/cpp/__init__.py [new file with mode: 0755]
ext/googlemock/scripts/generator/cpp/ast.py [new file with mode: 0755]
ext/googlemock/scripts/generator/cpp/gmock_class.py [new file with mode: 0755]
ext/googlemock/scripts/generator/cpp/gmock_class_test.py [new file with mode: 0755]
ext/googlemock/scripts/generator/cpp/keywords.py [new file with mode: 0755]
ext/googlemock/scripts/generator/cpp/tokenize.py [new file with mode: 0755]
ext/googlemock/scripts/generator/cpp/utils.py [new file with mode: 0755]
ext/googlemock/scripts/generator/gmock_gen.py [new file with mode: 0755]
ext/googlemock/scripts/gmock-config.in [new file with mode: 0755]
ext/googlemock/scripts/gmock_doctor.py [new file with mode: 0755]
ext/googlemock/scripts/upload.py [new file with mode: 0755]
ext/googlemock/scripts/upload_gmock.py [new file with mode: 0755]
ext/googlemock/src/gmock-all.cc [new file with mode: 0644]
ext/googlemock/src/gmock-cardinalities.cc [new file with mode: 0644]
ext/googlemock/src/gmock-internal-utils.cc [new file with mode: 0644]
ext/googlemock/src/gmock-matchers.cc [new file with mode: 0644]
ext/googlemock/src/gmock-spec-builders.cc [new file with mode: 0644]
ext/googlemock/src/gmock.cc [new file with mode: 0644]
ext/googlemock/src/gmock_main.cc [new file with mode: 0644]
ext/googlemock/test/gmock-actions_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-cardinalities_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-generated-actions_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-generated-function-mockers_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-generated-internal-utils_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-generated-matchers_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-internal-utils_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-matchers_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-more-actions_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-nice-strict_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-port_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock-spec-builders_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_all_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_ex_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_leak_test.py [new file with mode: 0755]
ext/googlemock/test/gmock_leak_test_.cc [new file with mode: 0644]
ext/googlemock/test/gmock_link2_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_link_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_link_test.h [new file with mode: 0644]
ext/googlemock/test/gmock_output_test.py [new file with mode: 0755]
ext/googlemock/test/gmock_output_test_.cc [new file with mode: 0644]
ext/googlemock/test/gmock_output_test_golden.txt [new file with mode: 0644]
ext/googlemock/test/gmock_stress_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_test.cc [new file with mode: 0644]
ext/googlemock/test/gmock_test_utils.py [new file with mode: 0755]