Home
last modified time | relevance | path

Searched refs:mReporter (Results 1 – 6 of 6) 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.java77 private ResultReporter mReporter; field in ResultReporterTest
88 mReporter = new ResultReporter(); in setUp()
120 mReporter = null; in tearDown()
125 mReporter.invocationStarted(mContext); in testSetup()
132 mReporter.invocationEnded(10); in testSetup()
145 mReporter.invocationStarted(mContext); in testResultReporting()
146 mReporter.testRunStarted(ID, 2); in testResultReporting()
148 mReporter.testStarted(test1); in testResultReporting()
149 mReporter.testEnded(test1, new HashMap<String, Metric>()); in testResultReporting()
151 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/result/suite/
DCertificationSuiteResultReporterTest.java42 private CertificationSuiteResultReporter mReporter; field in CertificationSuiteResultReporterTest
97 mReporter = in testSuiteVariant()
104 mReporter.setConfiguration(mConfiguration); in testSuiteVariant()
106 mReporter.invocationStarted(mContext); in testSuiteVariant()
107 mReporter.invocationEnded(500L); in testSuiteVariant()
123 mReporter = in testSuiteVariantGSI()
130 mReporter.setConfiguration(mConfiguration); in testSuiteVariantGSI()
132 mReporter.invocationStarted(mContext); in testSuiteVariantGSI()
133 mReporter.invocationEnded(500L); in testSuiteVariantGSI()
151 mReporter = in testSuiteVariantGSI_R_Compatibility()
[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 …]