JUnitRunUtil

public class JUnitRunUtil
extends Object

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


Klasa pomocnicza do kierowania wywołania IRemoteTest.run(TestInformation,ITestInvocationListener) do wywołania Test.run(TestResult).

Podsumowanie

Konstruktory publiczne

JUnitRunUtil()

Metody publiczne

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)

Konstruktory publiczne

JUnitRunUtil

public JUnitRunUtil ()

Metody publiczne

runTest

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

Parametry
listener ITestInvocationListener

junitTest Test

runName String

Zwraca
boolean

Zgłasza
DeviceNotAvailableException

runTest

public static boolean runTest (ITestInvocationListener listener, 
                Test junitTest)

Parametry
listener ITestInvocationListener

junitTest Test

Zwraca
boolean

Zgłasza
DeviceNotAvailableException

runTest

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

Parametry
listener ITestInvocationListener

junitTest Test

runName String

testInfo TestInformation

Zwraca
boolean

Zgłasza
DeviceNotAvailableException