Home
last modified time | relevance | path

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

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParserTest.java70 ITestLifeCycleReceiver mockRunListener = EasyMock.createMock(ITestLifeCycleReceiver.class); in testRunTimeoutInput() local
71 mockRunListener.testRunStarted(TEST_NAME_2, 2); in testRunTimeoutInput()
73 mockRunListener.testStarted(test1); in testRunTimeoutInput()
74 mockRunListener.testFailed(test1, "TIMEOUT"); in testRunTimeoutInput()
75 mockRunListener.testEnded(test1, Collections.emptyMap()); in testRunTimeoutInput()
78 mockRunListener.testStarted(test2); in testRunTimeoutInput()
79 mockRunListener.testEnded(test2, Collections.emptyMap()); in testRunTimeoutInput()
80 mockRunListener.testRunEnded(totalTime, Collections.emptyMap()); in testRunTimeoutInput()
82 EasyMock.replay(mockRunListener); in testRunTimeoutInput()
84 new VtsMultiDeviceTestResultParser(mockRunListener, RUN_NAME); in testRunTimeoutInput()
[all …]
DVtsFuzzTestResultParserTest.java77 ITestLifeCycleReceiver mockRunListener = EasyMock.createMock(ITestLifeCycleReceiver.class); in testParsePassedFile() local
78 mockRunListener.testRunStarted(TEST_MODULE_NAME, 1); in testParsePassedFile()
79 mockRunListener.testEnded( in testParsePassedFile()
81 EasyMock.replay(mockRunListener); in testParsePassedFile()
83 new VtsFuzzTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParsePassedFile()
93 ITestLifeCycleReceiver mockRunListener = EasyMock.createMock(ITestLifeCycleReceiver.class); in testParseFailedFile() local
94 mockRunListener.testRunStarted(TEST_MODULE_NAME, 1); in testParseFailedFile()
95 mockRunListener.testFailed( in testParseFailedFile()
97 mockRunListener.testEnded( in testParseFailedFile()
99 mockRunListener.testRunFailed((String)EasyMock.anyObject()); in testParseFailedFile()
[all …]