Home
last modified time | relevance | path

Searched refs:mReporter (Results 1 – 5 of 5) sorted by relevance

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DConsoleReporterTest.java55 private ConsoleReporter mReporter; field in ConsoleReporterTest
60 mReporter = new ConsoleReporter(); in setUp()
61 OptionSetter setter = new OptionSetter(mReporter); in setUp()
67 mReporter = null; in tearDown()
72 mReporter.invocationStarted(mContext); in testResultReporting_singleModule()
73 mReporter.testRunStarted(ID, 4); in testResultReporting_singleModule()
76 mReporter.testRunEnded(10, new HashMap<String, String>()); in testResultReporting_singleModule()
77 mReporter.invocationEnded(10); in testResultReporting_singleModule()
79 assertEquals(ID, mReporter.getModuleId()); in testResultReporting_singleModule()
80 assertEquals(2, mReporter.getFailedTests()); in testResultReporting_singleModule()
[all …]
DResultReporterTest.java78 private ResultReporter mReporter; field in ResultReporterTest
89 mReporter = new ResultReporter(); in setUp()
121 mReporter = null; in tearDown()
126 mReporter.invocationStarted(mContext); in testSetup()
133 mReporter.invocationEnded(10); in testSetup()
146 mReporter.invocationStarted(mContext); in testResultReporting()
147 mReporter.testRunStarted(ID, 2); in testResultReporting()
149 mReporter.testStarted(test1); in testResultReporting()
150 mReporter.testEnded(test1, new HashMap<String, Metric>()); in testResultReporting()
152 mReporter.testStarted(test2); in testResultReporting()
[all …]
DMetadataReporterTest.java57 private MetadataReporter mReporter; field in MetadataReporterTest
67 mReporter = new MetadataReporter(); in setUp()
68 OptionSetter setter = new OptionSetter(mReporter); in setUp()
85 mReporter = null; in tearDown()
93 mReporter.invocationStarted(mContext); in testResultReportingFastTests()
94 mReporter.testRunStarted(ID, 3); in testResultReportingFastTests()
96 Collection<MetadataReporter.TestMetadata> metadata = mReporter.getTestMetadata(); in testResultReportingFastTests()
98 mReporter.testRunEnded(10, new HashMap<String, String>()); in testResultReportingFastTests()
99 mReporter.invocationEnded(10); in testResultReportingFastTests()
106 mReporter.invocationStarted(mContext); in testResultReportingSlowTests()
[all …]
DChecksumReporterTest.java52 private ChecksumReporter mReporter; field in ChecksumReporterTest
62 mReporter = new ChecksumReporter(100, .001, (short)1); in setUp()
112 mReporter = null; in tearDown()
117 mReporter.addInvocation(mInvocationResult); in testStoreAndRetrieveTestResults()
118 VerifyInvocationResults(mInvocationResult, mReporter); in testStoreAndRetrieveTestResults()
125 mReporter.addInvocation(mInvocationResult); in testInvalidChecksums()
130 mReporter.containsModuleResult(module, fingerprint)); in testInvalidChecksums()
134 mReporter.containsTestResult(mFailedTest, mModuleResult, fingerprint)); in testInvalidChecksums()
136 mReporter.containsModuleResult(mModuleResult, fingerprint)); in testInvalidChecksums()
140 mReporter.addInvocation(mInvocationResult); in testFileSerialization()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DIntegrationTest.java86 private ResultReporter mReporter; field in IntegrationTest
108 mReporter = new ResultReporter(); in setUp()
209 mReporter.invocationStarted(mContext); in testSingleModuleRun()
210 mTest.run(mReporter); in testSingleModuleRun()
211 mReporter.invocationEnded(500); in testSingleModuleRun()
213 IInvocationResult result = mReporter.getResult(); in testSingleModuleRun()
312 mReporter.invocationStarted(mContext); in testSingleModuleRun_incomplete()
313 mTest.run(mReporter); in testSingleModuleRun_incomplete()
314 mReporter.invocationEnded(500); in testSingleModuleRun_incomplete()
316 IInvocationResult result = mReporter.getResult(); in testSingleModuleRun_incomplete()
[all …]