com.sun.javatest.finder
public class ShowTests extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ShowTests.BadArgs
This exception is used to report bad command line arguments.
|
class |
ShowTests.Fault
This exception is used to report problems that occur while running.
|
Constructor and Description |
---|
ShowTests() |
public static void main(java.lang.String[] args)
args
- An array of strings, typically provided via the command line.
The arguments should be of the form:Options | |
---|---|
-finder finderClass finderArgs ... -end | The name of a test finder class and any arguments it might take. The results of reading this test finder will be stored in the output file. |
-initial initial-file | An initial file within the test suite at which to start reading tests. |
-o output-file | The output file in which to write the results. If omitted, The results will be written to the standard console output stream. |
-nodes | By default, only the names of the tests are output. If you specify this option, the names of the parent directories will be displayed as well. |
-full]tests | By default, only the names of the tests are output. If you specify this option, the contents of the test descriptions will be displayed as well. |
public void run(java.lang.String[] args) throws ShowTests.BadArgs, ShowTests.Fault, java.io.IOException
args
- An array of strings, typically provided via the command lineShowTests.BadArgs
- if a problem is found in the arguments providedShowTests.Fault
- if a fault is found while runningjava.io.IOException
- if a problem is found while trying to read a filemain(java.lang.String[])
Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.