com.googlecode.lightest.core
Class LightestTestResult
java.lang.Object
com.googlecode.lightest.core.LightestTestResult
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class LightestTestResult
- extends Object
- implements groovy.lang.GroovyObject
Wraps a TestNG ITestResult, while linking it to additional Lightest-related
fields, such as the list of related ITaskResult's and the ITestEnvironment
in which the test was run.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LightestTestResult
public LightestTestResult(ITestResult result,
int id)
getTaskResults
public List getTaskResults()
setTaskResults
public void setTaskResults(List value)
getEnv
public ITestEnvironment getEnv()
setEnv
public void setEnv(ITestEnvironment value)
getId
public int getId()
setId
public void setId(int value)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2009. All Rights Reserved.