H A D | gmock-actions_test.cc | 513 // Perform method. 519 int Perform(const std::tuple<bool, int>& args) override { in Perform() function in testing::__anon10e2b6f40111::MyActionImpl 532 // When exercising the Perform() method of Action<F>, we must pass in TEST() 534 // types. For example, if F is int(), then Perform() takes a in TEST() 535 // 0-tuple; if F is void(bool, int), then Perform() takes a in TEST() 537 EXPECT_EQ(5, action.Perform(std::make_tuple(true, 5))); in TEST() 550 EXPECT_EQ(5, action.Perform(std::make_tuple(true, 5))); in TEST() 551 EXPECT_EQ(0, action.Perform(std::make_tuple(false, 1))); in TEST() 560 EXPECT_EQ(5, a1.Perform(std::make_tuple(true, 5))); in TEST() 561 EXPECT_EQ(0, a1.Perform(std::make_tuple(false, 1))); in TEST() [all …]
|