laser.regularlanguage.regularexpression.util.test
Class StringRegularExpressionsTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by laser.regularlanguage.regularexpression.util.test.RegularExpressionsTests<StringLabel>
              extended by laser.regularlanguage.regularexpression.util.test.StringRegularExpressionsTests
All Implemented Interfaces:
junit.framework.Test

public class StringRegularExpressionsTests
extends RegularExpressionsTests<StringLabel>


Field Summary
protected  int nextID_
           
 
Fields inherited from class laser.regularlanguage.regularexpression.util.test.RegularExpressionsTests
alphabetFactory_, resInstance_
 
Constructor Summary
StringRegularExpressionsTests()
           
 
Method Summary
protected  AbstractRegularExpressions<StringLabel> _createRegularExpressionsInstance()
          Creates the appropriate AbstractRegularExpressions.
protected  void _setUp()
           
 AlphabetInterface<StringLabel> createAlphabetInstance()
           
protected  StringLabel createLabelInstance()
           
protected  java.lang.Object[] getCreateREArgs()
           
protected  java.lang.StringBuffer getLexerErrorRE()
           
protected  java.lang.StringBuffer getParserErrorRE()
           
 
Methods inherited from class laser.regularlanguage.regularexpression.util.test.RegularExpressionsTests
setUp, testConcatenation, testConvertExtendedREtoREBasicRE, testConvertExtendedREtoRENotBasicRE, testEmpty, testEpsilon, testGetUniqueTermCountBinaryIsThreeOrMore, testGetUniqueTermCountLeafIsOneOrMore, testGetUniqueTermCountUnaryIsTwoOrMore, testIsExtendedREReturnsFalse, testIsExtendedREReturnsTrue, testLabel, testReadLexerError, testReadParserError, testReadWriteCompatible, testSimplifyNotSimplifiedRE, testSimplifySimplifiedRE, testStar, testUnion
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nextID_

protected int nextID_
Constructor Detail

StringRegularExpressionsTests

public StringRegularExpressionsTests()
Method Detail

_setUp

protected void _setUp()
               throws java.lang.Exception
Overrides:
_setUp in class RegularExpressionsTests<StringLabel>
Throws:
java.lang.Exception

_createRegularExpressionsInstance

protected AbstractRegularExpressions<StringLabel> _createRegularExpressionsInstance()
Description copied from class: RegularExpressionsTests
Creates the appropriate AbstractRegularExpressions. POSTCONDITION:

Specified by:
_createRegularExpressionsInstance in class RegularExpressionsTests<StringLabel>
Returns:
The appropriate AbstractRegularExpressions

getCreateREArgs

protected java.lang.Object[] getCreateREArgs()
Specified by:
getCreateREArgs in class RegularExpressionsTests<StringLabel>

createAlphabetInstance

public AlphabetInterface<StringLabel> createAlphabetInstance()
Specified by:
createAlphabetInstance in class RegularExpressionsTests<StringLabel>

createLabelInstance

protected StringLabel createLabelInstance()
Specified by:
createLabelInstance in class RegularExpressionsTests<StringLabel>

getLexerErrorRE

protected java.lang.StringBuffer getLexerErrorRE()
Specified by:
getLexerErrorRE in class RegularExpressionsTests<StringLabel>

getParserErrorRE

protected java.lang.StringBuffer getParserErrorRE()
Specified by:
getParserErrorRE in class RegularExpressionsTests<StringLabel>