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(Set<String> filters)
Adds the |
void
|
addAllIncludeFilters(Set<String> filters)
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()
|
Set<String>
|
getExcludeFilters()
Returns the current |
Set<String>
|
getIncludeFilters()
Returns the current |
void
|
setAbi(IAbi abi)
|
void
|
setConfiguration(IConfiguration configuration)
Injects the |
Protected methods | |
|---|---|
void
|
collectTestLines(String[] testList, Set<String> foundTests)
Find test case names in testList and add them into foundTests. |
List<RustTestBase.Invocation>
|
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 (Set<String> filters)
Adds the Set of filters of which tests to exclude.
| Parameters | |
|---|---|
filters |
Set |
addAllIncludeFilters
public void addAllIncludeFilters (Set<String> filters)
Adds the Set of filters of which tests to include.
| Parameters | |
|---|---|
filters |
Set |
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
public Set<String> getExcludeFilters ()
Returns the current Set of exclude filters.
| Returns | |
|---|---|
Set<String> |
|
getIncludeFilters
public Set<String> getIncludeFilters ()
Returns the current Set of include filters.
| Returns | |
|---|---|
Set<String> |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration in use.
| Parameters | |
|---|---|
configuration |
IConfiguration |
Protected methods
collectTestLines
protected void collectTestLines (String[] testList,
Set<String> foundTests)Find test case names in testList and add them into foundTests.
| Parameters | |
|---|---|
testList |
String |
foundTests |
Set |
generateInvocations
protected List<RustTestBase.Invocation> generateInvocations (File target)
| Parameters | |
|---|---|
target |
File |
| Returns | |
|---|---|
List<RustTestBase.Invocation> |
|
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 2026-06-22 UTC.