JUnitRunUtil

public class JUnitRunUtil
extends Object

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


Une classe d'assistance pour diriger un IRemoteTest#run(TestInformation, ITestInvocationListener) vers un appel Test#run(TestResult) .

Résumé

Constructeurs publics

JUnitRunUtil ()

Méthodes publiques

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)

Constructeurs publics

JUnitRunUtil

public JUnitRunUtil ()

Méthodes publiques

exécuterTest

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

Paramètres
listener ITestInvocationListener

junitTest Test

runName String

Retour
boolean

Jetés
DeviceNotAvailableException

exécuterTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

Paramètres
listener ITestInvocationListener

junitTest Test

Retour
boolean

Jetés
DeviceNotAvailableException

exécuterTest

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

Paramètres
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

Retour
boolean

Jetés
DeviceNotAvailableException