RustTestBase
public
abstract
class
RustTestBase
extends Object
implements
IAbiReceiver,
IConfigurationReceiver,
IRemoteTest,
ITestFilterReceiver
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(
Adds the |
void
|
addAllIncludeFilters(
Adds the |
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 |
|
getIncludeFilters()
Returns the current |
void
|
setAbi(IAbi abi)
|
void
|
setConfiguration(IConfiguration configuration)
Injects the |
Protected methods | |
---|---|
void
|
collectTestLines(String[] testList,
Find test case names in testList and add them into foundTests. |
|
generateInvocations(File target)
|
IConfiguration
|
getConfiguration()
Returns the test configuration. |
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.
getExcludeFilters
publicgetExcludeFilters ()
Returns the current ERROR(/Set)
of exclude filters.
Returns | |
---|---|
|
getIncludeFilters
publicgetIncludeFilters ()
Returns the current ERROR(/Set)
of include filters.
Returns | |
---|---|
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration
in use.
Parameters | |
---|---|
configuration |
IConfiguration |
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
protectedgenerateInvocations (File target)
Parameters | |
---|---|
target |
File |
Returns | |
---|---|
|
getConfiguration
protected IConfiguration getConfiguration ()
Returns the test configuration.
Returns | |
---|---|
IConfiguration |
an IConfiguration |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-13 UTC.