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 |