Lines Matching refs:Mock

30 // Google Mock - a framework for writing C++ mock classes.
70 // Protects the mock object registry (in class Mock), all function
326 Mock::Register(mock_obj, this);
457 // Class Mock.
482 // Mock::AllowLeak(), ON_CALL(), or EXPECT_CALL() is called on it. It
525 "testing::Mock::AllowLeak(mock_object), or you may use a "
550 // Maps a mock object to the reaction Google Mock should have when an
558 // Sets the reaction Google Mock should have when an uninteresting
569 // Tells Google Mock to allow uninteresting calls on the given mock
571 void Mock::AllowUninterestingCalls(uintptr_t mock_obj)
576 // Tells Google Mock to warn the user about uninteresting calls on the
578 void Mock::WarnUninterestingCalls(uintptr_t mock_obj)
583 // Tells Google Mock to fail uninteresting calls on the given mock
585 void Mock::FailUninterestingCalls(uintptr_t mock_obj)
590 // Tells Google Mock the given mock object is being destroyed and its
592 void Mock::UnregisterCallReaction(uintptr_t mock_obj)
598 // Returns the reaction Google Mock will have on uninteresting calls
600 internal::CallReaction Mock::GetReactionOnUninterestingCalls(
611 // Tells Google Mock to ignore mock_obj when checking for leaked mock
613 void Mock::AllowLeak(const void* mock_obj)
622 bool Mock::VerifyAndClearExpectations(void* mock_obj)
631 bool Mock::VerifyAndClear(void* mock_obj)
641 bool Mock::VerifyAndClearExpectationsLocked(void* mock_obj)
666 bool Mock::IsNaggy(void* mock_obj)
668 return Mock::GetReactionOnUninterestingCalls(mock_obj) == internal::kWarn;
670 bool Mock::IsNice(void* mock_obj)
672 return Mock::GetReactionOnUninterestingCalls(mock_obj) == internal::kAllow;
674 bool Mock::IsStrict(void* mock_obj)
676 return Mock::GetReactionOnUninterestingCalls(mock_obj) == internal::kFail;
680 void Mock::Register(const void* mock_obj,
687 // Tells Google Mock where in the source code mock_obj is used in an
690 void Mock::RegisterUseByOnCallOrExpectCall(const void* mock_obj,
711 void Mock::UnregisterLocked(internal::UntypedFunctionMockerBase* mocker)
729 void Mock::ClearDefaultActionsLocked(void* mock_obj)