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.HostTestListenerWrapper 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: TheTestInformationobject containing useful information to run
     tests. | 
| listener | ITestInvocationListener: theITestInvocationListenerof test results | 
| Throws | |
|---|---|
| DeviceNotAvailableException | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-03-08 UTC.
