Home
last modified time | relevance | path

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

/external/gmock/src/
Dgmock-spec-builders.cc589 MockObjectRegistry g_mock_object_registry; variable
650 g_mock_object_registry.states()[mock_obj].leakable = true; in AllowLeak()
678 if (g_mock_object_registry.states().count(mock_obj) == 0) { in VerifyAndClearExpectationsLocked()
687 g_mock_object_registry.states()[mock_obj].function_mockers; in VerifyAndClearExpectationsLocked()
705 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); in Register()
715 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; in RegisterUseByOnCallOrExpectCall()
739 g_mock_object_registry.states().begin(); in UnregisterLocked()
740 it != g_mock_object_registry.states().end(); ++it) { in UnregisterLocked()
745 g_mock_object_registry.states().erase(it); in UnregisterLocked()
757 if (g_mock_object_registry.states().count(mock_obj) == 0) { in ClearDefaultActionsLocked()
[all …]
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc589 MockObjectRegistry g_mock_object_registry; variable
650 g_mock_object_registry.states()[mock_obj].leakable = true; in AllowLeak()
678 if (g_mock_object_registry.states().count(mock_obj) == 0) { in VerifyAndClearExpectationsLocked()
687 g_mock_object_registry.states()[mock_obj].function_mockers; in VerifyAndClearExpectationsLocked()
705 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); in Register()
715 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; in RegisterUseByOnCallOrExpectCall()
739 g_mock_object_registry.states().begin(); in UnregisterLocked()
740 it != g_mock_object_registry.states().end(); ++it) { in UnregisterLocked()
745 g_mock_object_registry.states().erase(it); in UnregisterLocked()
757 if (g_mock_object_registry.states().count(mock_obj) == 0) { in ClearDefaultActionsLocked()
[all …]