Home
last modified time | relevance | path

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

/external/fmtlib/test/
Dgtest-extra.h149 template <typename Mock> struct ScopedMock : testing::StrictMock<Mock> { struct
150 ScopedMock() { Mock::instance = this; } in ScopedMock() argument
151 ~ScopedMock() { Mock::instance = nullptr; } in ~ScopedMock() argument
Dposix-mock-test.cc440 TEST(ScopedMock, Scope) { in TEST() argument
442 ScopedMock<TestMock> mock; in TEST()
520 ScopedMock<LocaleMock> mock; in TEST()
530 ScopedMock<LocaleMock> mock; in TEST()
540 ScopedMock<LocaleMock> mock; in TEST()