MoblyYamlResultParser

public class MoblyYamlResultParser
extends Object

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


כלי לניתוח תוצאות בדיקה ב-Mobly בפורמט YAML.

סיכום

‫constructors ציבוריים

MoblyYamlResultParser(ITestInvocationListener listener, String runName, boolean reportRunStart, MoblyArtifactReporter artifactReporter)

‫methods ציבוריים

boolean getRunFailed()
boolean parse(InputStream inputStream)

שיטות מוגנות

IMoblyYamlResultHandler.ITestResult parseDocumentMap(Map<String, Object> docMap)
void reportToListeners(List<ITestInvocationListener> listeners, List<IMoblyYamlResultHandler.ITestResult> resultCache)

‫constructors ציבוריים

MoblyYamlResultParser

public MoblyYamlResultParser (ITestInvocationListener listener, 
                String runName, 
                boolean reportRunStart, 
                MoblyArtifactReporter artifactReporter)

פרמטרים
listener ITestInvocationListener

runName String

reportRunStart boolean

artifactReporter MoblyArtifactReporter

‫methods ציבוריים

getRunFailed

public boolean getRunFailed ()

החזרות
boolean

parse

public boolean parse (InputStream inputStream)

פרמטרים
inputStream InputStream

החזרות
boolean

הקפצת הודעות שגיאה (throw)
IOException
IllegalAccessException
InstantiationException
MoblyYamlResultHandlerFactory.InvalidResultTypeException

שיטות מוגנות

parseDocumentMap

protected IMoblyYamlResultHandler.ITestResult parseDocumentMap (Map<String, Object> docMap)

פרמטרים
docMap Map

החזרות
IMoblyYamlResultHandler.ITestResult

הקפצת הודעות שגיאה (throw)
IllegalAccessException
InstantiationException
MoblyYamlResultHandlerFactory.InvalidResultTypeException

reportToListeners

protected void reportToListeners (List<ITestInvocationListener> listeners, 
                List<IMoblyYamlResultHandler.ITestResult> resultCache)

פרמטרים
listeners List

resultCache List