Home
last modified time | relevance | path

Searched refs:ReturnSecond (Results 1 – 1 of 1) sorted by relevance

/external/chromium/base/
Dgmock_unittest.cc39 virtual int ReturnSecond(int a, int b) { in ReturnSecond() function in __anona353eafc0111::SampleClass
50 MOCK_METHOD2(ReturnSecond, int(int a, int b));
60 ACTION(ReturnSecond) { in ACTION() argument
114 EXPECT_CALL(mock, ReturnSecond(_, AnyOf(Eq(4), Eq(5)))) in TEST()
115 .WillRepeatedly(ReturnSecond()); in TEST()
116 EXPECT_EQ(4, mock.ReturnSecond(-1, 4)); in TEST()
117 EXPECT_EQ(5, mock.ReturnSecond(0, 5)); in TEST()
118 EXPECT_EQ(4, mock.ReturnSecond(0xdeadbeef, 4)); in TEST()
119 EXPECT_EQ(4, mock.ReturnSecond(112358, 4)); in TEST()
120 EXPECT_EQ(5, mock.ReturnSecond(1337, 5)); in TEST()
[all …]