public class BinaryTestWriter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
BinaryTestWriter.BadArgs
This exception is used to report bad command line arguments.
|
class |
BinaryTestWriter.Fault
This exception is used to report problems that occur while running.
|
Constructor and Description |
---|
BinaryTestWriter() |
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. |
-o output-file | The output file in which to write the results. |
public int run(java.lang.String[] args) throws BinaryTestWriter.BadArgs, BinaryTestWriter.Fault, java.io.IOException
args
- An array of strings, typically provided via the command lineBinaryTestWriter.BadArgs
- if a problem is found in the arguments providedBinaryTestWriter.Fault
- if a fault is found while runningjava.io.IOException
- if a problem is found while trying to read a file
or write the output filemain(java.lang.String[])
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.