condor.classad.tests
Class ExprTest

Object
  extended bycondor.classad.tests.ExprTest

public class ExprTest
extends Object

Main program to test evaluation of expressions. Input consists of a sequence of expressions, each followed by a semicolon. Each expression is one of the following:

If the -n command-line option is specified, the expression is imply printed.


Field Summary
(package private)  ClassAdWriter out
          Place to display output.
 
Constructor Summary
ExprTest()
           
 
Method Summary
static void main(String[] args)
          Main program.
 void run(String[] args)
          The "main program".
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

ClassAdWriter out
Place to display output.

Constructor Detail

ExprTest

public ExprTest()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Main program. Command-line options are
-v
Request more verbose debugging output (may be repeated).
-vnn
Set the debugging level to nn.
-t
Trace the actions of the parser.
-x
Parse XML input.
-p flags
Set print flags (try -px for a list).
An optional file name may be supplied (default is stdin).

Parameters:
args - the command-line arguments.
Throws:
Exception - if something goes wrong.

run

public void run(String[] args)
         throws Exception
The "main program".

Parameters:
args - the command-line arguments.
Throws:
Exception - if something goes wrong.