diff options
author | Abseil Team <absl-team@google.com> | 2019-01-16 15:23:44 -0500 |
---|---|---|
committer | Alex Strelnikov <strel@google.com> | 2019-01-17 14:41:08 -0500 |
commit | 0adeadd2830211f827fd2908e4621f6a4afa810c (patch) | |
tree | 1a620e576ad423e1931a00dfe1f9448932f62e41 /googlemock/test/gmock-spec-builders_test.cc | |
parent | eb9225ce361affe561592e0912320b9db84985d0 (diff) | |
download | googletest-0adeadd2830211f827fd2908e4621f6a4afa810c.tar.gz googletest-0adeadd2830211f827fd2908e4621f6a4afa810c.tar.bz2 googletest-0adeadd2830211f827fd2908e4621f6a4afa810c.zip |
Googletest export
Refactor the `Invoke` and `InvokeWithoutArgs` actions:
- Replace pump'd classes and functions with templates.
- Make the polymorphic actions be polymorphic functors instead.
- Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor.
PiperOrigin-RevId: 229604112
Diffstat (limited to 'googlemock/test/gmock-spec-builders_test.cc')
-rw-r--r-- | googlemock/test/gmock-spec-builders_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/googlemock/test/gmock-spec-builders_test.cc b/googlemock/test/gmock-spec-builders_test.cc index 557abaea..10869b66 100644 --- a/googlemock/test/gmock-spec-builders_test.cc +++ b/googlemock/test/gmock-spec-builders_test.cc @@ -78,6 +78,7 @@ using testing::Expectation; using testing::ExpectationSet; using testing::GMOCK_FLAG(verbose); using testing::Gt; +using testing::IgnoreResult; using testing::InSequence; using testing::Invoke; using testing::InvokeWithoutArgs; |