ITestSuiteResultLoader

public interface ITestSuiteResultLoader

com.android.tradefed.testtype.suite.retry.ITestSuiteResultLoader


Interface describing an helper to load previous results in a way that can be re-run.

Summary

Public methods

default void cleanUp()

Clean up any internal states.

default void customizeConfiguration(IConfiguration config)

Allow the specialized loader to customize the configuration before it is re-run.

abstract String getCommandLine()

Retrieve the original command line from the previous run.

abstract void init()

Initialization of the loader.

abstract TestRecordProto.TestRecord loadPreviousRecord()

Load the previous results in a TestRecord format.

Public methods

cleanUp

public void cleanUp ()

Clean up any internal states.

customizeConfiguration

public void customizeConfiguration (IConfiguration config)

Allow the specialized loader to customize the configuration before it is re-run. Customization usually involves adding some objects to the original configuration in order to make it do some extra things.

Parameters
config IConfiguration: The IConfiguration that will be re-run.

getCommandLine

public abstract String getCommandLine ()

Retrieve the original command line from the previous run.

Returns
String

init

public abstract void init ()

Initialization of the loader.

loadPreviousRecord

public abstract TestRecordProto.TestRecord loadPreviousRecord ()

Load the previous results in a TestRecord format.

Returns
TestRecordProto.TestRecord