Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/log/
DTerribleFailureEmailHandlerTest.java33 private IEmail mMockEmail; field in TerribleFailureEmailHandlerTest
41 mMockEmail = EasyMock.createMock(IEmail.class); in setUp()
42 mWtfEmailHandler = new TerribleFailureEmailHandler(mMockEmail) { in setUp()
61 mMockEmail.send(EasyMock.<Message>anyObject()); in testOnTerribleFailure()
62 EasyMock.replay(mMockEmail); in testOnTerribleFailure()
65 EasyMock.verify(mMockEmail); in testOnTerribleFailure()
75 mMockEmail.send(EasyMock.<Message> anyObject()); in testOnTerribleFailure_catchesIllegalArgumentException()
80 EasyMock.replay(mMockEmail); in testOnTerribleFailure_catchesIllegalArgumentException()
92 mMockEmail.send(EasyMock.<Message> anyObject()); in testOnTerribleFailure_catchesIOException()
97 EasyMock.replay(mMockEmail); in testOnTerribleFailure_catchesIOException()
[all …]