org.benchy
Class BenchmarkResult
java.lang.Object
org.benchy.BenchmarkResult
public class BenchmarkResult
- extends java.lang.Object
Contains the results of a Benchmark.
- Author:
- Peter Veentjer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BenchmarkResult
public BenchmarkResult(java.lang.String benchmarkName)
BenchmarkResult
public BenchmarkResult(java.lang.String benchmarkName,
java.util.List<TestCaseResult> testCaseResultList)
getBenchmarkName
public java.lang.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:
java.lang.NullPointerException - if result is null.
getTestCaseResults
public java.util.List<TestCaseResult> getTestCaseResults()
Copyright © 2008-2010 Multiverse. All Rights Reserved.