spec.harness.results
Class SuiteResult
java.lang.Object
spec.harness.results.TestResult
spec.harness.results.SuiteResult
public class SuiteResult
- extends TestResult
Method Summary |
void |
addBenchmarkResults(BenchmarkResult benchmarkResult)
|
void |
addConfiguration(java.lang.String configuration)
|
void |
addHwInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
|
void |
addJvmInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
|
void |
addJvmInfo(java.lang.String key,
java.lang.String value)
|
void |
addRunInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
|
void |
addSwInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
|
void |
addViolation(java.lang.String violation)
|
void |
footerToXml(java.io.PrintStream ps,
int indent)
|
java.util.List<java.lang.String> |
getAllErrors(java.lang.String tag)
|
java.util.List |
getBenchmarkResults()
|
java.lang.String |
getCommandLineOptions()
|
java.util.List<java.lang.String> |
getConfigurations()
|
java.util.Map |
getHwInfo()
|
java.util.Map |
getJvmInfo()
|
java.lang.String |
getKitVersion()
|
java.util.Map |
getRunInfo()
|
java.util.Map |
getSwInfo()
|
java.util.List<java.lang.String> |
getViolations()
|
java.lang.String |
getWorkloadName()
|
void |
headerToXml(java.io.PrintStream ps,
int indent)
|
boolean |
isCompliant()
|
boolean |
isValid()
Check if result is valid. |
void |
setKitVersion(java.lang.String kitVersion)
|
void |
setWorkloadName(java.lang.String workloadName)
|
void |
toXml(java.io.PrintStream ps,
int indent)
Print result as xml on given string. |
Methods inherited from class spec.harness.results.TestResult |
addError, correctContent, doubleAsRes, getErrors, getIndent, getRunModeDescription, hasErrors, millisAsSec, printErrorsToXml, ptxAttrib, ptxAttrib, ptxAttrib, ptxAttrib, ptxAttrib, ptxElement, ptxElementClose, ptxElementOpen, ptxElementStartOpen, ptxXmlHeader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SuiteResult
public SuiteResult()
getWorkloadName
public java.lang.String getWorkloadName()
setWorkloadName
public void setWorkloadName(java.lang.String workloadName)
getKitVersion
public java.lang.String getKitVersion()
setKitVersion
public void setKitVersion(java.lang.String kitVersion)
addJvmInfo
public void addJvmInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
addJvmInfo
public void addJvmInfo(java.lang.String key,
java.lang.String value)
getJvmInfo
public java.util.Map getJvmInfo()
addRunInfo
public void addRunInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
getRunInfo
public java.util.Map getRunInfo()
addSwInfo
public void addSwInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
getSwInfo
public java.util.Map getSwInfo()
addHwInfo
public void addHwInfo(java.lang.String key,
java.util.Properties props,
java.lang.String def)
getHwInfo
public java.util.Map getHwInfo()
getViolations
public java.util.List<java.lang.String> getViolations()
getConfigurations
public java.util.List<java.lang.String> getConfigurations()
getBenchmarkResults
public java.util.List getBenchmarkResults()
addBenchmarkResults
public void addBenchmarkResults(BenchmarkResult benchmarkResult)
addViolation
public void addViolation(java.lang.String violation)
addConfiguration
public void addConfiguration(java.lang.String configuration)
isCompliant
public boolean isCompliant()
isValid
public boolean isValid()
- Description copied from class:
TestResult
- Check if result is valid.
- Specified by:
isValid
in class TestResult
getAllErrors
public java.util.List<java.lang.String> getAllErrors(java.lang.String tag)
- Specified by:
getAllErrors
in class TestResult
headerToXml
public void headerToXml(java.io.PrintStream ps,
int indent)
toXml
public void toXml(java.io.PrintStream ps,
int indent)
- Description copied from class:
TestResult
- Print result as xml on given string.
- Specified by:
toXml
in class TestResult
footerToXml
public void footerToXml(java.io.PrintStream ps,
int indent)
getCommandLineOptions
public java.lang.String getCommandLineOptions()