Searched refs:ScopedMock (Results 1 – 2 of 2) sorted by relevance
149 template <typename Mock> struct ScopedMock : testing::StrictMock<Mock> { struct150 ScopedMock() { Mock::instance = this; } in ScopedMock() argument151 ~ScopedMock() { Mock::instance = nullptr; } in ~ScopedMock() argument
440 TEST(ScopedMock, Scope) { in TEST() argument442 ScopedMock<TestMock> mock; in TEST()520 ScopedMock<LocaleMock> mock; in TEST()530 ScopedMock<LocaleMock> mock; in TEST()540 ScopedMock<LocaleMock> mock; in TEST()