Rust 测试库
public abstract class RustTestBase
extends Object
implements IRemoteTest , ITestFilterReceiver , IAbiReceiver
java.lang.Object | |
↳ | com.android.tradefed.testtype.rust.RustTestBase |
RustBinaryHostTest 和 RustBinaryTest 的基类
概括
嵌套类 | |
---|---|
class | RustTestBase.EnvPair |
class | RustTestBase.Invocation
|
领域 | |
---|---|
protected long | mTestTimeout
|
公共构造函数 | |
---|---|
RustTestBase () |
公共方法 | |
---|---|
void | addAllExcludeFilters ( filters) addAllExcludeFilters ( filters) 添加要排除的测试的过滤器的 |
void | addAllIncludeFilters ( filters) addAllIncludeFilters ( filters) 添加要包含哪些测试的过滤器的 |
void | addExcludeFilter (String filter) 添加要排除哪些测试的过滤器。 |
void | addIncludeFilter (String filter) 添加要包含哪些测试的过滤器。 |
void | clearExcludeFilters () 删除当前跟踪的所有排除过滤器。 |
void | clearIncludeFilters () 删除当前跟踪的所有包含过滤器。 |
IAbi | getAbi () |
getExcludeFilters () 返回排除过滤器的当前 | |
getIncludeFilters () 返回包含过滤器的当前 | |
void | setAbi ( IAbi abi) |
受保护的方法 | |
---|---|
void | collectTestLines (String[] testList, foundTests) collectTestLines (String[] testList, foundTests) 在 testList 中查找测试用例名称并将它们添加到 foundTests 中。 |
generateInvocations (File target) |
领域
测试超时
protected long mTestTimeout
公共构造函数
Rust 测试库
public RustTestBase ()
公共方法
添加排除过滤器
public void addExcludeFilter (String filter)
添加要排除哪些测试的过滤器。
参数 | |
---|---|
filter | String |
添加包含过滤器
public void addIncludeFilter (String filter)
添加要包含哪些测试的过滤器。
参数 | |
---|---|
filter | String |
清除排除过滤器
public void clearExcludeFilters ()
删除当前跟踪的所有排除过滤器。
清除包含过滤器
public void clearIncludeFilters ()
删除当前跟踪的所有包含过滤器。
受保护的方法
收集测试线
protected void collectTestLines (String[] testList,foundTests)
在 testList 中查找测试用例名称并将它们添加到 foundTests 中。
参数 | |
---|---|
testList | String |
foundTests |
生成调用
protectedgenerateInvocations (File target)
参数 | |
---|---|
target | File |
退货 | |
---|---|
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-03-30。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]