SandboxInvocationRunner

public class SandboxInvocationRunner
extends Object

java.lang.Object
   ↳ com.android.tradefed.sandbox.SandboxInvocationRunner


サンドボックスで呼び出しに関連付けられたテストを実行します。

概要

パブリック コンストラクタ

SandboxInvocationRunner()

パブリック メソッド

static boolean prepareAndRun(TestInformation info, IConfiguration config, ITestInvocationListener listener)

セットアップを行い、テストを実行します。

static void prepareSandbox(TestInformation info, IConfiguration config, ITestInvocationListener listener)

サンドボックスの準備ステップ

static boolean runSandbox(TestInformation info, IConfiguration config, ITestInvocationListener listener)

サンドボックスの実行ステップ

static void teardownSandbox(IConfiguration config)

パブリック コンストラクタ

SandboxInvocationRunner

public SandboxInvocationRunner ()

パブリック メソッド

prepareAndRun

public static boolean prepareAndRun (TestInformation info, 
                IConfiguration config, 
                ITestInvocationListener listener)

セットアップを行い、テストを実行します。

パラメータ
info TestInformation

config IConfiguration

listener ITestInvocationListener

戻り値
boolean 呼び出しが成功した場合は true。それ以外は False が返されます。

例外
Throwable

prepareSandbox

public static void prepareSandbox (TestInformation info, 
                IConfiguration config, 
                ITestInvocationListener listener)

サンドボックスの準備ステップ

パラメータ
info TestInformation

config IConfiguration

listener ITestInvocationListener

例外
Throwable

runSandbox

public static boolean runSandbox (TestInformation info, 
                IConfiguration config, 
                ITestInvocationListener listener)

サンドボックスの実行手順

パラメータ
info TestInformation

config IConfiguration

listener ITestInvocationListener

戻り値
boolean

例外
Throwable

teardownSandbox

public static void teardownSandbox (IConfiguration config)

パラメータ
config IConfiguration