/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | NativeStressTestParserTest.java | 26 private NativeStressTestParser mParser; field in NativeStressTestParserTest 34 mParser = new NativeStressTestParser(RUN_NAME); in setUp() 43 mParser.processNewLines(new String[] {}); in testParse_empty() 44 mParser.done(); in testParse_empty() 54 mParser.processNewLines(new String[] {"blah blah", "more blah"}); in testParse_garbage() 55 mParser.done(); in testParse_garbage() 65 mParser.processNewLines(new String[] {"==== Completed pass: 0"}); in testParse_oneIteration() 66 mParser.done(); in testParse_oneIteration() 76 mParser.processNewLines(new String[] {"====Completedpass:0succeeded", in testParse_whitespace() 78 mParser.done(); in testParse_whitespace() [all …]
|
D | NativeBenchmarkTestParserTest.java | 29 private NativeBenchmarkTestParser mParser; field in NativeBenchmarkTestParserTest 33 mParser = new NativeBenchmarkTestParser(RUN_NAME); in setUp() 39 mParser.processNewLines(new String[] {"Time per iteration min: 5 avg: 55 max: 35"}); in testParse_allInts() 40 mParser.done(); in testParse_allInts() 51 mParser.processNewLines(new String[] { in testParse_allFloats() 53 mParser.done(); in testParse_allFloats() 64 mParser.processNewLines(new String[] { in testParse_scientific() 66 mParser.done(); in testParse_scientific() 74 Assert.assertEquals(averageTime, mParser.getAvgOperationTime(), 0.0); in verifyAvgTime()
|
D | PythonUnitTestResultParserTest.java | 60 private PythonUnitTestResultParser mParser; field in PythonUnitTestResultParserTest 66 mParser = new PythonUnitTestResultParser(ArrayUtil.list(mMockListener), "test"); in setUp() 142 mParser.processNewLines(output); in testParseNoTests() 162 mParser.processNewLines(output); in testParseSingleTestPass() 182 mParser.processNewLines(output); in testParsePartialSingleLineMatchSkipped() 201 mParser.processNewLines(output); in testParseSingleTestPassWithExpectedFailure() 222 mParser.processNewLines(output); in testParseMultiTestPass() 243 mParser.processNewLines(output); in testParseMultiTestPassWithOneExpectedFailure() 264 mParser.processNewLines(output); in testParseMultiTestPassWithAllExpectedFailure() 292 mParser.processNewLines(output); in testParseSingleTestFail() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | LogcatEventParserTest.java | 52 private LogcatEventParser mParser; field in LogcatEventParserTest 61 mParser = new LogcatEventParser(mTestDevice); in setUp() 62 mParser.registerEventTrigger( in setUp() 64 mParser.registerEventTrigger( in setUp() 70 mParser.close(); in tearDown() 79 mParser.registerEventTrigger( in testParseEventTypeExactMatch() 85 mParser.parseEvents(new String[] {mappedLogLine}); in testParseEventTypeExactMatch() 87 LogcatEventType.UPDATE_VERIFIER_COMPLETE, mParser.pollForEvent().getEventType()); in testParseEventTypeExactMatch() 96 mParser.registerEventTrigger( in testParseEventTypePartialMatch() 103 mParser.parseEvents(new String[] {log}); in testParseEventTypePartialMatch() [all …]
|
D | HprofAllocSiteParserTest.java | 57 private HprofAllocSiteParser mParser; field in HprofAllocSiteParserTest 61 mParser = new HprofAllocSiteParser(); in setUp() 70 Map<String, String> results = mParser.parse(f); in testParse() 85 Map<String, String> results = mParser.parse(f); in testParse_invalidContent() 95 Map<String, String> results = mParser.parse(null); in testParse_noFile() 103 Map<String, String> results = mParser.parse(new File("thisdoesnotexistsatall")); in testParse_fileDoesNotExists()
|
D | ListInstrumentationParserTest.java | 50 private ListInstrumentationParser mParser; field in ListInstrumentationParserTest 54 mParser = new ListInstrumentationParser(); in setUp() 61 List<InstrumentationTarget> targets = mParser.getInstrumentationTargets(); in testEmptyParse() 75 mParser.processNewLines(pmListOutput); in testSimpleParse() 89 List<InstrumentationTarget> parsedTargets = mParser.getInstrumentationTargets(); in testSimpleParse()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | TimingsLogParserTest.java | 35 private TimingsLogParser mParser; field in TimingsLogParserTest 38 mParser = new TimingsLogParser(); in TimingsLogParserTest() 44 List<GenericTimingItem> items = mParser.parseGenericTimingItems(createBufferedReader(log)); in testParseGenericTiming_noPattern() 56 items = mParser.parseGenericTimingItems(createBufferedReader(log)); in testParseGenericTiming_noPattern() 77 mParser.addDurationPatternPair( in testParseGenericTiming_multiplePattern_oneOccurrenceEach() 81 mParser.addDurationPatternPair( in testParseGenericTiming_multiplePattern_oneOccurrenceEach() 85 mParser.addDurationPatternPair( in testParseGenericTiming_multiplePattern_oneOccurrenceEach() 89 mParser.addDurationPatternPair( in testParseGenericTiming_multiplePattern_oneOccurrenceEach() 93 mParser.addDurationPatternPair( in testParseGenericTiming_multiplePattern_oneOccurrenceEach() 97 mParser.addDurationPatternPair( in testParseGenericTiming_multiplePattern_oneOccurrenceEach() [all …]
|
D | TraceFormatParserTest.java | 35 private TraceFormatParser mParser; field in TraceFormatParserTest 47 mParser = new TraceFormatParser(); in setUp() 63 TraceFormatItem parsedItem = mParser.parse(formatLine); in testParseFormatLine() 82 TraceFormatItem parsedItem = mParser.parse(formatLine); in testNoParameters() 92 mParser.parse(null); in testNullInput() 103 mParser.parse(formatLine); in testEmptyInput() 114 mParser.parse(formatLine); in testMultiLineInput() 125 mParser.parse(formatLine); in testOneLineInvalidInput() 139 TraceFormatItem parsedItem = mParser.parse(formatLine); in testQuoteInParams() 155 TraceFormatItem parsedItem = mParser.parse(formatLine); in testCategorizeParameters() [all …]
|
D | AbstractSectionParserTest.java | 29 AbstractSectionParser mParser = null; field in AbstractSectionParserTest 34 mParser = new AbstractSectionParser() { in setUp() 80 mParser.addSectionParser(parser, String.format(linePattern, i)); in testSwitchParsers() 89 mParser.parse(lines); in testSwitchParsers()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/ |
D | MoblyYamlResultParserTest.java | 125 private MoblyYamlResultParser mParser; field in MoblyYamlResultParserTest 181 mParser = new MoblyYamlResultParser(mMockListener, mRunName); in testReportToListenersPassRecord() 191 mParser.reportToListeners(mListeners, resultCache); in testReportToListenersPassRecord() 210 mParser = new MoblyYamlResultParser(mMockListener, mRunName); in testReportToListenersFailRecord() 221 mParser.reportToListeners(mListeners, resultCache); in testReportToListenersFailRecord() 251 mParser = new MoblyYamlResultParser(mMockListener, mRunName); in testReportToListenersUserData() 254 mParser.reportToListeners(mListeners, resultCache); in testReportToListenersUserData() 266 mParser = new MoblyYamlResultParser(mMockListener, mRunName); in testReportToListenersControllerInfo() 270 mParser.reportToListeners(mListeners, resultCache); in testReportToListenersControllerInfo() 282 mParser = new MoblyYamlResultParser(mMockListener, mRunName); in testParseDocumentMapRecordPass() [all …]
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | UiAutomatorRunner.java | 67 private InstrumentationResultParser mParser; field in UiAutomatorRunner 317 mParser = new InstrumentationResultParser(runName, listeners); in run() 321 cmdLine, mParser, mMaxTimeout, mMaxTimeToOutputResponse, TimeUnit.MILLISECONDS); in run() 326 mParser.handleTestRunFailed(e.toString()); in run() 331 mParser.handleTestRunFailed(String.format( in run() 339 mParser.handleTestRunFailed(e.toString()); in run() 344 mParser.handleTestRunFailed(e.toString()); in run() 354 if (mParser != null) { in cancel() 355 mParser.cancel(); in cancel()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/ |
D | RustTestResultParserTest.java | 41 private RustTestResultParser mParser; field in RustTestResultParserTest 47 mParser = new RustTestResultParser(ArrayUtil.list(mMockListener), "test"); in setUp() 110 mParser.processNewLines(contents); in testParseRealOutput() 128 mParser.processNewLines(contents); in testParseRealOutput2() 143 mParser.processNewLines(contents); in testParseRealOutput3()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | StreamProtoReceiver.java | 43 private ProtoResultParser mParser; field in StreamProtoReceiver 106 mParser = new ProtoResultParser(mListener, mainContext, reportInvocation, logNamePrefix); in StreamProtoReceiver() 107 mParser.setQuiet(quietParsing); in StreamProtoReceiver() 202 mParser.completeModuleEvents(); in completeModuleEvents() 213 TestLevel level = mParser.processNewProto(receivedRecord); in parse()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/ |
D | ConfigurationYamlParserTest.java | 48 private ConfigurationYamlParser mParser; field in ConfigurationYamlParserTest 53 mParser = new ConfigurationYamlParser(); in setUp() 60 mParser.parse(mConfigDef, "source", res); in testParseConfig()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 60 private ProtoResultParser mParser; field in ProtoResultParserTest 72 mParser.processNewProto(invocationStartRecord); in processStartInvocation() 81 mParser.processNewProto(finalRecord); in processFinalProto() 86 mParser.processNewProto(moduleStartRecord); in processTestModuleStarted() 91 mParser.processNewProto(moduleRecord); in processTestModuleEnd() 96 mParser.processNewProto(runStartedRecord); in processTestRunStarted() 101 mParser.processNewProto(runRecord); in processTestRunEnded() 106 mParser.processNewProto(testCaseStartedRecord); in processTestCaseStarted() 111 mParser.processNewProto(testCaseRecord); in processTestCaseEnded() 118 mParser.processFinalizedProto(finalRecord); in processFinalProto() [all …]
|
/tools/loganalysis/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 83 private final TimingsLogParser mParser = new TimingsLogParser(); field in LogcatTimingMetricCollector 88 mParser.clearDurationPatterns(); in onTestRunStart() 98 mParser.addDurationPatternPair(name, start, end); in onTestRunStart() 171 List<GenericTimingItem> items = mParser.parseGenericTimingItems(br); in parse()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 90 private final TimingsLogParser mParser = new TimingsLogParser(); field in LogcatTimingMetricCollector 96 mParser.clearDurationPatterns(); in onTestRunStart() 106 mParser.addDurationPatternPair(name, start, end); in onTestRunStart() 209 List<GenericTimingItem> items = mParser.parseGenericTimingItems(br); in parse()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | InstrumentationResultProtoParserTest.java | 51 private InstrumentationResultProtoParser mParser; field in InstrumentationResultProtoParserTest 75 mParser = new InstrumentationResultProtoParser(RUN_KEY, runListeners); in setUp() 263 mParser = new InstrumentationResultProtoParser(RUN_KEY, runListeners); in testOneTestSuccessWithMultipleListeners() 283 mParser.processProtoFile(protoTestFile); in testOneTestSuccessWithMultipleListeners() 645 mParser.processProtoFile(protoTestFile); in processProtoAndVerify()
|
/tools/tradefederation/core/tests/res/testdata/ |
D | tradefed-prebuilt-cts-8.0_r21.jar | META-INF/
META-INF/MANIFEST.MF
jline/
jline/CompletionHandler.class
CompletionHandler ... |