summaryrefslogtreecommitdiffstats
path: root/googlemock/test
diff options
context:
space:
mode:
authormisterg <misterg@google.com>2019-01-02 21:50:02 (GMT)
committerGennadiy Civil <misterg@google.com>2019-01-02 21:51:40 (GMT)
commit14c2fba7349e1f84e506dd6eab2835a8023d0f05 (patch)
tree153a958225111f1d08d970dc457252097fa42be2 /googlemock/test
parentf8b1c1af17750189b83c58f360c85268c0d95105 (diff)
downloadgoogletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.zip
googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.tar.gz
googletest-14c2fba7349e1f84e506dd6eab2835a8023d0f05.tar.bz2
Googletest export
Internal Change PiperOrigin-RevId: 227575279
Diffstat (limited to 'googlemock/test')
-rw-r--r--googlemock/test/gmock-actions_test.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index 6c03b2e..f918410 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -1438,10 +1438,6 @@ TEST(FunctorActionTest, UnusedArguments) {
}
// Test that basic built-in actions work with move-only arguments.
-// FIXME: Currently, almost all ActionInterface-based actions will not
-// work, even if they only try to use other, copyable arguments. Implement them
-// if necessary (but note that DoAll cannot work on non-copyable types anyway -
-// so maybe it's better to make users use lambdas instead.
TEST(MoveOnlyArgumentsTest, ReturningActions) {
Action<int(std::unique_ptr<int>)> a = Return(1);
EXPECT_EQ(1, a.Perform(std::make_tuple(nullptr)));