Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestResultParserTest.java38 ITestInvocationListener mockRunListener = in testParseSimpleFile() local
40 mockRunListener.testRunStarted(TEST_MODULE_NAME, 11); in testParseSimpleFile()
43 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile()
44 mockRunListener.testEnded( in testParseSimpleFile()
49 mockRunListener.testRunEnded( in testParseSimpleFile()
51 EasyMock.replay(mockRunListener); in testParseSimpleFile()
52 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFile()
55 EasyMock.verify(mockRunListener); in testParseSimpleFile()
64 ITestInvocationListener mockRunListener = in testParseSimpleFileNoTimes() local
66 mockRunListener.testRunStarted(TEST_MODULE_NAME, 53); in testParseSimpleFileNoTimes()
[all …]
DGTestXmlResultParserTest.java80 ITestInvocationListener mockRunListener = in testParseSimpleFile() local
82 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile()
85 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile()
86 mockRunListener.testEnded( in testParseSimpleFile()
90 mockRunListener.testRunEnded( in testParseSimpleFile()
92 EasyMock.replay(mockRunListener); in testParseSimpleFile()
94 new GTestXmlResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFile()
96 EasyMock.verify(mockRunListener); in testParseSimpleFile()
109 ITestInvocationListener mockRunListener = in testParseLargerFile() local
111 mockRunListener.testRunStarted(TEST_MODULE_NAME, 84); in testParseLargerFile()
[all …]
DGTestListTestParserTest.java38 ITestInvocationListener mockRunListener = in testParseSimpleList() local
40 mockRunListener.testRunStarted(TEST_MODULE_NAME, 23); in testParseSimpleList()
43 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleList()
44 mockRunListener.testEnded( in testParseSimpleList()
48 mockRunListener.testRunEnded( in testParseSimpleList()
50 EasyMock.replay(mockRunListener); in testParseSimpleList()
51 GTestListTestParser parser = new GTestListTestParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleList()
54 EasyMock.verify(mockRunListener); in testParseSimpleList()
64 ITestInvocationListener mockRunListener = in testParseMultiClassList() local
66 mockRunListener.testRunStarted(TEST_MODULE_NAME, 127); in testParseMultiClassList()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java87 ITestInvocationListener mockRunListener = in testParse_randomEvents() local
89 mockRunListener.testRunStarted("arm64-v8a CtsGestureTestCases", 4); in testParse_randomEvents()
90 mockRunListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testParse_randomEvents()
92 mockRunListener.testEnded( in testParse_randomEvents()
97 mockRunListener.testRunEnded( in testParse_randomEvents()
100 mockRunListener.testIgnored((TestDescription) EasyMock.anyObject()); in testParse_randomEvents()
102 mockRunListener.testFailed( in testParse_randomEvents()
105 mockRunListener.testAssumptionFailure( in testParse_randomEvents()
108 EasyMock.replay(mockRunListener); in testParse_randomEvents()
113 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_randomEvents()
[all …]