Package org.codehaus.groovy.runtime
Class ScriptTestAdapter
java.lang.Object
org.codehaus.groovy.runtime.ScriptTestAdapter
- All Implemented Interfaces:
- junit.framework.Test
@Deprecated
public class ScriptTestAdapter
extends java.lang.Object
implements junit.framework.Test
Deprecated.
An adapter to make any Groovy Script class an instance of a JUnit Test
- 
Constructor SummaryConstructors Constructor Description ScriptTestAdapter(java.lang.Class scriptClass, java.lang.String[] arguments)Deprecated.
- 
Method SummaryModifier and Type Method Description intcountTestCases()Deprecated.voidrun(junit.framework.TestResult result)Deprecated.java.lang.StringtoString()Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
- 
Constructor Details- 
ScriptTestAdapterpublic ScriptTestAdapter(java.lang.Class scriptClass, java.lang.String[] arguments)Deprecated.
 
- 
- 
Method Details- 
countTestCasespublic int countTestCases()Deprecated.- Specified by:
- countTestCasesin interface- junit.framework.Test
 
- 
runpublic void run(junit.framework.TestResult result)Deprecated.- Specified by:
- runin interface- junit.framework.Test
 
- 
toStringpublic java.lang.String toString()Deprecated.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
ScriptTestAdapter