LongevityHostRunner

public class LongevityHostRunner
extends Runner implements IAbiReceiver, ITestInformationReceiver, ISetOptionReceiver

java.lang.Object
   ↳ org.junit.runner.Runner
     ↳ com.android.tradefed.testtype.junit4.LongevityHostRunner


A JUnit4-based Runner that composes tests run with DeviceJUnit4ClassRunner into a LongevitySuite, which runs tests repeatedly to induce stress and randomness. Tests should specify this inside a @RunWith annotation with a list of SuiteClasses to include.

See also:

Summary

Public constructors

LongevityHostRunner(Class<?> klass)

Public methods

IAbi getAbi()
Description getDescription()
TestInformation getTestInformation()
void run(RunNotifier notifier)
void setAbi(IAbi abi)
void setTestInformation(TestInformation testInformation)
int testCount()

Public constructors

LongevityHostRunner

public LongevityHostRunner (Class<?> klass)

Parameters
klass Class

Public methods

getAbi

public IAbi getAbi ()

Returns
IAbi

getDescription

public Description getDescription ()

Returns
Description

getTestInformation

public TestInformation getTestInformation ()

Returns
TestInformation

run

public void run (RunNotifier notifier)

Parameters
notifier RunNotifier

setAbi

public void setAbi (IAbi abi)

Parameters
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameters
testInformation TestInformation

testCount

public int testCount ()

Returns
int