RustTestBase

public abstract class RustTestBase
extends Object implements IRemoteTest, ITestFilterReceiver, IAbiReceiver

java.lang.Object
   ↳ com.android.tradefed.testtype.rust.RustTestBase


Base class of RustBinaryHostTest and RustBinaryTest

Summary

Nested classes

class RustTestBase.EnvPair

 

class RustTestBase.Invocation

 

Fields

protected long mTestTimeout

Public constructors

RustTestBase()

Public methods

void addAllExcludeFilters( filters)

Adds the ERROR(/Set) of filters of which tests to exclude.

void addAllIncludeFilters( filters)

Adds the ERROR(/Set) of filters of which tests to include.

void addExcludeFilter(String filter)

Adds a filter of which tests to exclude.

void addIncludeFilter(String filter)

Adds a filter of which tests to include.

void clearExcludeFilters()

Delete all the exclude filters currently tracked.

void clearIncludeFilters()

Delete all the include filters currently tracked.

IAbi getAbi()
getExcludeFilters()

Returns the current ERROR(/Set) of exclude filters.

getIncludeFilters()

Returns the current ERROR(/Set) of include filters.

void setAbi(IAbi abi)

Protected methods

void collectTestLines(String[] testList, foundTests)

Find test case names in testList and add them into foundTests.

generateInvocations(File target)

Fields

mTestTimeout

protected long mTestTimeout

Public constructors

RustTestBase

public RustTestBase ()

Public methods

addAllExcludeFilters

public void addAllExcludeFilters ( filters)

Adds the ERROR(/Set) of filters of which tests to exclude.

Parameters
filters

addAllIncludeFilters

public void addAllIncludeFilters ( filters)

Adds the ERROR(/Set) of filters of which tests to include.

Parameters
filters

addExcludeFilter

public void addExcludeFilter (String filter)

Adds a filter of which tests to exclude.

Parameters
filter String

addIncludeFilter

public void addIncludeFilter (String filter)

Adds a filter of which tests to include.

Parameters
filter String

clearExcludeFilters

public void clearExcludeFilters ()

Delete all the exclude filters currently tracked.

clearIncludeFilters

public void clearIncludeFilters ()

Delete all the include filters currently tracked.

getAbi

public IAbi getAbi ()

Returns
IAbi

getExcludeFilters

public  getExcludeFilters ()

Returns the current ERROR(/Set) of exclude filters.

Returns

getIncludeFilters

public  getIncludeFilters ()

Returns the current ERROR(/Set) of include filters.

Returns

setAbi

public void setAbi (IAbi abi)

Parameters
abi IAbi

Protected methods

collectTestLines

protected void collectTestLines (String[] testList, 
                 foundTests)

Find test case names in testList and add them into foundTests.

Parameters
testList String

foundTests

generateInvocations

protected  generateInvocations (File target)

Parameters
target File

Returns