LongevityHostRunner
public class LongevityHostRunner
extends Runner
implements IAbiReceiver , ITestInformationReceiver , ISetOptionReceiver
java.lang.Object |
↳ | org.junit.runner.Runner |
| ↳ | com.android.tradefed.testtype.junit4.LongevityHostRunner |
Runner
מבוסס JUnit4 שמרכיב מבחנים המופעלים עם DeviceJUnit4ClassRunner
לתוך LongevitySuite
, אשר מריץ בדיקות שוב ושוב כדי לגרום ללחץ ואקראיות. בדיקות צריכות לציין זאת בתוך הערת @RunWith עם רשימה של SuiteClasses
שיש לכלול.
סיכום
בנאים ציבוריים
LongevityHostRunner
public LongevityHostRunner (Class<?> klass)
שיטות ציבוריות
getAbi
public IAbi getAbi ()
getDescription
public Description getDescription ()
לָרוּץ
public void run (RunNotifier notifier)
פרמטרים |
---|
notifier | RunNotifier |
setAbi
public void setAbi (IAbi abi)
public void setTestInformation (TestInformation testInformation)
פרמטרים |
---|
testInformation | TestInformation |
testCount
public int testCount ()