JarHostTest

public class JarHostTest
extends HostTest

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


Test runner for host-side JUnit tests. Package is mis-aligned for historic & backward compatibility reasons.

Summary

Nested classes

class JarHostTest.HostTestListener

Wrapper listener that forwards all events except testRunStarted() and testRunEnded() to the embedded listener. 

Public constructors

JarHostTest()

Public methods

void run(TestInformation testInfo, ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Public constructors

JarHostTest

public JarHostTest ()

Public methods

run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Runs the tests, and reports result to the listener.

Parameters
testInfo TestInformation: The TestInformation object containing useful information to run tests.

listener ITestInvocationListener: the ITestInvocationListener of test results

Throws
DeviceNotAvailableException