MoblyYamlResultParser

public class MoblyYamlResultParser
extends Object

java.lang.Object
   ↳ com.android.tradefed.testtype.mobly.MoblyYamlResultParser


Mobly yaml test results parser.

Summary

Public constructors

MoblyYamlResultParser(ITestInvocationListener listener)

Public methods

boolean getRunFailed()
boolean parse(InputStream inputStream)

Protected methods

IMoblyYamlResultHandler.ITestResult parseDocumentMap( docMap)
void reportToListeners( listeners, resultCache)

Public constructors

MoblyYamlResultParser

public MoblyYamlResultParser (ITestInvocationListener listener)

Parameters
listener ITestInvocationListener

Public methods

getRunFailed

public boolean getRunFailed ()

Returns
boolean

parse

public boolean parse (InputStream inputStream)

Parameters
inputStream InputStream

Returns
boolean

Throws
MoblyYamlResultHandlerFactory.InvalidResultTypeException

Protected methods

parseDocumentMap

protected IMoblyYamlResultHandler.ITestResult parseDocumentMap ( docMap)

Parameters
docMap

Returns
IMoblyYamlResultHandler.ITestResult

Throws
MoblyYamlResultHandlerFactory.InvalidResultTypeException

reportToListeners

protected void reportToListeners ( listeners, 
                 resultCache)

Parameters
listeners

resultCache