Home
last modified time | relevance | path

Searched refs:addTestMetric (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/metricregression/
DMetricsTest.java63 Arrays.asList("1.0", "1.1", "1.2").forEach(e -> mMetrics.addTestMetric(id1, "metric1", e)); in testAddTestMetrics()
65 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addTestMetric(id2, "metric1", e)); in testAddTestMetrics()
66 Arrays.asList("3.0", "3.1", "3.2").forEach(e -> mMetrics.addTestMetric(id2, "metric2", e)); in testAddTestMetrics()
86 Arrays.asList("1.0", "1.1", "1.2").forEach(e -> mMetrics.addTestMetric(id1, "metric1", e)); in testValidate()
88 Arrays.asList("2.0", "2.1", "2.2").forEach(e -> mMetrics.addTestMetric(id2, "metric1", e)); in testValidate()
89 Arrays.asList("3.0", "3.1").forEach(e -> mMetrics.addTestMetric(id2, "metric2", e)); in testValidate()
109 mMetrics.addTestMetric(id1, "metric1", e); in testCrossValidate()
110 other.addTestMetric(id1, "metric1", e); in testCrossValidate()
112 Arrays.asList("3.0", "3.1", "3.3").forEach(e -> mMetrics.addTestMetric(id1, "metric6", e)); in testCrossValidate()
117 mMetrics.addTestMetric(id2, "metric1", e); in testCrossValidate()
[all …]
DDetectRegressionTest.java125 .forEach(e -> before.addTestMetric(id1, "metric-4", e)); in testRunRegressionDetection()
127 .forEach(e -> before.addTestMetric(id2, "metric-5", e)); in testRunRegressionDetection()
129 .forEach(e -> before.addTestMetric(id2, "metric-6", e)); in testRunRegressionDetection()
139 .forEach(e -> after.addTestMetric(id1, "metric-4", e)); in testRunRegressionDetection()
141 .forEach(e -> after.addTestMetric(id2, "metric-5", e)); in testRunRegressionDetection()
143 .forEach(e -> after.addTestMetric(id2, "metric-6", e)); in testRunRegressionDetection()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DMetricsXmlParserTest.java110 verify(mMetrics, times(0)).addTestMetric(any(), anyString(), anyString()); in testSimpleParse()
145 verify(mMetrics).addTestMetric(testId0, "metric1", "1.1"); in testParse()
146 verify(mMetrics).addTestMetric(testId1, "metric2", "5.5"); in testParse()
180 verify(mMetrics, times(0)).addTestMetric(testId0, "metric1", "1.1"); in testParseBlacklist()
181 verify(mMetrics).addTestMetric(testId1, "metric2", "5.5"); in testParseBlacklist()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DMetricTestCase.java55 public final void addTestMetric(String key, String value) { in addTestMetric() method in MetricTestCase
59 public final void addTestMetric(String key, Metric metric) { in addTestMetric() method in MetricTestCase
DDeviceJUnit4ClassRunner.java173 public void addTestMetric(String key, String value) { in addTestMetric() method in DeviceJUnit4ClassRunner.TestMetrics
184 public void addTestMetric(String key, Metric metric) { in addTestMetric() method in DeviceJUnit4ClassRunner.TestMetrics
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestSuiteTest.java42 addTestMetric("key1", "metric1"); in test1()
DHostTestTest.java106 addTestMetric("key1", "metric1"); in testPass()
110 addTestMetric("key2", "metric2"); in testPass2()
112 addTestMetric("test-option", testOption); in testPass2()
115 addTestMetric("list-option", listOption.toString()); in testPass2()
118 addTestMetric("map-option", mapOption.toString()); in testPass2()
132 addTestMetric("key2", "metric2"); in testPass2()
173 metrics.addTestMetric("key", "value"); in testPass5()
179 metrics.addTestMetric("key2", "value2"); in testPass6()
181 metrics.addTestMetric("junit4-option", "true"); in testPass6()
373 addTestMetric("option", mOption); in testPass()
DJarHostTestTest.java126 metrics.addTestMetric("key", "value"); in testPass2()
DDeviceSuiteTest.java91 metrics.addTestMetric("option", mOption); in testPass1()
DDeviceTestCaseTest.java49 addTestMetric("test", "value"); in test1()
/tools/tradefederation/core/src/com/android/tradefed/testtype/metricregression/
DMetrics.java93 public void addTestMetric(TestDescription testId, String name, String value) { in addTestMetric() method in Metrics
/tools/tradefederation/core/src/com/android/tradefed/util/
DMetricsXmlParser.java106 mMetrics.addTestMetric(mCurrentTest, metricName, metricValue); in startElement()