Package org.codehaus.groovy.runtime
Class ScriptTestAdapter
- java.lang.Object
 - 
- org.codehaus.groovy.runtime.ScriptTestAdapter
 
 
- 
- All Implemented Interfaces:
 junit.framework.Test
public class ScriptTestAdapter extends java.lang.Object implements junit.framework.TestAn adapter to make any Groovy Script class an instance of a JUnit Test 
- 
- 
Constructor Summary
Constructors Constructor Description ScriptTestAdapter(java.lang.Class scriptClass, java.lang.String[] arguments) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcountTestCases()voidrun(junit.framework.TestResult result)java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
countTestCases
public int countTestCases()
- Specified by:
 countTestCasesin interfacejunit.framework.Test
 
- 
run
public void run(junit.framework.TestResult result)
- Specified by:
 runin interfacejunit.framework.Test
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -