public interface IMonitor
android.support.test.jank.IMonitor |
用于定义监视测试方法并收集指标的类的接口。
Public methods |
|
---|---|
abstract Bundle |
getMetrics() 在所有迭代中获得汇总结果。 |
abstract void |
startIteration() 开始监测测试方法。 |
abstract Bundle |
stopIteration() 停止监视测试方法并返回此迭代的中间结果。 |
Bundle getMetrics ()
在所有迭代中获得汇总结果。
Returns | |
---|---|
Bundle |
void startIteration ()
开始监测测试方法。
Throws | |
---|---|
Throwable |
Bundle stopIteration ()
停止监视测试方法并返回此迭代的中间结果。
Returns | |
---|---|
Bundle |
A Bundle of test results. |
Throws | |
---|---|
Throwable |