MoblyYamlResultParser
public
class
MoblyYamlResultParser
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.mobly.MoblyYamlResultParser |
Mobly yaml 测试结果解析器。
摘要
公共构造函数 | |
|---|---|
MoblyYamlResultParser(ITestInvocationListener listener, String runName, boolean reportRunStart)
|
|
公共方法 | |
|---|---|
boolean
|
getRunFailed()
|
boolean
|
parse(InputStream inputStream)
|
受保护的方法 | |
|---|---|
IMoblyYamlResultHandler.ITestResult
|
parseDocumentMap(
|
void
|
reportToListeners(
|
公共构造函数
MoblyYamlResultParser
public MoblyYamlResultParser (ITestInvocationListener listener, String runName, boolean reportRunStart)
| 参数 | |
|---|---|
listener |
ITestInvocationListener |
runName |
String |
reportRunStart |
boolean |
公共方法
getRunFailed
public boolean getRunFailed ()
| 返回 | |
|---|---|
boolean |
|
parse
public boolean parse (InputStream inputStream)
| 参数 | |
|---|---|
inputStream |
InputStream |
| 返回 | |
|---|---|
boolean |
|
| 抛出 | |
|---|---|
MoblyYamlResultHandlerFactory.InvalidResultTypeException |
|
受保护的方法
parseDocumentMap
protected IMoblyYamlResultHandler.ITestResult parseDocumentMap (docMap)
| 参数 | |
|---|---|
docMap |
|
| 返回 | |
|---|---|
IMoblyYamlResultHandler.ITestResult |
|
| 抛出 | |
|---|---|
MoblyYamlResultHandlerFactory.InvalidResultTypeException |
|
reportToListeners
protected void reportToListeners (listeners, resultCache)
| 参数 | |
|---|---|
listeners |
|
resultCache |
|