Home
last modified time | relevance | path

Searched refs:docMap (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParserTest.java286 Map<String, Object> docMap = buildTestRecordDocMap(detailMap); in testParseDocumentMapRecordPass() local
287 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapRecordPass()
303 Map<String, Object> docMap = buildTestRecordDocMap(detailMap); in testParseDocumentMapRecordFail() local
304 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapRecordFail()
318 Map<String, Object> docMap = new HashMap<>(); in testParseDocumentMapSummary() local
319 docMap.put("Type", "Summary"); in testParseDocumentMapSummary()
320 docMap.put("Executed", "10"); in testParseDocumentMapSummary()
321 IMoblyYamlResultHandler.ITestResult result = mParser.parseDocumentMap(docMap); in testParseDocumentMapSummary()
330 Map<String, Object> docMap = new HashMap<>(); in testParseDocumentMapControllerInfo() local
331 docMap.put("Type", "ControllerInfo"); in testParseDocumentMapControllerInfo()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultRecordHandler.java34 public Record handle(Map<String, Object> docMap) { in handle() argument
36 builder.setTestClass(String.valueOf(docMap.get(TEST_CLASS))); in handle()
37 builder.setTestName(String.valueOf(docMap.get(TEST_NAME))); in handle()
38 builder.setResult(RecordResult.valueOf((String) docMap.get(RESULT))); in handle()
39 builder.setBeginTime(String.valueOf(docMap.get(BEGIN_TIME))); in handle()
40 builder.setEndTime(String.valueOf(docMap.get(END_TIME))); in handle()
41 builder.setStackTrace(String.valueOf(docMap.get(STACKTRACE))); in handle()
DMoblyYamlResultParser.java59 Map<String, Object> docMap = (Map<String, Object>) doc; in parse() local
60 mResultCacheBuilder.add(parseDocumentMap(docMap)); in parse()
66 protected ITestResult parseDocumentMap(Map<String, Object> docMap) in parseDocumentMap() argument
68 LogUtil.CLog.i("Parsed object: %s", docMap.toString()); in parseDocumentMap()
69 String docType = String.valueOf(docMap.get(TYPE)); in parseDocumentMap()
73 ITestResult testResult = resultHandler.handle(docMap); in parseDocumentMap()
DMoblyYamlResultSummaryHandler.java27 public Summary handle(Map<String, Object> docMap) { in handle() argument
29 builder.setExecuted(String.valueOf(docMap.get(EXECUTED))); in handle()
DMoblyYamlResultUserDataHandler.java27 public UserData handle(Map<String, Object> docMap) { in handle() argument
29 builder.setTimestamp(String.valueOf(docMap.get(TIME_STAMP))); in handle()
DMoblyYamlResultControllerInfoHandler.java28 public ControllerInfo handle(Map<String, Object> docMap) { in handle() argument
30 builder.setTimestamp(String.valueOf(docMap.get(TIME_STAMP))); in handle()
DIMoblyYamlResultHandler.java25 ITestResult handle(Map<String, Object> docMap); in handle() argument
DMoblyYamlResultTestNameListHandler.java25 public TestNameList handle(Map<String, Object> docMap) { in handle() argument