laser.regularlanguage.util.test
Class StringRegularLanguagesTests

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

public class StringRegularLanguagesTests
extends RegularLanguagesTests<StringLabel>


Field Summary
protected  AlphabetFactoryInterface<StringLabel> alphabetFactory_
           
protected  int nextID_
           
 
Fields inherited from class laser.regularlanguage.util.test.RegularLanguagesTests
fsasInstance_, resInstance_, rlsInstance_
 
Constructor Summary
StringRegularLanguagesTests()
           
 
Method Summary
protected  FSAs<StringLabel> _createFSAsInstance()
           
protected  AbstractRegularExpressions<StringLabel> _createRegularExpressionsInstance()
           
protected  AbstractRegularLanguages<StringLabel> _createRegularLanguagesInstance()
          Creates the appropriate AbstractRegularLanguages.
protected  void _setUp()
           
protected  AlphabetInterface<StringLabel> createAlphabetInstance()
           
protected  StringLabel createLabelInstance()
           
protected  java.lang.Object[] getCreateFSAArgs()
           
protected  java.lang.Object[] getCreateLabelTransitionArgs()
           
protected  java.lang.Object[] getCreateREArgs()
           
protected  java.lang.Object[] getCreateStateArgs()
           
protected  RunnableFSAInterface<StringLabel> getRunnableFSA(MutableFSAInterface<StringLabel> mFSA)
           
 
Methods inherited from class laser.regularlanguage.util.test.RegularLanguagesTests
getLabelFSA, getLabelRE, setUp, testConvertDFAtoRE, testConvertDFAtoREConcat, testConvertDFAtoREEmpty, testConvertDFAtoREEpsilon, testConvertDFAtoRELabel, testConvertDFAtoREStar, testConvertDFAtoREUnion, testConvertFSAtoRE, testConvertFSAtoREConcat, testConvertFSAtoREEmpty, testConvertFSAtoREEpsilon, testConvertFSAtoRELabel, testConvertFSAtoREStar, testConvertFSAtoREUnion, testConvertREtoDFAConcat, testConvertREtoDFAEmpty, testConvertREtoDFAEpsilon, testConvertREtoDFALabel, testConvertREtoDFAStar, testConvertREtoDFAUnion, testConvertREtoFSAConcat, testConvertREtoFSAEmpty, testConvertREtoFSAEpsilon, testConvertREtoFSALabel, testConvertREtoFSAStar, testConvertREtoFSAUnion
 
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

alphabetFactory_

protected AlphabetFactoryInterface<StringLabel> alphabetFactory_

nextID_

protected int nextID_
Constructor Detail

StringRegularLanguagesTests

public StringRegularLanguagesTests()
Method Detail

_setUp

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

_createRegularLanguagesInstance

protected AbstractRegularLanguages<StringLabel> _createRegularLanguagesInstance()
Description copied from class: RegularLanguagesTests
Creates the appropriate AbstractRegularLanguages. POSTCONDITION:

Specified by:
_createRegularLanguagesInstance in class RegularLanguagesTests<StringLabel>
Returns:
The appropriate AbstractRegularLanguages

_createRegularExpressionsInstance

protected AbstractRegularExpressions<StringLabel> _createRegularExpressionsInstance()
Specified by:
_createRegularExpressionsInstance in class RegularLanguagesTests<StringLabel>

_createFSAsInstance

protected FSAs<StringLabel> _createFSAsInstance()
Specified by:
_createFSAsInstance in class RegularLanguagesTests<StringLabel>

createAlphabetInstance

protected AlphabetInterface<StringLabel> createAlphabetInstance()
Specified by:
createAlphabetInstance in class RegularLanguagesTests<StringLabel>

createLabelInstance

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

getCreateREArgs

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

getCreateFSAArgs

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

getCreateStateArgs

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

getCreateLabelTransitionArgs

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

getRunnableFSA

protected RunnableFSAInterface<StringLabel> getRunnableFSA(MutableFSAInterface<StringLabel> mFSA)
Specified by:
getRunnableFSA in class RegularLanguagesTests<StringLabel>