乾跑者
public final class DryRunner
extends Runner
java.lang.Object | ||
↳ | org.junit.runner.Runner | |
↳ | com.android.tradefed.lite.DryRunner |
透明地進行測試而不是實際執行它們。
這需要一個描述物件來知道要偽造哪些測試。
概括
公共構造函數 | |
---|---|
DryRunner (Description desc) 使用 Description 物件建構一個新的 DryRunner |
公共方法 | |
---|---|
Description | getDescription () |
void | run (RunNotifier notifier)
|
公共構造函數
乾跑者
public DryRunner (Description desc)
使用 Description 物件建構一個新的 DryRunner
公共方法
取得描述
public Description getDescription ()
退貨 | |
---|---|
Description |
跑步
public void run (RunNotifier notifier)
參數 | |
---|---|
notifier | RunNotifier |