JUnitRunUtil
public
class
JUnitRunUtil
extends Object
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.JUnitRunUtil |
輔助類別,可將 IRemoteTest.run(TestInformation, ITestInvocationListener) 呼叫導向至 Test.run(TestResult) 呼叫。
摘要
公用建構函式 | |
|---|---|
JUnitRunUtil()
|
|
公用方法 | |
|---|---|
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)
|
公用建構函式
JUnitRunUtil
public JUnitRunUtil ()
公用方法
runTest
public static boolean runTest (ITestInvocationListener listener, Test junitTest, String runName)
| 參數 | |
|---|---|
listener |
ITestInvocationListener |
junitTest |
Test |
runName |
String |
| 傳回 | |
|---|---|
boolean |
|
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|
runTest
public static boolean runTest (ITestInvocationListener listener, Test junitTest)
| 參數 | |
|---|---|
listener |
ITestInvocationListener |
junitTest |
Test |
| 傳回 | |
|---|---|
boolean |
|
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|
runTest
public static boolean runTest (ITestInvocationListener listener, Test junitTest, String runName, TestInformation testInfo)
| 參數 | |
|---|---|
listener |
ITestInvocationListener |
junitTest |
Test |
runName |
String |
testInfo |
TestInformation |
| 傳回 | |
|---|---|
boolean |
|
| 擲回 | |
|---|---|
DeviceNotAvailableException |
|