com.google.gwt.junit.client.impl
Class JUnitResult
java.lang.Object
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
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JUnitResult
public JUnitResult()
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