JUnitRunUtil

public class JUnitRunUtil
extends Object

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


A helper class for directing a run(ITestInvocationListener) call to a run(TestResult) call.

Summary

Public constructors

JUnitRunUtil()

Public methods

static void runTest(ITestInvocationListener listener, Test junitTest, String runName)
static void runTest(ITestInvocationListener listener, Test junitTest)

Public constructors

JUnitRunUtil

JUnitRunUtil ()

Public methods

runTest

void runTest (ITestInvocationListener listener, 
                Test junitTest, 
                String runName)

Parameters
listener ITestInvocationListener
junitTest Test
runName String
Throws
DeviceNotAvailableException

runTest

void runTest (ITestInvocationListener listener, 
                Test junitTest)

Parameters
listener ITestInvocationListener
junitTest Test
Throws
DeviceNotAvailableException