Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 25 of 39) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/result/
DTestResult.java18 import com.android.ddmlib.testrunner.TestResult.TestStatus;
27 public class TestResult { class
38 public TestResult() { in TestResult() method in TestResult
113 public TestResult setStatus(TestStatus status) { in setStatus()
144 TestResult other = (TestResult) obj; in equals()
159 public static TestResult clone(TestResult result) { in clone()
160 TestResult newResult = new TestResult(); in clone()
DTestRunResult.java18 import com.android.ddmlib.testrunner.TestResult.TestStatus;
42 private Map<TestDescription, TestResult> mTestResults =
43 new LinkedHashMap<TestDescription, TestResult>();
52 private TestResult mCurrentTestResult;
79 public Map<TestDescription, TestResult> getTestResults() { in getTestResults()
112 for (Map.Entry<TestDescription, TestResult> testEntry : getTestResults().entrySet()) { in getTestsInState()
143 for (TestResult r : mTestResults.values()) { in getNumTestsInState()
198 mCurrentTestResult = new TestResult(); in testStarted()
203 private void addTestResult(TestDescription test, TestResult testResult) { in addTestResult()
209 TestResult r = mTestResults.get(test); in updateTestResult()
[all …]
DConsoleResultReporter.java20 import com.android.ddmlib.testrunner.TestResult.TestStatus;
110 Map<TestDescription, TestResult> testResults = testRunResult.getTestResults(); in getTestRunSummary()
111 for (Map.Entry<TestDescription, TestResult> entry : testResults.entrySet()) { in getTestRunSummary()
132 String getTestSummary(TestDescription testId, TestResult testResult) { in getTestSummary()
DXmlResultReporter.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
164 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printTestResults()
165 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in printTestResults()
173 void print(KXmlSerializer serializer, TestDescription testId, TestResult testResult) in print()
DJsonHttpTestResultReporter.java171 Map<TestDescription, TestResult> testResultMap = runResult.getTestResults(); in convertMetricsToJson()
172 for (Entry<TestDescription, TestResult> entry : testResultMap.entrySet()) { in convertMetricsToJson()
174 TestResult testResult = entry.getValue(); in convertMetricsToJson()
DInvocationToJUnitResultForwarder.java25 import junit.framework.TestResult;
136 public void run(TestResult result) { in run()
DMetricsXMLResultReporter.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
138 Map<TestDescription, TestResult> testResults = runResult.getTestResults(); in printRunResults()
148 KXmlSerializer serializer, TestDescription testId, TestResult testResult) in printTestResults()
DEmailResultReporter.java18 import com.android.ddmlib.testrunner.TestResult.TestStatus;
253 TestResult tr = res.getTestResults().get(tid); in generateEmailBody()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTestLoaderTest.java20 import junit.framework.TestResult;
47 TestResult result = new TestResult(); in testLoadTests()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceTestSuite.java23 import junit.framework.TestResult;
78 public void runTest(Test test, TestResult result) { in runTest()
DGTestResultParser.java94 private TestResult mCurrentTestResult = null;
126 private static class TestResult { class in GTestResultParser
243 private TestResult getCurrentTestResult() { in getCurrentTestResult()
245 mCurrentTestResult = new TestResult(); in getCurrentTestResult()
540 private String getTestClass(TestResult testResult) { in getTestClass()
559 TestResult testResult = getCurrentTestResult(); in processTestStartedTag()
587 TestResult testResult = getCurrentTestResult(); in doTestEnded()
683 TestResult testResult = getCurrentTestResult(); in appendTestOutputLine()
DDeviceTestResult.java29 import junit.framework.TestResult;
39 public class DeviceTestResult extends TestResult {
DJUnitRunUtil.java26 import junit.framework.TestResult;
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java23 import com.android.ddmlib.testrunner.TestResult.TestStatus;
126 TestResult testRes = result.getTestResults().get(test); in testLogSavedFile_testCases()
151 TestResult testRes = result.getTestResults().get(test); in testLogSavedFile_runLogs()
234 Map<TestDescription, TestResult> testResult = result.getTestResults(); in testMergeRetriedRunResults_fullMergeLogicCheck()
239 TestResult test1Result = testResult.get(testcase1); in testMergeRetriedRunResults_fullMergeLogicCheck()
240 TestResult test2Result = testResult.get(testcase2); in testMergeRetriedRunResults_fullMergeLogicCheck()
241 TestResult test3Result = testResult.get(testcase3); in testMergeRetriedRunResults_fullMergeLogicCheck()
290 Map<TestDescription, TestResult> testRunResult = result.getTestResults(); in testMergeRetriedRunResults_checkMergingStackTraces()
292 TestResult testResult = testRunResult.get(testcase); in testMergeRetriedRunResults_checkMergingStackTraces()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DFrameworkPerfTest.java26 import com.android.tradefed.result.TestResult;
131 Collection<TestResult> testResultsCollection = in run()
134 List<TestResult> testResults = in run()
135 new ArrayList<TestResult>(testResultsCollection); in run()
DFrameworkStressTest.java33 import com.android.tradefed.result.TestResult;
90 Map<TestDescription, TestResult> testResults = in run()
93 for (Entry<TestDescription, TestResult> e : testResults.entrySet()) { in run()
94 TestResult res = e.getValue(); in run()
DDataIdleTest.java30 import com.android.tradefed.result.TestResult;
103 Collection<TestResult> testResults = in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardListener.java19 import com.android.ddmlib.testrunner.TestResult.TestStatus;
29 import com.android.tradefed.result.TestResult;
173 private void forwardTestResults(Map<TestDescription, TestResult> testResults) { in forwardTestResults()
174 for (Map.Entry<TestDescription, TestResult> testEntry : testResults.entrySet()) { in forwardTestResults()
/tools/test/connectivity/acts/framework/tests/
Dacts_records_test.py169 tr1 = records.TestResult()
176 tr2 = records.TestResult()
188 tr1 = records.TestResult()
203 tr = records.TestResult()
218 tr = records.TestResult()
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DImageProcessingTest.java29 import com.android.tradefed.result.TestResult;
96 Collection<TestResult> testRunResults = in run()
100 for (TestResult testCaseResult: testRunResults) { in run()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DInstrumentationPreparer.java19 import com.android.ddmlib.testrunner.TestResult.TestStatus;
29 import com.android.tradefed.result.TestResult;
149 for (Entry<TestDescription, TestResult> entry : result.getTestResults().entrySet()) { in getFailedTestNames()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java18 import com.android.ddmlib.testrunner.TestResult.TestStatus;
26 import com.android.tradefed.result.TestResult;
268 XmlSerializer serializer, Map<TestDescription, TestResult> results) in serializeTestCases()
271 Map<String, Map<String, TestResult>> format = new LinkedHashMap<>(); in serializeTestCases()
272 for (Entry<TestDescription, TestResult> cr : results.entrySet()) { in serializeTestCases()
276 Map<String, TestResult> methodResult = format.get(cr.getKey().getClassName()); in serializeTestCases()
283 for (Entry<String, TestResult> individualResult : format.get(className).entrySet()) { in serializeTestCases()
335 XmlSerializer serializer, Entry<String, TestResult> testResult) in HandleLoggedFiles()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DBaseHostJUnit4Test.java25 import com.android.ddmlib.testrunner.TestResult.TestStatus;
33 import com.android.tradefed.result.TestResult;
519 for (Map.Entry<TestDescription, TestResult> resultEntry : in runDeviceTests()
612 for (Map.Entry<TestDescription, TestResult> testEntry : in printTestResult()
614 TestResult testResult = testEntry.getValue(); in printTestResult()
/tools/test/connectivity/acts/framework/acts/
Drecords.py214 class TestResult(object): class
253 if not isinstance(r, TestResult):
256 sum_result = TestResult()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java21 import com.android.ddmlib.testrunner.TestResult.TestStatus;
34 import com.android.tradefed.result.TestResult;
205 Map<TestDescription, TestResult> testResults = in testRun_withMultipleRun()

12