aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-generated-function-mockers_test.cc
diff options
context:
space:
mode:
authorChris Johnson <chrisjohnsonmail@gmail.com>2019-01-03 21:13:20 -0600
committerGitHub <noreply@github.com>2019-01-03 21:13:20 -0600
commit0ffa5f9779fc3a1b18d4931484b46825d952821d (patch)
treef31698c81378165e2fe639e93d6f54b252b1e2c2 /googlemock/test/gmock-generated-function-mockers_test.cc
parent0c0ca90382457859785a97bea5695093d72097dd (diff)
parent3880b13e4c0b04ca88f69b9c93da6058bd836c34 (diff)
downloadgoogletest-0ffa5f9779fc3a1b18d4931484b46825d952821d.tar.gz
googletest-0ffa5f9779fc3a1b18d4931484b46825d952821d.tar.bz2
googletest-0ffa5f9779fc3a1b18d4931484b46825d952821d.zip
Merge branch 'master' into chore/fix_library_json
Diffstat (limited to 'googlemock/test/gmock-generated-function-mockers_test.cc')
-rw-r--r--googlemock/test/gmock-generated-function-mockers_test.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/googlemock/test/gmock-generated-function-mockers_test.cc b/googlemock/test/gmock-generated-function-mockers_test.cc
index 79130bcf..52d9b8b8 100644
--- a/googlemock/test/gmock-generated-function-mockers_test.cc
+++ b/googlemock/test/gmock-generated-function-mockers_test.cc
@@ -582,7 +582,6 @@ TEST(MockFunctionTest, WorksFor10Arguments) {
EXPECT_EQ(2, foo.Call(true, 'a', 0, 0, 0, 0, 0, 'b', 1, false));
}
-#if GTEST_HAS_STD_FUNCTION_
TEST(MockFunctionTest, AsStdFunction) {
MockFunction<int(int)> foo;
auto call = [](const std::function<int(int)> &f, int i) {
@@ -614,7 +613,6 @@ TEST(MockFunctionTest, AsStdFunctionWithReferenceParameter) {
EXPECT_EQ(-1, call(foo.AsStdFunction(), i));
}
-#endif // GTEST_HAS_STD_FUNCTION_
struct MockMethodSizes0 {
MOCK_METHOD0(func, void());