Stay organized with collections Save and categorize content based on your preferences.

DeviceSuite

public class DeviceSuite
extends Suite implements IAbiReceiver, ISetOptionReceiver, ITestInformationReceiver

java.lang.Object
   ↳ org.junit.runner.Runner
     ↳ org.junit.runners.ParentRunner<org.junit.runner.Runner>
       ↳ org.junit.runners.Suite
         ↳ com.android.tradefed.testtype.DeviceSuite


Extends the JUnit4 container Suite in order to provide a ITestDevice to the tests that requires it.

Summary

Public constructors

DeviceSuite(Class<?> klass, RunnerBuilder builder)

Public methods

IAbi getAbi()
TestInformation getTestInformation()
void setAbi(IAbi abi)
void setTestInformation(TestInformation testInformation)

Protected methods

void runChild(Runner runner, RunNotifier notifier)

Public constructors

DeviceSuite

public DeviceSuite (Class<?> klass, 
                RunnerBuilder builder)

Parameters
klass Class

builder RunnerBuilder

Throws
InitializationError

Public methods

getAbi

public IAbi getAbi ()

Returns
IAbi

getTestInformation

public TestInformation getTestInformation ()

Returns
TestInformation

setAbi

public void setAbi (IAbi abi)

Parameters
abi IAbi

setTestInformation

public void setTestInformation (TestInformation testInformation)

Parameters
testInformation TestInformation

Protected methods

runChild

protected void runChild (Runner runner, 
                RunNotifier notifier)

Parameters
runner Runner

notifier RunNotifier