Class ScriptTestAdapter

  • All Implemented Interfaces:
    junit.framework.Test

    @Deprecated
    public class ScriptTestAdapter
    extends Object
    implements junit.framework.Test
    Deprecated.
    An adapter to make any Groovy Script class an instance of a JUnit Test
    • Constructor Detail

      • ScriptTestAdapter

        public ScriptTestAdapter​(Class scriptClass,
                                 String[] arguments)
        Deprecated.
    • Method Detail

      • countTestCases

        public int countTestCases()
        Deprecated.
        Specified by:
        countTestCases in interface junit.framework.Test
      • run

        public void run​(junit.framework.TestResult result)
        Deprecated.
        Specified by:
        run in interface junit.framework.Test