HelloWorldMultiTargetPreparer

public class HelloWorldMultiTargetPreparer
extends Object implements IMultiTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.multi.HelloWorldMultiTargetPreparer


An example implementation of a IMultiTargetPreparer.

Summary

Public constructors

HelloWorldMultiTargetPreparer()

Public methods

void setUp(IInvocationContext context)

Perform the targets setup for testing.

void tearDown(IInvocationContext context, Throwable e)

Perform the targets cleanup/teardown after testing.

Public constructors

HelloWorldMultiTargetPreparer

HelloWorldMultiTargetPreparer ()

Public methods

setUp

void setUp (IInvocationContext context)

Perform the targets setup for testing.

Parameters
context IInvocationContext: the IInvocationContext describing the invocation, devices, builds.

Throws
TargetSetupError

tearDown

void tearDown (IInvocationContext context, 
                Throwable e)

Perform the targets cleanup/teardown after testing.

Parameters
context IInvocationContext: the IInvocationContext describing the invocation, devices, builds.

e Throwable: if the invocation ended with an exception, this will be the exception that was caught at the Invocation level. Otherwise, will be null.

Throws
DeviceNotAvailableException