Searched refs:mResultReporter (Results 1 – 6 of 6) sorted by relevance
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 58 @Spy private MetricsXMLResultReporter mResultReporter; field in MetricsXmlParserTest 66 OptionSetter optionSetter = new OptionSetter(mResultReporter); in setUp() 68 doReturn(mOutputStream).when(mResultReporter).createOutputStream(); in setUp() 69 doReturn("ignore").when(mResultReporter).getTimeStamp(); in setUp() 91 mResultReporter.invocationStarted(context); in testSimpleParse() 92 mResultReporter.testRunStarted("run", 3); in testSimpleParse() 94 mResultReporter.testStarted(testId0); in testSimpleParse() 95 mResultReporter.testEnded(testId0, new HashMap<String, Metric>()); in testSimpleParse() 97 mResultReporter.testStarted(testId1); in testSimpleParse() 98 mResultReporter.testEnded(testId1, new HashMap<String, Metric>()); in testSimpleParse() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | MetricsXMLResultReporterTest.java | 40 @Spy private MetricsXMLResultReporter mResultReporter; field in MetricsXMLResultReporterTest 47 OptionSetter optionSetter = new OptionSetter(mResultReporter); in setUp() 49 doReturn(mOutputStream).when(mResultReporter).createOutputStream(); in setUp() 50 doReturn("ignore").when(mResultReporter).getTimeStamp(); in setUp() 63 mResultReporter.invocationStarted(context); in testEmptyGeneration() 64 mResultReporter.invocationEnded(1); in testEmptyGeneration() 80 mResultReporter.invocationStarted(context); in testRunMetrics() 81 mResultReporter.testRunStarted("run", 1); in testRunMetrics() 82 mResultReporter.testStarted(testId); in testRunMetrics() 83 mResultReporter.testEnded(testId, TfMetricProtoUtil.upgradeConvert(map)); in testRunMetrics() [all …]
|
D | XmlResultReporterTest.java | 36 private XmlResultReporter mResultReporter; field in XmlResultReporterTest 77 mResultReporter = new XmlResultReporter() { in setUp() 89 mResultReporter.setLogSaver(mMockLogSaver); in setUp() 109 mResultReporter.invocationStarted(context); in testEmptyGeneration() 110 mResultReporter.invocationEnded(1); in testEmptyGeneration() 123 mResultReporter.invocationStarted(context); in testSinglePass() 124 mResultReporter.testRunStarted("run", 1); in testSinglePass() 125 mResultReporter.testStarted(testId); in testSinglePass() 126 mResultReporter.testEnded(testId, emptyMap); in testSinglePass() 127 mResultReporter.testRunEnded(3, emptyMap); in testSinglePass() [all …]
|
D | ConsoleResultReporterTest.java | 41 private ConsoleResultReporter mResultReporter; field in ConsoleResultReporterTest 49 mResultReporter = new ConsoleResultReporter(new PrintStream(mOutput, true)); in setUp() 50 mResultReporter.invocationStarted(mock(IInvocationContext.class)); in setUp() 55 mResultReporter.testResult(mTest, createTestResult(TestStatus.PASSED)); in testPassed() 61 new OptionSetter(mResultReporter).setOptionValue("suppress-passed-tests", "true"); in testPassed_suppressedPassed() 62 mResultReporter.testResult(mTest, createTestResult(TestStatus.PASSED)); in testPassed_suppressedPassed() 70 mResultReporter.testResult(mTest, result); in testFailed() 78 new OptionSetter(mResultReporter).setOptionValue("suppress-passed-tests", "true"); in testFailed_suppressPassed() 81 mResultReporter.testResult(mTest, result); in testFailed_suppressPassed() 89 mResultReporter.testResult(mTest, createTestResult(TestStatus.PASSED)); in testSummary() [all …]
|
D | PassingTestFileReporterTest.java | 39 private PassingTestFileReporter mResultReporter; field in PassingTestFileReporterTest 46 mResultReporter = new PassingTestFileReporter(); in setUp() 47 OptionSetter setter = new OptionSetter(mResultReporter); in setUp() 50 mResultReporter.invocationStarted(null); in setUp() 60 mResultReporter.testResult(mTest, createTestResult(TestResult.TestStatus.PASSED)); in testPassed() 61 mResultReporter.invocationEnded(0); in testPassed() 69 mResultReporter.testResult(mTest, createTestResult(TestResult.TestStatus.FAILURE)); in testFailed() 70 mResultReporter.invocationEnded(0); in testFailed()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/ |
D | GameQualificationHostsideController.java | 81 private GameQualificationResultReporter mResultReporter; field in GameQualificationHostsideController 219 if (mResultReporter == null) { in run() 223 mResultReporter = (GameQualificationResultReporter) testListener; in run() 265 if (mResultReporter != null) { in run() 269 mResultReporter.putRequirements(identifier, req); in run()
|