JUnitRunUtil

public class JUnitRunUtil
extends Object

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


Una clase auxiliar para dirigir una llamada IRemoteTest.run(TestInformation, ITestInvocationListener) a una llamada Test.run(TestResult).

Resumen

Constructores públicos

JUnitRunUtil()

Métodos públicos

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)

Constructores públicos

JUnitRunUtil

public JUnitRunUtil ()

Métodos públicos

runTest

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

Parámetros
listener ITestInvocationListener

junitTest Test

runName String

Muestra
boolean

Arroja
DeviceNotAvailableException

runTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

Parámetros
listener ITestInvocationListener

junitTest Test

Muestra
boolean

Arroja
DeviceNotAvailableException

runTest

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

Parámetros
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

Muestra
boolean

Arroja
DeviceNotAvailableException