长寿主机亚军
public class LongevityHostRunner
extends Runner
implements IAbiReceiver , ITestInformationReceiver , ISetOptionReceiver
java.lang.Object |
↳ | org.junit.runner.Runner |
| ↳ | com.android.tradefed.testtype.junit4.LongevityHostRunner |
一个基于 JUnit4 的Runner
,它将使用DeviceJUnit4ClassRunner
运行的测试组合到LongevitySuite
中,该套件重复运行测试以产生压力和随机性。测试应该在 @RunWith 注释中指定这一点,并包含要包含的SuiteClasses
列表。
概括
公共构造函数
长寿主机亚军
public LongevityHostRunner (Class<?> klass)
公共方法
获取阿比
public IAbi getAbi ()
获取描述
public Description getDescription ()
跑步
public void run (RunNotifier notifier)
设置阿比
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
参数 |
---|
testInformation | TestInformation |
测试计数
public int testCount ()