Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java118 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/
DGTestResultParserTest.java55 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 …]
DGTestXmlResultParserTest.java99 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 …]
DGoogleBenchmarkResultParserTest.java102 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/
DNativeBenchmarkTest.java199 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()
DGTest.java181 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()
DHostGTest.java155 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()
DNativeStressTest.java160 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()
DGTestBase.java535 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()
DGoogleBenchmarkTest.java198 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/
DRustBinaryTest.java157 final IShellOutputReceiver resultParser, in runTest() argument
184 cmd, resultParser, mTestTimeout, TimeUnit.MILLISECONDS, 0 /* retryAttempts */); in runTest()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...