Home
last modified time | relevance | path

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

/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsTest.java55 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testAddRunMetrics()
84 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testValidate()
100 mMetrics.addRunMetric("metric1", e); in testCrossValidate()
101 other.addRunMetric("metric1", e); in testCrossValidate()
103 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addRunMetric("metric2", e)); in testCrossValidate()
104 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> other.addRunMetric("metric5", e)); in testCrossValidate()
DDetectRegressionTest.java119 .forEach(e -> before.addRunMetric("metric-1", e)); in testRunRegressionDetection()
121 .forEach(e -> before.addRunMetric("metric-2", e)); in testRunRegressionDetection()
123 .forEach(e -> before.addRunMetric("metric-3", e)); in testRunRegressionDetection()
133 .forEach(e -> after.addRunMetric("metric-1", e)); in testRunRegressionDetection()
135 .forEach(e -> after.addRunMetric("metric-2", e)); in testRunRegressionDetection()
137 .forEach(e -> after.addRunMetric("metric-3", e)); in testRunRegressionDetection()
DMetricsXmlParserTest.java108 verify(mMetrics).addRunMetric("time", "5"); in testSimpleParse()
143 verify(mMetrics).addRunMetric("metric3", "8.8"); in testParse()
178 verify(mMetrics, times(0)).addRunMetric("metric3", "8.8"); in testParseBlacklist()
/tools/tradefederation/contrib/src/com/android/regression/tests/
DMetricsXmlParser.java86 mMetrics.addRunMetric(TIME_TAG, getMandatoryAttribute(name, TIME_TAG, attributes)); in startElement()
98 mMetrics.addRunMetric(metricName, metricValue); in startElement()
DMetrics.java76 public void addRunMetric(String name, String value) { in addRunMetric() method in Metrics