/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 110 SubprocessTestResultsParser resultParser = null; in testParse_randomEvents() local 112 resultParser = in testParse_randomEvents() 114 resultParser.processNewLines(contents); in testParse_randomEvents() 117 StreamUtil.close(resultParser); in testParse_randomEvents() 148 SubprocessTestResultsParser resultParser = null; in testParse_invalidEventOrder() local 150 resultParser = in testParse_invalidEventOrder() 152 resultParser.processNewLines(contents); in testParse_invalidEventOrder() 155 StreamUtil.close(resultParser); in testParse_invalidEventOrder() 173 SubprocessTestResultsParser resultParser = null; in testParse_testNotStarted() local 175 resultParser = in testParse_testNotStarted() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestResultParserTest.java | 52 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFile() local 53 resultParser.processNewLines(contents); in testParseSimpleFile() 54 resultParser.flush(); in testParseSimpleFile() 78 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFileNoTimes() local 79 resultParser.processNewLines(contents); in testParseSimpleFileNoTimes() 80 resultParser.flush(); in testParseSimpleFileNoTimes() 95 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseNoTests() local 96 resultParser.processNewLines(contents); in testParseNoTests() 97 resultParser.flush(); in testParseNoTests() 121 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseLargerFile() local [all …]
|
D | GTestXmlResultParserTest.java | 93 GTestXmlResultParser resultParser = in testParseSimpleFile() local 95 resultParser.parseResult(contents, null); in testParseSimpleFile() 122 GTestXmlResultParser resultParser = in testParseLargerFile() local 124 resultParser.parseResult(contents, null); in testParseLargerFile() 160 GTestXmlResultParser resultParser = in testParseWithFailures() local 162 resultParser.parseResult(contents, null); in testParseWithFailures() 185 GTestXmlResultParser resultParser = in testParseWithEmptyFile() local 187 resultParser.parseResult(contents, null); in testParseWithEmptyFile() 216 GTestXmlResultParser resultParser = in testParseUnexpectedNumberTest() local 218 resultParser.parseResult(contents, null); in testParseUnexpectedNumberTest() [all …]
|
D | GoogleBenchmarkResultParserTest.java | 100 GoogleBenchmarkResultParser resultParser = in testParseSimpleFile() local 102 Map<String, String> results = resultParser.parse(contents); in testParseSimpleFile() 158 GoogleBenchmarkResultParser resultParser = in testParseSimpleFile_twoTests() local 160 resultParser.parse(contents); in testParseSimpleFile_twoTests() 182 GoogleBenchmarkResultParser resultParser = in testParse_contextError() local 184 resultParser.parse(contents); in testParse_contextError() 196 GoogleBenchmarkResultParser resultParser = in testParse_noBenchmarkResults() local 198 resultParser.parse(contents); in testParse_noBenchmarkResults() 209 GoogleBenchmarkResultParser resultParser = in testJsonParse() local 211 Map<String, String> results = resultParser.parseJsonToMap(test); in testJsonParse() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTest.java | 452 IShellOutputReceiver resultParser = createResultParser(getFileName(root), listener); in doRunAllTestsInSubdirectory() local 461 runTest(testDevice, resultParser, root, flags); in doRunAllTestsInSubdirectory() 520 final IShellOutputReceiver resultParser) throws DeviceNotAvailableException { in executeCommandByScript() argument 526 resultParser, mMaxTestTimeMs /* maxTimeToShellOutputResponse */, in executeCommandByScript() 540 private void runTest(final ITestDevice testDevice, final IShellOutputReceiver resultParser, in runTest() argument 556 testDevice.executeShellCommand(cmd, resultParser, in runTest() 562 executeCommandByScript(testDevice, cmd, resultParser); in runTest() 571 resultParser.flush(); in runTest() 709 GTestListTestParser resultParser = new GTestListTestParser(runName, listener); in createResultParser() local 710 resultParser.setPrependFileName(mPrependFileName); in createResultParser() [all …]
|
D | NativeBenchmarkTest.java | 198 NativeBenchmarkTestParser resultParser = createResultParser(runName); in doRunAllTestsInSubdirectory() local 207 testDevice.executeShellCommand(cmd, resultParser, in doRunAllTestsInSubdirectory() 209 addMetric(metricMap, resultParser, delay); in doRunAllTestsInSubdirectory() 226 private void addMetric(Map<String, String> metricMap, NativeBenchmarkTestParser resultParser, in addMetric() argument 230 metricMap.put(metricKey, Double.toString(resultParser.getAvgOperationTime()*1000000)); in addMetric()
|
D | NativeStressTest.java | 159 NativeStressTestParser resultParser = createResultParser(rootEntry.getName()); in doRunAllTestsInSubdirectory() local 168 listener.testRunStarted(resultParser.getRunName(), 0); in doRunAllTestsInSubdirectory() 177 startIteration, endIteration), resultParser, in doRunAllTestsInSubdirectory() 186 reportTestCompleted(startTime, listener, resultParser); in doRunAllTestsInSubdirectory()
|
D | GoogleBenchmarkTest.java | 171 GoogleBenchmarkResultParser resultParser = createResultParser(runName, listener); in doRunAllTestsInSubdirectory() local 179 metricMap = resultParser.parse(outputCollector); in doRunAllTestsInSubdirectory()
|