FakeTest
public
class
FakeTest
extends Object
implements
IDeviceTest,
IRemoteTest
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.FakeTest |
繰り返し可能なテスト結果を簡単に生成することを目的とした偽のテスト。
概要
パブリック コンストラクタ | |
|---|---|
FakeTest()
|
|
パブリック メソッド | |
|---|---|
ITestDevice
|
getDevice()
テスト対象デバイスを入手します。 |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。 |
void
|
setDevice(ITestDevice device)
テスト対象デバイスを挿入します。 |
パブリック コンストラクタ
FakeTest
public FakeTest ()
パブリック メソッド
ホームラン
public void run (TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。
| パラメータ | |
|---|---|
testInfo |
TestInformation: テストの実行に役立つ情報が含まれる TestInformation オブジェクト。 |
listener |
ITestInvocationListener: テスト結果の ITestInvocationListener |
| 例外 | |
|---|---|
DeviceNotAvailableException |
|
setDevice
public void setDevice (ITestDevice device)
テスト対象デバイスを挿入します。
| パラメータ | |
|---|---|
device |
ITestDevice: 使用する ITestDevice |