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()
63 ITestInvocationListener mockRunListener = in testParseSimpleFileNoTimes() local
65 mockRunListener.testRunStarted(TEST_MODULE_NAME, 53); in testParseSimpleFileNoTimes()
[all …]
DGTestXmlResultParserTest.java83 ITestInvocationListener mockRunListener = in testParseSimpleFile() local
85 mockRunListener.testRunStarted(TEST_MODULE_NAME, 6); in testParseSimpleFile()
86 mockRunListener.testStarted(firstInFile); in testParseSimpleFile()
87 mockRunListener.testEnded( in testParseSimpleFile()
91 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile()
92 mockRunListener.testEnded( in testParseSimpleFile()
96 mockRunListener.testRunEnded( in testParseSimpleFile()
98 EasyMock.replay(mockRunListener); in testParseSimpleFile()
100 new GTestXmlResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFile()
102 EasyMock.verify(mockRunListener); in testParseSimpleFile()
[all …]
DGTestListTestParserTest.java44 ITestInvocationListener mockRunListener = in testParseSimpleList() local
46 mockRunListener.testRunStarted(TEST_MODULE_NAME, 23); in testParseSimpleList()
49 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleList()
50 mockRunListener.testEnded( in testParseSimpleList()
54 mockRunListener.testRunEnded( in testParseSimpleList()
56 EasyMock.replay(mockRunListener); in testParseSimpleList()
57 GTestListTestParser parser = new GTestListTestParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleList()
60 EasyMock.verify(mockRunListener); in testParseSimpleList()
69 ITestInvocationListener mockRunListener = in testParseMultiClassList() local
71 mockRunListener.testRunStarted(TEST_MODULE_NAME, 127); in testParseMultiClassList()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java90 ITestInvocationListener mockRunListener = in testParse_randomEvents() local
92 mockRunListener.testRunStarted("arm64-v8a CtsGestureTestCases", 4); in testParse_randomEvents()
93 mockRunListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testParse_randomEvents()
95 mockRunListener.testEnded( in testParse_randomEvents()
100 mockRunListener.testRunEnded( in testParse_randomEvents()
103 mockRunListener.testIgnored((TestDescription) EasyMock.anyObject()); in testParse_randomEvents()
105 mockRunListener.testFailed( in testParse_randomEvents()
108 mockRunListener.testAssumptionFailure( in testParse_randomEvents()
111 EasyMock.replay(mockRunListener); in testParse_randomEvents()
116 new SubprocessTestResultsParser(mockRunListener, new InvocationContext()); in testParse_randomEvents()
[all …]