org.benchy
Class BenchmarkResult

java.lang.Object
  extended by org.benchy.BenchmarkResult

public class BenchmarkResult
extends Object

Contains the results of a Benchmark; a list of testcase results.

Author:
Peter Veentjer

Constructor Summary
BenchmarkResult(String benchmarkName, List<TestCaseResult> testCaseResultList)
           
 
Method Summary
 void add(TestCaseResult result)
          Adds a TestCaseResult to this BenchmarkResult.
 String getBenchmarkName()
          Returns the name of the Benchmark.
 List<TestCaseResult> getTestCaseResults()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BenchmarkResult

public BenchmarkResult(String benchmarkName,
                       List<TestCaseResult> testCaseResultList)
Method Detail

getBenchmarkName

public String getBenchmarkName()
Returns the name of the Benchmark.

Returns:
the result of the benchmark.

add

public void add(TestCaseResult result)
Adds a TestCaseResult to this BenchmarkResult.

Parameters:
result - the TestCaseResult to add.
Throws:
NullPointerException - if result is null.

getTestCaseResults

public List<TestCaseResult> getTestCaseResults()


Copyright © 2008-2010 Multiverse. All Rights Reserved.