laser.regularlanguage.regularexpression.test
Class StringREParserTests

java.lang.Object
  extended by laser.regularlanguage.regularexpression.test.StringREParserTests

public class StringREParserTests
extends java.lang.Object

The StringREParserTests runs through the RE base cases and makes sure that they obtain the expected results.

Author:
Heather M. Conboy (laser-software@cs.umass.edu)

Field Summary
static boolean[] EXPECTED_RESULTS
          The expected results of the tests
static java.lang.String FS
          The platform specific file separator
static java.lang.String RE_DIRECTORY
          The directory that contains the RE files
static java.lang.String[] RE_FILES
          The RE files to be tested
 
Constructor Summary
StringREParserTests()
           
 
Method Summary
static void main(java.lang.String[] args)
          Performs regression testing of the RE base cases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RE_DIRECTORY

public static final java.lang.String RE_DIRECTORY
The directory that contains the RE files

See Also:
Constant Field Values

FS

public static final java.lang.String FS
The platform specific file separator


RE_FILES

public static final java.lang.String[] RE_FILES
The RE files to be tested


EXPECTED_RESULTS

public static final boolean[] EXPECTED_RESULTS
The expected results of the tests

Constructor Detail

StringREParserTests

public StringREParserTests()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Performs regression testing of the RE base cases.

Parameters:
args - Currently not being used
Throws:
java.io.IOException - if an I/O error occurs