RustTestBase
public
abstract
class
RustTestBase
extends Object
implements
IAbiReceiver,
IConfigurationReceiver,
IRemoteTest,
ITestFilterReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.rust.RustTestBase |
RustBinaryHostTest 和 RustBinaryTest 的基礎類別
摘要
巢狀類別 | |
|---|---|
class |
RustTestBase.EnvPair
|
class |
RustTestBase.Invocation
|
欄位 | |
|---|---|
protected
long |
mTestTimeout
|
公用建構函式 | |
|---|---|
RustTestBase()
|
|
公用方法 | |
|---|---|
void
|
addAllExcludeFilters(Set<String> filters)
新增要排除的測試篩選器 |
void
|
addAllIncludeFilters(Set<String> filters)
新增要納入測試的篩選器 |
void
|
addExcludeFilter(String filter)
新增要排除的測試篩選器。 |
void
|
addIncludeFilter(String filter)
新增要納入的測試篩選器。 |
void
|
clearExcludeFilters()
刪除目前追蹤的所有排除篩選器。 |
void
|
clearIncludeFilters()
刪除目前追蹤的所有納入篩選器。 |
IAbi
|
getAbi()
|
Set<String>
|
getExcludeFilters()
傳回排除篩選器的目前 |
Set<String>
|
getIncludeFilters()
傳回包含篩選器的目前 |
void
|
setAbi(IAbi abi)
|
void
|
setConfiguration(IConfiguration configuration)
注入使用的 |
受保護的方法 | |
|---|---|
void
|
collectTestLines(String[] testList, Set<String> foundTests)
在 testList 中找出測試案例名稱,並將其新增至 foundTests。 |
List<RustTestBase.Invocation>
|
generateInvocations(File target)
|
IConfiguration
|
getConfiguration()
傳回測試設定。 |
欄位
mTestTimeout
protected long mTestTimeout
公用建構函式
RustTestBase
public RustTestBase ()
公用方法
addAllExcludeFilters
public void addAllExcludeFilters (Set<String> filters)
新增要排除的測試篩選器 Set。
| 參數 | |
|---|---|
filters |
Set |
addAllIncludeFilters
public void addAllIncludeFilters (Set<String> filters)
新增要納入測試的篩選器Set。
| 參數 | |
|---|---|
filters |
Set |
addExcludeFilter
public void addExcludeFilter (String filter)
新增要排除的測試篩選器。
| 參數 | |
|---|---|
filter |
String |
addIncludeFilter
public void addIncludeFilter (String filter)
新增要納入的測試篩選條件。
| 參數 | |
|---|---|
filter |
String |
clearExcludeFilters
public void clearExcludeFilters ()
刪除目前追蹤的所有排除篩選器。
clearIncludeFilters
public void clearIncludeFilters ()
刪除目前追蹤的所有包含篩選器。
setConfiguration
public void setConfiguration (IConfiguration configuration)
注入使用的 IConfiguration。
| 參數 | |
|---|---|
configuration |
IConfiguration |
受保護的方法
collectTestLines
protected void collectTestLines (String[] testList,
Set<String> foundTests)在 testList 中找出測試案例名稱,並將其新增至 foundTests。
| 參數 | |
|---|---|
testList |
String |
foundTests |
Set |
generateInvocations
protected List<RustTestBase.Invocation> generateInvocations (File target)
| 參數 | |
|---|---|
target |
File |
| 傳回 | |
|---|---|
List<RustTestBase.Invocation> |
|
getConfiguration
protected IConfiguration getConfiguration ()
傳回測試設定。
| 傳回 | |
|---|---|
IConfiguration |
IConfiguration |