com.atlassian.bamboo.results.tests
Class TestClassResult
java.lang.Object
com.atlassian.bamboo.results.tests.TestClassResult
public class TestClassResult
- extends Object
Class to encapsulate the test results of a class
TestClassResult
public TestClassResult(String name)
TestClassResult
public TestClassResult(TestResults testResults)
TestClassResult
public TestClassResult(List testResults)
getName
public String getName()
getKey
public String getKey()
getShortName
public String getShortName()
addTestResult
public void addTestResult(TestResults testResult)
getTestResults
public List getTestResults()
getTotalDuration
public double getTotalDuration()
- Returns the sum of all test durations
- Returns:
- time in seconds of the total duration for the class
getPrettyTotalDuration
public String getPrettyTotalDuration()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Object obj)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.