Sun Microsystems 2 Tablet Accessory User Manual


 
26 Signature Test Tool 2.0 User’s Guide April 2008
SetupAndTest Command
The SetupAndTest command has the following synopsis:
java com.sun.tdk.signaturetest.SetupAndTest [arguments]
TABLE 2-6 describes all arguments available to the SetupAndTest command. See
“Case Sensitivity of Command Arguments” on page 16 and CLASSPATH and
-classpath Settings” on page 10. SetupAndTest requires sigtestdev.jar in
the CLASSPATH environment variable.
Command Description
SetupAndTest is a wrapper command that runs only in the static mode to execute
the Setup and SignatureTest commands in one operation. It performs these
functions:
1. Calls the Setup command to create a signature file from the reference API
specified as input. It creates a temporary signature file if no name is specified for
it with the -FileName option.
2. Calls the SignatureTest command to make the comparison and produce a
report.
TABLE 2-6 SetupAndTest Command Argument
-help
Optional. Displays usage information for
available command arguments and exits.
-reference path Required. Specifies the path to the classes to
be used for creating the signature file.
-test path Required. Path to the packages being tested.
-FileName file Optional. Specifies the signature file name.
The command execution uses a temporary
file if not specified.
-package package_or_class_name Optional. Specifies a class or package to be
reported on, including its subpackages if a
package is specified. This argument acts as a
filter on the set of classes or packages that
are tested and reported on. The default is all
classes and packages. Repeat the argument
to specify multiple entries.