Searched refs:fakeSource (Results 1 – 2 of 2) sorted by relevance
67 InputStreamSource fakeSource = new ByteArrayInputStreamSource(fakeData); in testTestFailed() local70 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() local119 EasyMock.expect(mMockDevice.getLogcat(EasyMock.anyInt())).andReturn(fakeSource); in testTestFailed_notAvailable()123 EasyMock.eq(fakeSource)); in testTestFailed_notAvailable()
270 InputStreamSource fakeSource = new ByteArrayInputStreamSource(fakeData); in testRun_failedSystemChecker() local278 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() local305 EasyMock.expect(mMockDevice.getBugreport()).andReturn(fakeSource).times(1); in testRun_failedSystemChecker_reportFailure()309 EasyMock.eq(fakeSource)); in testRun_failedSystemChecker_reportFailure()