JUnitRunUtil

public class JUnitRunUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.testtype.JUnitRunUtil


IRemoteTest.run(TestInformation, ITestInvocationListener) 呼び出しを Test.run(TestResult) 呼び出しに転送するヘルパークラス。

概要

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

JUnitRunUtil()

パブリック メソッド

static boolean runTest(ITestInvocationListener listener, Test junitTest, String runName)
static boolean runTest(ITestInvocationListener listener, Test junitTest)
static boolean runTest(ITestInvocationListener listener, Test junitTest, String runName, TestInformation testInfo)

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

JUnitRunUtil

public JUnitRunUtil ()

パブリック メソッド

runTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest, 
                String runName)

パラメータ
listener ITestInvocationListener

junitTest Test

runName String

戻り値
boolean

例外
DeviceNotAvailableException

runTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

パラメータ
listener ITestInvocationListener

junitTest Test

戻り値
boolean

例外
DeviceNotAvailableException

runTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest, 
                String runName, 
                TestInformation testInfo)

パラメータ
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

戻り値
boolean

例外
DeviceNotAvailableException