[Java] Class ScriptTestAdapter
- org.apache.groovy.test.ScriptTestAdapter
- All Implemented Interfaces and Traits:
- Test
public class ScriptTestAdapter
An adapter to make any Groovy Script class an instance of a JUnit Test
Constructor Summary
Constructor and description |
---|
ScriptTestAdapter
(Class scriptClass, String[] arguments) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public int |
countTestCases() | |
public void |
run(TestResult result) | |
public String |
toString() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public ScriptTestAdapter(Class scriptClass, String[] arguments)
Method Detail
public int countTestCases()
public void run(TestResult result)
public String toString()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/test/ScriptTestAdapter.html