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)
返回要应用准备器的设备。