Home
last modified time | relevance | path

Searched refs:g_mock_object_registry (Results 1 – 1 of 1) sorted by relevance

/third_party/googletest/googlemock/src/
Dgmock-spec-builders.cc667 MockObjectRegistry g_mock_object_registry; variable
729 g_mock_object_registry.states()[mock_obj].leakable = true; in AllowLeak()
757 if (g_mock_object_registry.states().count(mock_obj) == 0) { in VerifyAndClearExpectationsLocked()
766 g_mock_object_registry.states()[mock_obj].function_mockers; in VerifyAndClearExpectationsLocked()
797 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); in Register()
807 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; in RegisterUseByOnCallOrExpectCall()
828 g_mock_object_registry.states().begin(); in UnregisterLocked()
829 it != g_mock_object_registry.states().end(); ++it) { in UnregisterLocked()
834 g_mock_object_registry.states().erase(it); in UnregisterLocked()
846 if (g_mock_object_registry.states().count(mock_obj) == 0) { in ClearDefaultActionsLocked()
[all …]