Home
last modified time | relevance | path

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

/external/mockito/src/test/java/org/mockitousage/bugs/
DClassCastExOnVerifyZeroInteractionsTest.java17 public interface TestMock { interface in ClassCastExOnVerifyZeroInteractionsTest
23 TestMock test = mock(TestMock.class, new Answer<Object>() { in should_not_throw_ClassCastException_when_mock_verification_fails()
34 TestMock test = mock(TestMock.class, new Answer<Object>() { in should_report_bogus_default_answer()
/external/fmtlib/test/
Dposix-mock-test.cc436 struct TestMock { struct
437 static TestMock* instance; argument
438 } * TestMock::instance;
442 ScopedMock<TestMock> mock; in TEST()
443 EXPECT_EQ(&mock, TestMock::instance); in TEST()
444 TestMock& copy = mock; in TEST()
447 EXPECT_EQ(nullptr, TestMock::instance); in TEST()