• Home
  • Raw
  • Download

Lines Matching refs:internal

65 namespace internal {  namespace
72 GTEST_API_ void LogWithLocation(testing::internal::LogSeverity severity, in LogWithLocation()
76 s << internal::FormatFileLocation(file, line) << " " << message in LogWithLocation()
572 return static_cast<internal::CallReaction>(mock_behavior); in intToCallReaction()
583 typedef std::set<internal::UntypedFunctionMockerBase*> FunctionMockers;
629 std::cout << internal::FormatFileLocation(state.first_used_file, in ~MockObjectRegistry()
671 std::map<const void*, internal::CallReaction> g_uninteresting_call_reaction;
676 internal::CallReaction reaction) in SetReactionOnUninterestingCalls()
677 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in SetReactionOnUninterestingCalls()
678 internal::MutexLock l(&internal::g_gmock_mutex); in SetReactionOnUninterestingCalls()
687 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in AllowUninterestingCalls()
688 SetReactionOnUninterestingCalls(mock_obj, internal::kAllow); in AllowUninterestingCalls()
694 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in WarnUninterestingCalls()
695 SetReactionOnUninterestingCalls(mock_obj, internal::kWarn); in WarnUninterestingCalls()
701 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in FailUninterestingCalls()
702 SetReactionOnUninterestingCalls(mock_obj, internal::kFail); in FailUninterestingCalls()
708 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in UnregisterCallReaction()
709 internal::MutexLock l(&internal::g_gmock_mutex); in UnregisterCallReaction()
715 internal::CallReaction Mock::GetReactionOnUninterestingCalls( in GetReactionOnUninterestingCalls()
717 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in GetReactionOnUninterestingCalls()
718 internal::MutexLock l(&internal::g_gmock_mutex); in GetReactionOnUninterestingCalls()
720 internal::intToCallReaction(GMOCK_FLAG(default_mock_behavior)) : in GetReactionOnUninterestingCalls()
727 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in AllowLeak()
728 internal::MutexLock l(&internal::g_gmock_mutex); in AllowLeak()
736 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in VerifyAndClearExpectations()
737 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClearExpectations()
745 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in VerifyAndClear()
746 internal::MutexLock l(&internal::g_gmock_mutex); in VerifyAndClear()
755 GTEST_EXCLUSIVE_LOCK_REQUIRED_(internal::g_gmock_mutex) { in VerifyAndClearExpectationsLocked()
756 internal::g_gmock_mutex.AssertHeld(); in VerifyAndClearExpectationsLocked()
780 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in IsNaggy()
781 return Mock::GetReactionOnUninterestingCalls(mock_obj) == internal::kWarn; in IsNaggy()
784 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in IsNice()
785 return Mock::GetReactionOnUninterestingCalls(mock_obj) == internal::kAllow; in IsNice()
788 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in IsStrict()
789 return Mock::GetReactionOnUninterestingCalls(mock_obj) == internal::kFail; in IsStrict()
794 internal::UntypedFunctionMockerBase* mocker) in Register()
795 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in Register()
796 internal::MutexLock l(&internal::g_gmock_mutex); in Register()
805 GTEST_LOCK_EXCLUDED_(internal::g_gmock_mutex) { in RegisterUseByOnCallOrExpectCall()
806 internal::MutexLock l(&internal::g_gmock_mutex); in RegisterUseByOnCallOrExpectCall()
824 void Mock::UnregisterLocked(internal::UntypedFunctionMockerBase* mocker) in UnregisterLocked()
825 GTEST_EXCLUSIVE_LOCK_REQUIRED_(internal::g_gmock_mutex) { in UnregisterLocked()
826 internal::g_gmock_mutex.AssertHeld(); in UnregisterLocked()
843 GTEST_EXCLUSIVE_LOCK_REQUIRED_(internal::g_gmock_mutex) { in ClearDefaultActionsLocked()
844 internal::g_gmock_mutex.AssertHeld(); in ClearDefaultActionsLocked()
867 const std::shared_ptr<internal::ExpectationBase>& an_expectation_base) in Expectation()
885 if (internal::g_gmock_implicit_sequence.get() == nullptr) { in InSequence()
886 internal::g_gmock_implicit_sequence.set(new Sequence); in InSequence()
897 delete internal::g_gmock_implicit_sequence.get(); in ~InSequence()
898 internal::g_gmock_implicit_sequence.set(nullptr); in ~InSequence()