JarHostTest

public class JarHostTest
extends HostTest

java.lang.Object
   ↳ com.android.tradefed.testtype.HostTest
     ↳ com.android.compatibility.common.tradefed.testtype.JarHostTest


主機端 JUnit 測試的測試執行器。套件因歷史和回溯相容性問題而未對齊。

摘要

巢狀類別

class JarHostTest.HostTestListener

包裝函式事件監聽器,會將所有事件 (除了 testRunStarted() 和 testRunEnded()) 轉送至內嵌事件監聽器。 

公用建構函式

JarHostTest()

公用方法

void run(TestInformation testInfo, ITestInvocationListener listener)

執行測試,並將結果回報給監聽器。

公用建構函式

JarHostTest

public JarHostTest ()

公用方法

得分

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

執行測試,並將結果回報給監聽器。

參數
testInfo TestInformation:包含執行測試所需實用資訊的 TestInformation 物件。

listener ITestInvocationListener:測試結果的 ITestInvocationListener

擲回
DeviceNotAvailableException