Class ScriptRunner


  • public final class ScriptRunner
    extends java.lang.Object
    The ScriptRunner class runs test template scripts with corresponding scripting engines.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void run​(Options options, java.lang.String templateFile)
      Runs the specified test template to generate a set of test programs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public static void run​(Options options,
                               java.lang.String templateFile)
                        throws java.lang.Throwable
        Runs the specified test template to generate a set of test programs.
        Parameters:
        options - Options that set up the run configuration.
        templateFile - Test template to be run.
        Throws:
        java.lang.Throwable - if any issues occurred during the script run. A special case is GenerationAbortedException which means that some of the engines invoked by the script decided to abort generation.