假測試
public class FakeTest
extends Object
implements IDeviceTest , IRemoteTest
java.lang.Object |
↳ | com.android.tradefed.testtype.FakeTest |
一種偽造的測試,其目的是使其易於生成可重複的測試結果。
概要
公開方法 |
---|
ITestDevice | getDevice () 獲取被測設備。 |
void | run (TestInformation testInfo, ITestInvocationListener listener) |
void | setDevice (ITestDevice device) 注入被測設備。 |
公共建設者
公開方法
getDevice
public ITestDevice getDevice ()
獲取被測設備。
public void run (TestInformation testInfo,
ITestInvocationListener listener)
參量 |
---|
testInfo | TestInformation |
listener | ITestInvocationListener |
投擲 |
---|
DeviceNotAvailableException | |
setDevice
public void setDevice (ITestDevice device)
注入被測設備。