Home
last modified time | relevance | path

Searched refs:mMockInvocationListener (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkResultParserTest.java87 ITestInvocationListener mMockInvocationListener = in testParseSimpleFile() local
89 mMockInvocationListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile()
94 mMockInvocationListener.testEnded( in testParseSimpleFile()
96 mMockInvocationListener.testEnded( in testParseSimpleFile()
98 mMockInvocationListener.testEnded( in testParseSimpleFile()
100 EasyMock.replay(mMockInvocationListener); in testParseSimpleFile()
103 new GoogleBenchmarkResultParser(TEST_RUN, mMockInvocationListener); in testParseSimpleFile()
114 EasyMock.verify(mMockInvocationListener); in testParseSimpleFile()
149 ITestInvocationListener mMockInvocationListener = in testParseSimpleFile_twoTests() local
151 mMockInvocationListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile_twoTests()
[all …]
DGoogleBenchmarkTestTest.java44 private ITestInvocationListener mMockInvocationListener = null; field in GoogleBenchmarkTestTest
57 mMockInvocationListener = EasyMock.createMock(ITestInvocationListener.class); in setUp()
90 EasyMock.replay(mMockInvocationListener, mMockITestDevice); in replayMocks()
97 EasyMock.verify(mMockInvocationListener, mMockITestDevice); in verifyMocks()
132 mMockInvocationListener.testRunStarted(test1, 3); in testRun()
133 mMockInvocationListener.testStarted(mDummyTest); in testRun()
134 mMockInvocationListener.testEnded( in testRun()
136 mMockInvocationListener.testRunStarted(test2, 2); in testRun()
137 mMockInvocationListener.testStarted(mDummyTest); in testRun()
138 mMockInvocationListener.testEnded( in testRun()
[all …]
DArtRunTestTest.java55 private ITestInvocationListener mMockInvocationListener; field in ArtRunTestTest
70 mMockInvocationListener = EasyMock.createMock(ITestInvocationListener.class); in setUp()
111 EasyMock.replay(mMockInvocationListener, mMockAbi, mMockITestDevice); in replayMocks()
116 EasyMock.verify(mMockInvocationListener, mMockAbi, mMockITestDevice); in verifyMocks()
125 mArtRunTest.run(mTestInfo, mMockInvocationListener); in testRun_noDevice()
142 mArtRunTest.run(mTestInfo, mMockInvocationListener); in testRunSingleTest_unsetRunTestNameOption()
158 mArtRunTest.run(mTestInfo, mMockInvocationListener); in testRunSingleTest_unsetClasspathOption()
179 mMockInvocationListener.testRunStarted(runName, 1); in testRunSingleTest()
181 mMockInvocationListener.testStarted(testId); in testRunSingleTest()
189 mMockInvocationListener.testEnded( in testRunSingleTest()
[all …]
DGTestTest.java51 private ITestInvocationListener mMockInvocationListener = null; field in GTestTest
65 mMockInvocationListener = EasyMock.createMock(ITestInvocationListener.class); in setUp()
108 EasyMock.replay(mMockInvocationListener, mMockITestDevice, mMockReceiver); in replayMocks()
115 EasyMock.verify(mMockInvocationListener, mMockITestDevice, mMockReceiver); in verifyMocks()
124 mGTest.run(mTestInfo, mMockInvocationListener); in testRun_noTestDir()
134 mGTest.run(mTestInfo, mMockInvocationListener); in testRun_noDevice()
179 mGTest.run(mTestInfo, mMockInvocationListener); in testRun()
215 mGTest.run(mTestInfo, mMockInvocationListener); in testRunFilterAbiPath()
239 mGTest.run(mTestInfo, mMockInvocationListener); in testRun_moduleName()
272 mGTest.run(mTestInfo, mMockInvocationListener); in testRun_nested()
[all …]
DHostGTestTest.java57 private ITestInvocationListener mMockInvocationListener; field in HostGTestTest
65 mMockInvocationListener = Mockito.mock(ITestInvocationListener.class); in setUp()
199 mHostGTest.run(mTestInfo, mMockInvocationListener); in testRunTest()
229 mHostGTest.run(mTestInfo, mMockInvocationListener); in testRun_priority_get_testcase_from_hostlinked_folder()
255 mHostGTest.run(mTestInfo, mMockInvocationListener); in testRun_get_testcase_from_testcases_folder_if_no_hostlinked_dir_set()
270 mHostGTest.run(mTestInfo, mMockInvocationListener); in testRun_can_not_find_testcase()
295 mHostGTest.run(mTestInfo, mMockInvocationListener); in testRun_withSuffix()
322 mHostGTest.run(mTestInfo, mMockInvocationListener); in testBeforeCmdError()
346 mHostGTest.run(mTestInfo, mMockInvocationListener); in testTestFailureHandledCorrectly()
368 mHostGTest.run(mTestInfo, mMockInvocationListener); in testAbnormalTestCmdExitHandled()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java50 private ITestInvocationListener mMockInvocationListener = null; field in RustBinaryTestTest
62 mMockInvocationListener = EasyMock.createMock(ITestInvocationListener.class); in setUp()
92 EasyMock.replay(mMockInvocationListener, mMockITestDevice, mMockReceiver); in replayMocks()
97 EasyMock.verify(mMockInvocationListener, mMockITestDevice, mMockReceiver); in verifyMocks()
115 mMockInvocationListener.testRunStarted( in mockTestRunStarted()
131 mMockInvocationListener.testRunEnded( in mockTestRunEnded()
138 mRustBinaryTest.run(mTestInfo, mMockInvocationListener); in callReplayRunVerify()
148 mMockInvocationListener.testRunFailed("Could not find test directory " + testPath); in testRun_noTestDir()
159 mRustBinaryTest.run(mTestInfo, mMockInvocationListener); in testRun_noDevice()
177 mMockInvocationListener.testRunFailed("No test found under " + testPath); in testNotFound()
[all …]