Lines Matching refs:mockBuffer

72     const auto mockBuffer = MockBuffer::create();  in TEST()  local
75 const auto result = Buffer::create(mockBuffer, kInvalidToken); in TEST()
84 const auto mockBuffer = MockBuffer::create(); in TEST() local
85 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
96 const auto mockBuffer = MockBuffer::create(); in TEST() local
97 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
98 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
109 const auto mockBuffer = MockBuffer::create(); in TEST() local
110 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
111 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeGeneralFailure)); in TEST()
123 const auto mockBuffer = MockBuffer::create(); in TEST() local
124 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
125 EXPECT_CALL(*mockBuffer, copyTo(_)) in TEST()
139 const auto mockBuffer = MockBuffer::create(); in TEST() local
140 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
141 EXPECT_CALL(*mockBuffer, copyTo(_)).Times(1).WillOnce(InvokeWithoutArgs(makeDeadObjectFailure)); in TEST()
153 const auto mockBuffer = MockBuffer::create(); in TEST() local
154 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
155 EXPECT_CALL(*mockBuffer, copyFrom(_, _)).Times(1).WillOnce(InvokeWithoutArgs(makeStatusOk)); in TEST()
166 const auto mockBuffer = MockBuffer::create(); in TEST() local
167 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
168 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
182 const auto mockBuffer = MockBuffer::create(); in TEST() local
183 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
184 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()
198 const auto mockBuffer = MockBuffer::create(); in TEST() local
199 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
200 EXPECT_CALL(*mockBuffer, copyFrom(_, _)) in TEST()