Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestFailureListenerTest.java67 InputStreamSource fakeSource = new ByteArrayInputStreamSource(fakeData); in testTestFailed() local
70 EasyMock.expect(mMockDevice.getScreenshot()).andReturn(fakeSource); in testTestFailed()
74 EasyMock.eq(fakeSource)); in testTestFailed()
79 EasyMock.expect(mMockDevice.getLogcatSince(EasyMock.eq(startDate))).andReturn(fakeSource); in testTestFailed()
83 EasyMock.eq(fakeSource)); in testTestFailed()
113 InputStreamSource fakeSource = new ByteArrayInputStreamSource(fakeData); in testTestFailed_notAvailable() local
119 EasyMock.expect(mMockDevice.getLogcat(EasyMock.anyInt())).andReturn(fakeSource); in testTestFailed_notAvailable()
123 EasyMock.eq(fakeSource)); in testTestFailed_notAvailable()
DITestSuiteTest.java270 InputStreamSource fakeSource = new ByteArrayInputStreamSource(fakeData); in testRun_failedSystemChecker() local
278 EasyMock.expect(mMockDevice.getBugreport()).andReturn(fakeSource).times(2); in testRun_failedSystemChecker()
280 EasyMock.eq(fakeSource)); in testRun_failedSystemChecker()
299 InputStreamSource fakeSource = new ByteArrayInputStreamSource(fakeData); in testRun_failedSystemChecker_reportFailure() local
305 EasyMock.expect(mMockDevice.getBugreport()).andReturn(fakeSource).times(1); in testRun_failedSystemChecker_reportFailure()
309 EasyMock.eq(fakeSource)); in testRun_failedSystemChecker_reportFailure()