Lines Matching refs:mock

243   Mock mock;  in TEST()  local
245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
246 mock.VoidFromString(NULL); in TEST()
251 Mock mock; in TEST() local
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch)); in TEST()
255 mock.StringFromString(NULL); in TEST()
260 Mock mock; in TEST() local
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return()); in TEST()
263 mock.VoidFromString(NULL); in TEST()
268 Mock mock; in TEST() local
271 EXPECT_CALL(mock, IntRefFromString(_)).WillOnce(ReturnRef(n)); in TEST()
272 mock.IntRefFromString(NULL); in TEST()
277 Mock mock; in TEST() local
280 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Assign(&ch, 'y')); in TEST()
281 mock.VoidFromString(NULL); in TEST()
286 Mock mock; in TEST() local
289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST()
290 mock.VoidFromString(&ch); in TEST()
295 Mock mock; in TEST() local
299 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArrayArgument<0>(&ch2, in TEST()
301 mock.VoidFromString(&ch); in TEST()
308 Mock mock; in TEST() local
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1)); in TEST()
312 mock.IntFromString(NULL); in TEST()
320 Mock mock; in TEST() local
323 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
326 mock.VoidFromString(NULL); in TEST()
327 mock.VoidFromString(NULL); in TEST()
332 Mock mock; in TEST() local
335 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
339 mock.VoidFromString(NULL); in TEST()
340 mock.VoidFromString(NULL); in TEST()
345 Mock mock; in TEST() local
348 EXPECT_CALL(mock, VoidFromFunc(_)).WillOnce(InvokeArgument<0>(&ch)); in TEST()
349 mock.VoidFromFunc(InvokeHelper::StaticVoidFromString); in TEST()
354 Mock mock; in TEST() local
356 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
358 mock.VoidFromString(NULL); in TEST()
363 Mock mock; in TEST() local
365 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
367 mock.VoidFromString(NULL); in TEST()
372 Mock mock; in TEST() local
374 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(WithoutArgs(Return())); in TEST()
375 mock.VoidFromString(NULL); in TEST()
380 Mock mock; in TEST() local
383 EXPECT_CALL(mock, VoidFromString(_)) in TEST()
385 mock.VoidFromString(&ch); in TEST()
390 Mock mock; in TEST() local
393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
394 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(DoDefault()); in TEST()
395 mock.VoidFromString(&ch); in TEST()
400 Mock mock; in TEST() local
402 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(IgnoreResult(Return(42))); in TEST()
403 mock.VoidFromString(NULL); in TEST()
409 Mock mock; in TEST() local
411 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Throw(42)); in TEST()
412 EXPECT_THROW(mock.VoidFromString(NULL), int); in TEST()
432 Mock mock; in TEST() local
434 EXPECT_CALL(mock, IntFromString(_)).WillOnce(Return1()); in TEST()
435 mock.IntFromString(NULL); in TEST()
444 Mock mock; in TEST() local
446 EXPECT_CALL(mock, IntFromString(_)).WillOnce(ReturnArgument(42)); in TEST()
447 mock.IntFromString(NULL); in TEST()
462 Mock mock; in TEST() local
465 EXPECT_CALL(mock, IntFromString(_)) in TEST()
467 mock.IntFromString(&ch); in TEST()
472 Mock mock; in TEST() local
474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST()
479 Mock mock; in TEST() local
481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST()
486 Mock mock; in TEST() local
489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST()
490 ON_CALL(mock, VoidFromString(const_cast<char*>("y"))) in TEST()
496 Mock mock; in TEST() local
498 ON_CALL(mock, VoidFromFloat(Lt(1.0f))).WillByDefault(Return()); in TEST()
499 ON_CALL(mock, VoidFromFloat(Gt(1.0f))).WillByDefault(Return()); in TEST()
500 ON_CALL(mock, VoidFromFloat(Le(1.0f))).WillByDefault(Return()); in TEST()
501 ON_CALL(mock, VoidFromFloat(Ge(1.0f))).WillByDefault(Return()); in TEST()
502 ON_CALL(mock, VoidFromFloat(Ne(1.0f))).WillByDefault(Return()); in TEST()
507 Mock mock; in TEST() local
509 ON_CALL(mock, VoidFromString(NotNull())).WillByDefault(Return()); in TEST()
514 Mock mock; in TEST() local
516 ON_CALL(mock, VoidFromString(IsNull())).WillByDefault(Return()); in TEST()
521 Mock mock; in TEST() local
524 ON_CALL(mock, VoidFromIntRef(Ref(a))).WillByDefault(Return()); in TEST()
529 Mock mock; in TEST() local
532 ON_CALL(mock, VoidFromIntRef(TypedEq<int&>(a))).WillByDefault(Return()); in TEST()
538 Mock mock; in TEST() local
541 ON_CALL(mock, VoidFromFloat(FloatEq(a))).WillByDefault(Return()); in TEST()
542 ON_CALL(mock, VoidFromDouble(DoubleEq(a))).WillByDefault(Return()); in TEST()
543 ON_CALL(mock, VoidFromFloat(NanSensitiveFloatEq(a))).WillByDefault(Return()); in TEST()
544 ON_CALL(mock, VoidFromDouble(NanSensitiveDoubleEq(a))) in TEST()
550 Mock mock; in TEST() local
552 ON_CALL(mock, VoidFromString(ContainsRegex(".*"))).WillByDefault(Return()); in TEST()
557 Mock mock; in TEST() local
559 ON_CALL(mock, VoidFromString(MatchesRegex(".*"))).WillByDefault(Return()); in TEST()
564 Mock mock; in TEST() local
566 ON_CALL(mock, VoidFromString(StartsWith("a"))).WillByDefault(Return()); in TEST()
567 ON_CALL(mock, VoidFromString(EndsWith("c"))).WillByDefault(Return()); in TEST()
568 ON_CALL(mock, VoidFromString(HasSubstr("b"))).WillByDefault(Return()); in TEST()
573 Mock mock; in TEST() local
574 ON_CALL(mock, VoidFromString(StrEq("a"))).WillByDefault(Return()); in TEST()
575 ON_CALL(mock, VoidFromString(StrNe("a"))).WillByDefault(Return()); in TEST()
576 ON_CALL(mock, VoidFromString(StrCaseEq("a"))).WillByDefault(Return()); in TEST()
577 ON_CALL(mock, VoidFromString(StrCaseNe("a"))).WillByDefault(Return()); in TEST()
582 Mock mock; in TEST() local
584 ON_CALL(mock, VoidFromVector(ElementsAre('a', _))).WillByDefault(Return()); in TEST()
589 Mock mock; in TEST() local
592 ON_CALL(mock, VoidFromVector(ElementsAreArray(arr))).WillByDefault(Return()); in TEST()
597 Mock mock; in TEST() local
600 ON_CALL(mock, VoidFromVector(ContainerEq(v))).WillByDefault(Return()); in TEST()