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 CollectingTestListener loadPreviousResults()

Load the previous results in a CollectingTestListener 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.

loadPreviousResults

public abstract CollectingTestListener loadPreviousResults ()

Load the previous results in a CollectingTestListener format.

Returns
CollectingTestListener