Package: org.codehaus.groovy.runtime

## [Java] Class ScriptTestAdapter

- org.codehaus.groovy.runtime.ScriptTestAdapter

- All Implemented Interfaces and Traits:
    Test

      @Deprecated
      public class ScriptTestAdapter

  An adapter to make any Groovy Script class an instance of a JUnit Test

  deprecated:
    use ScriptTestAdapter

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ScriptTestAdapter (Class scriptClass, String[] arguments)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `countTestCases()`
    `` | `public void` | `run(TestResult result)`
    `` | `public String` | `toString()`

  - ### Inherited Methods Summary

    Inherited Methods
    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()