Class ScriptBaseClass

java.lang.Object
junit.framework.Assert
com.sun.xml.ws.test.client.ScriptBaseClass

public class ScriptBaseClass extends junit.framework.Assert
Client test script will be executed as if it's a method on a sub-class of this class. IOW,
 class Dummy extends ScriptBaseClass {
   void scriptMethod() {
     ... contents of the script ...
   }
 }
 

Therefore all the public methods and fields are visible to the script. This is a convenient place to define helper convenience methods for scripts to use.

Functions defined in util.bsh serves the same role.

Author:
Kohsuke Kawaguchi