|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jbenchmark.TestResult
The result of a test includes the test and the duration that the test took to execute. The method of determining the duration of a test is up to each individual test.
Constructor Summary | |
TestResult()
Default constructor. |
|
TestResult(Test test,
long duration)
Create a test result for the given test that specifies the duration of that test. |
Method Summary | |
long |
getDuration()
Gets the duration of the test. |
Test |
getTest()
Gets the test. |
void |
setDuration(long duration)
Sets the duration for the test. |
void |
setTest(Test test)
Sets the test. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestResult()
public TestResult(Test test, long duration)
Method Detail |
public void setTest(Test test)
public void setDuration(long duration)
public Test getTest()
public long getDuration()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |