com.google.gwt.benchmarks.client.impl
Class BenchmarkResults

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

public class BenchmarkResults
extends JUnitResult

Encapsulates the results of the execution of a single benchmark. A BenchmarkResults 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 BenchmarkResults.

See Also:
JUnitHost, JUnitMessageQueue, JUnitShell, BenchmarkReport, Serialized Form

Constructor Summary
BenchmarkResults()
           
 
Method Summary
 java.lang.String getSourceRef()
           
 java.util.List<Trial> getTrials()
           
 void setSourceRef(java.lang.String sourceRef)
           
 java.lang.String toString()
           
 
Methods inherited from class com.google.gwt.junit.client.impl.JUnitResult
getAgent, getException, getExceptionWrapper, getHost, setAgent, setException, setExceptionWrapper, setHost
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BenchmarkResults

public BenchmarkResults()
Method Detail

getSourceRef

public java.lang.String getSourceRef()

getTrials

public java.util.List<Trial> getTrials()

setSourceRef

public void setSourceRef(java.lang.String sourceRef)

toString

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