MoblyYaml結果解析器
public class MoblyYamlResultParser
extends Object
java.lang.Object | |
↳ | com.android.tradefed.testtype.mobly.MoblyYamlResultParser |
Mobly yaml 測試結果解析器。
概括
公共構造函數 | |
---|---|
MoblyYamlResultParser ( ITestInvocationListener listener) |
公共方法 | |
---|---|
boolean | getRunFailed () |
boolean | parse (InputStream inputStream) |
受保護的方法 | |
---|---|
IMoblyYamlResultHandler.ITestResult | parseDocumentMap ( docMap) parseDocumentMap ( docMap) |
void | reportToListeners ( listeners, resultCache) reportToListeners ( listeners, resultCache) reportToListeners ( listeners, resultCache) |
公共構造函數
MoblyYaml結果解析器
public MoblyYamlResultParser (ITestInvocationListener listener)
參數 | |
---|---|
listener | ITestInvocationListener |
公共方法
取得運行失敗
public boolean getRunFailed ()
退貨 | |
---|---|
boolean |
解析
public boolean parse (InputStream inputStream)
參數 | |
---|---|
inputStream | InputStream |
退貨 | |
---|---|
boolean |
投擲 | |
---|---|
MoblyYamlResultHandlerFactory.InvalidResultTypeException |
受保護的方法
解析文檔映射
protected IMoblyYamlResultHandler.ITestResult parseDocumentMap (docMap)
參數 | |
---|---|
docMap |
退貨 | |
---|---|
IMoblyYamlResultHandler.ITestResult |
投擲 | |
---|---|
MoblyYamlResultHandlerFactory.InvalidResultTypeException |
向聽眾報告
protected void reportToListeners (listeners, resultCache)
參數 | |
---|---|
listeners | |
resultCache |