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