RunCommandTargetPreparer
public class RunCommandTargetPreparer
extends BaseTargetPreparer
概要
公開方法 |
---|
final void | addRunCommand (String cmd) 添加將由準備者運行的命令。 |
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
受保護的方法 |
---|
ITestDevice | getDevice (TestInformation testInfo) 返回要應用準備器的設備。 |
公共建設者
RunCommandTargetPreparer
public RunCommandTargetPreparer ()
公開方法
addRunCommand
public final void addRunCommand (String cmd)
添加將由準備者運行的命令。
public void setUp (TestInformation testInfo)
參量 |
---|
testInfo | TestInformation |
投擲 |
---|
DeviceNotAvailableException | |
TargetSetupError | |
public void tearDown (TestInformation testInfo,
Throwable e)
參量 |
---|
testInfo | TestInformation |
e | Throwable |
投擲 |
---|
DeviceNotAvailableException | |
受保護的方法
protected ITestDevice getDevice (TestInformation testInfo)
返回要應用準備器的設備。