DryRunner
public
final
class
DryRunner
extends Runner
| java.lang.Object | ||
| ↳ | org.junit.runner.Runner | |
| ↳ | com.android.tradefed.lite.DryRunner | |
透明地模拟运行测试,而不是实际执行测试。
这需要一个 Description 对象,以便知道要模拟哪些测试。
摘要
公共构造函数 | |
|---|---|
DryRunner(Description desc)
使用 Description 对象构建新的 DryRunner |
|
公共方法 | |
|---|---|
Description
|
getDescription()
|
void
|
run(RunNotifier notifier)
|
公共构造函数
DryRunner
public DryRunner (Description desc)
使用 Description 对象构建新的 DryRunner
公共方法
getDescription
public Description getDescription ()
| 返回 | |
|---|---|
Description |
|
得分
public void run (RunNotifier notifier)
| 参数 | |
|---|---|
notifier |
RunNotifier |