長壽主機亞軍
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 ()