to top
public class

JUnitRunUtil

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

Class Overview

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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public JUnitRunUtil ()

Public Methods

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

Parameters
listener ITestInvocationListener
junitTest Test
runName String
Throws
DeviceNotAvailableException

public static void runTest (ITestInvocationListener listener, Test junitTest)

Parameters
listener ITestInvocationListener
junitTest Test
Throws
DeviceNotAvailableException