to top
public class

JUnitToInvocationResultForwarder

extends Object
implements TestListener
java.lang.Object
   ↳ com.android.tradefed.result.JUnitToInvocationResultForwarder

Class Overview

A class that listens to TestListener events and forwards them to an ITestInvocationListener.

Summary

Public Constructors
JUnitToInvocationResultForwarder(ITestInvocationListener invocationListener)
JUnitToInvocationResultForwarder(List<ITestInvocationListener> invocationListeners)
Public Methods
void addError(Test test, Throwable t)
void addFailure(Test test, AssertionFailedError t)
void endTest(Test test)
void startTest(Test test)
[Expand]
Inherited Methods
From class java.lang.Object
From interface junit.framework.TestListener

Public Constructors

public JUnitToInvocationResultForwarder (ITestInvocationListener invocationListener)

public JUnitToInvocationResultForwarder (List<ITestInvocationListener> invocationListeners)

Public Methods

public void addError (Test test, Throwable t)

public void addFailure (Test test, AssertionFailedError t)

public void endTest (Test test)

public void startTest (Test test)