com.googlecode.lightest.core
Class TestInstance

java.lang.Object
  extended by com.googlecode.lightest.core.TestInstance
All Implemented Interfaces:
groovy.lang.GroovyObject

public class TestInstance
extends Object
implements groovy.lang.GroovyObject

Represents a single, possibly-future, TestNG test method invocation.


Constructor Summary
TestInstance(String suiteName, String testName, String className, String methodName, String methodSignature)
           
TestInstance(TestInstance other)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getClassName()
           
 groovy.lang.MetaClass getMetaClass()
           
 String getMethodName()
           
 String getMethodSignature()
           
 Object getProperty(String name)
           
 String getSuiteName()
           
 String getTestName()
           
 int hashCode()
           
 Object invokeMethod(String name, Object args)
           
 void setClassName(String value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setMethodName(String value)
           
 void setMethodSignature(String value)
           
 void setProperty(String name, Object value)
           
 void setSuiteName(String value)
           
 void setTestName(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestInstance

public TestInstance(String suiteName,
                    String testName,
                    String className,
                    String methodName,
                    String methodSignature)

TestInstance

public TestInstance(TestInstance other)
Method Detail

getSuiteName

public String getSuiteName()

setSuiteName

public void setSuiteName(String value)

getTestName

public String getTestName()

setTestName

public void setTestName(String value)

getClassName

public String getClassName()

setClassName

public void setClassName(String value)

getMethodName

public String getMethodName()

setMethodName

public void setMethodName(String value)

getMethodSignature

public String getMethodSignature()

setMethodSignature

public void setMethodSignature(String value)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

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.