/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | SubprocessTestResultsParserTest.java | 118 SubprocessTestResultsParser resultParser = null; in testParse_randomEvents() local 120 resultParser = in testParse_randomEvents() 122 resultParser.processNewLines(contents); in testParse_randomEvents() 125 StreamUtil.close(resultParser); in testParse_randomEvents() 160 SubprocessTestResultsParser resultParser = null; in testParse_invalidEventOrder() local 162 resultParser = in testParse_invalidEventOrder() 164 resultParser.processNewLines(contents); in testParse_invalidEventOrder() 167 StreamUtil.close(resultParser); in testParse_invalidEventOrder() 189 SubprocessTestResultsParser resultParser = null; in testParse_testNotStarted() local 191 resultParser = in testParse_testNotStarted() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestResultParserTest.java | 55 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFile() local 56 resultParser.processNewLines(contents); in testParseSimpleFile() 57 resultParser.flush(); in testParseSimpleFile() 79 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseSimpleFileNoTimes() local 80 resultParser.processNewLines(contents); in testParseSimpleFileNoTimes() 81 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() 119 GTestResultParser resultParser = new GTestResultParser(TEST_MODULE_NAME, mockRunListener); in testParseLargerFile() local [all …]
|
D | GTestXmlResultParserTest.java | 99 GTestXmlResultParser resultParser = in testParseSimpleFile() local 101 resultParser.parseResult(contents, null); in testParseSimpleFile() 127 GTestXmlResultParser resultParser = in testParseLargerFile() local 129 resultParser.parseResult(contents, null); in testParseLargerFile() 164 GTestXmlResultParser resultParser = in testParseWithFailures() local 166 resultParser.parseResult(contents, null); in testParseWithFailures() 188 GTestXmlResultParser resultParser = in testParseWithEmptyFile() local 190 resultParser.parseResult(contents, null); in testParseWithEmptyFile() 218 GTestXmlResultParser resultParser = in testParseUnexpectedNumberTest() local 220 resultParser.parseResult(contents, null); in testParseUnexpectedNumberTest() [all …]
|
D | GoogleBenchmarkResultParserTest.java | 102 GoogleBenchmarkResultParser resultParser = in testParseSimpleFile() local 104 Map<String, String> results = resultParser.parse(contents); in testParseSimpleFile() 160 GoogleBenchmarkResultParser resultParser = in testParseSimpleFile_twoTests() local 162 resultParser.parse(contents); in testParseSimpleFile_twoTests() 184 GoogleBenchmarkResultParser resultParser = in testParse_contextError() local 186 resultParser.parse(contents); in testParse_contextError() 198 GoogleBenchmarkResultParser resultParser = in testParse_noBenchmarkResults() local 200 resultParser.parse(contents); in testParse_noBenchmarkResults() 222 GoogleBenchmarkResultParser resultParser = in testParse_benchmarkError() local 224 resultParser.parse(contents); in testParse_benchmarkError() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | GTest.java | 181 IShellOutputReceiver resultParser = createResultParser(getFileName(root), listener); in doRunAllTestsInSubdirectory() local 190 runTest(testDevice, resultParser, root, flags); in doRunAllTestsInSubdirectory() 263 final IShellOutputReceiver resultParser) throws DeviceNotAvailableException { in executeCommandByScript() argument 270 resultParser, in executeCommandByScript() 323 private void runTest(final ITestDevice testDevice, final IShellOutputReceiver resultParser, in runTest() argument 341 resultParser, in runTest() 347 executeCommandByScript(testDevice, cmd, resultParser); in runTest() 356 resultParser.flush(); in runTest()
|
D | GTestBase.java | 535 GTestListTestParser resultParser = new GTestListTestParser(runName, listener); in createResultParser() local 536 resultParser.setPrependFileName(mPrependFileName); in createResultParser() 537 receiver = resultParser; in createResultParser() 539 GTestResultParser resultParser = new GTestResultParser(runName, listener); in createResultParser() local 540 resultParser.setPrependFileName(mPrependFileName); in createResultParser() 541 receiver = resultParser; in createResultParser()
|
D | NativeBenchmarkTest.java | 199 NativeBenchmarkTestParser resultParser = createResultParser(runName); in doRunAllTestsInSubdirectory() local 208 testDevice.executeShellCommand(cmd, resultParser, in doRunAllTestsInSubdirectory() 210 addMetric(metricMap, resultParser, delay); in doRunAllTestsInSubdirectory() 227 private void addMetric(Map<String, String> metricMap, NativeBenchmarkTestParser resultParser, in addMetric() argument 231 metricMap.put(metricKey, Double.toString(resultParser.getAvgOperationTime()*1000000)); in addMetric()
|
D | HostGTest.java | 155 final IShellOutputReceiver resultParser, final String fullPath, final String flags) { in runTest() argument 167 CommandResult testResult = executeHostGTestCommand(cmd, maxTestTimeMs, resultParser); in runTest() 188 resultParser.flush(); in runTest() 251 IShellOutputReceiver resultParser = createResultParser(gTestFile.getName(), listener); in run() local 255 runTest(resultParser, filePath, flags); in run()
|
D | NativeStressTest.java | 160 NativeStressTestParser resultParser = createResultParser(rootEntry.getName()); in doRunAllTestsInSubdirectory() local 169 listener.testRunStarted(resultParser.getRunName(), 0); in doRunAllTestsInSubdirectory() 178 startIteration, endIteration), resultParser, in doRunAllTestsInSubdirectory() 187 reportTestCompleted(startTime, listener, resultParser); in doRunAllTestsInSubdirectory()
|
D | GoogleBenchmarkTest.java | 198 GoogleBenchmarkResultParser resultParser = createResultParser(runName, listener); in doRunAllTestsInSubdirectory() local 210 metricMap = resultParser.parse(outputCollector); in doRunAllTestsInSubdirectory()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/ |
D | RustBinaryTest.java | 157 final IShellOutputReceiver resultParser, in runTest() argument 193 resultParser, in runTest()
|