com.google.gwt.junit.client.impl
Class JUnitResult

java.lang.Object
  extended by com.google.gwt.junit.client.impl.JUnitResult
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BenchmarkResults

public class JUnitResult
extends java.lang.Object
implements java.io.Serializable

Encapsulates the results of the execution of a single benchmark. A TestResult is constructed transparently within a benchmark and reported back to the JUnit RPC server, JUnitHost. It's then shared (via JUnitMessageQueue) with JUnitShell and aggregated in BenchmarkReport with other TestResults.

See Also:
JUnitHost, JUnitMessageQueue, JUnitShell, Serialized Form

Constructor Summary
JUnitResult()
           
 
Method Summary
 java.lang.String getAgent()
           
 java.lang.Throwable getException()
           
 ExceptionWrapper getExceptionWrapper()
           
 java.lang.String getHost()
           
 void setAgent(java.lang.String agent)
           
 void setException(java.lang.Throwable exception)
           
 void setExceptionWrapper(ExceptionWrapper exceptionWrapper)
           
 void setHost(java.lang.String host)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JUnitResult

public JUnitResult()
Method Detail

getAgent

public java.lang.String getAgent()

getException

public java.lang.Throwable getException()

getExceptionWrapper

public ExceptionWrapper getExceptionWrapper()

getHost

public java.lang.String getHost()

setAgent

public void setAgent(java.lang.String agent)

setException

public void setException(java.lang.Throwable exception)

setExceptionWrapper

public void setExceptionWrapper(ExceptionWrapper exceptionWrapper)

setHost

public void setHost(java.lang.String host)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object