OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ReturnSecond
(Results
1 - 2
of
2
) sorted by null
/external/chromium/base/
gmock_unittest.cc
39
virtual int
ReturnSecond
(int a, int b) {
50
MOCK_METHOD2(
ReturnSecond
, int(int a, int b));
60
ACTION(
ReturnSecond
) {
61
// Returns the second argument. This basically implemetns
ReturnSecond
.
108
// Test a mock of the
ReturnSecond
behavior using an action that provides an
114
EXPECT_CALL(mock,
ReturnSecond
(_, AnyOf(Eq(4), Eq(5))))
115
.WillRepeatedly(
ReturnSecond
());
116
EXPECT_EQ(4, mock.
ReturnSecond
(-1, 4));
117
EXPECT_EQ(5, mock.
ReturnSecond
(0, 5));
118
EXPECT_EQ(4, mock.
ReturnSecond
(0xdeadbeef, 4))
[
all
...]
/external/chromium_org/base/
gmock_unittest.cc
39
virtual int
ReturnSecond
(int a, int b) {
50
MOCK_METHOD2(
ReturnSecond
, int(int a, int b));
60
ACTION(
ReturnSecond
) {
61
// Returns the second argument. This basically implemetns
ReturnSecond
.
108
// Test a mock of the
ReturnSecond
behavior using an action that provides an
114
EXPECT_CALL(mock,
ReturnSecond
(_, AnyOf(Eq(4), Eq(5))))
115
.WillRepeatedly(
ReturnSecond
());
116
EXPECT_EQ(4, mock.
ReturnSecond
(-1, 4));
117
EXPECT_EQ(5, mock.
ReturnSecond
(0, 5));
118
EXPECT_EQ(4, mock.
ReturnSecond
(0xdeadbeef, 4))
[
all
...]
Completed in 627 milliseconds