laser.alphabet.labelpattern.test
Class AbstractStringLabelPatternTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by laser.alphabet.labelpattern.test.AbstractStringLabelPatternTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
StringAllLabelPatternTest, StringClassSetLabelPatternTest, StringLabelPatternFactoryTest, StringNotClassSetLabelPatternTest

public abstract class AbstractStringLabelPatternTest
extends junit.framework.TestCase

Provides common functionality for test cases in the StringLabelPatternTestSuite.

Author:
Nathan A. Jokel (laser-software@cs.umass.edu)
See Also:
StringLabelPatternTestSuite

Field Summary
protected  StringLabelPatternFactory factory
          A factory to use with the tests.
protected  StringAlphabetFactory.TestProbe probe
          A test probe into StringAlphabetFactory.
 
Constructor Summary
AbstractStringLabelPatternTest()
           
 
Method Summary
protected  void setUp()
          Initializes the fields for each test.
 
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

factory

protected StringLabelPatternFactory factory
A factory to use with the tests.


probe

protected StringAlphabetFactory.TestProbe probe
A test probe into StringAlphabetFactory.

Constructor Detail

AbstractStringLabelPatternTest

public AbstractStringLabelPatternTest()
Method Detail

setUp

protected void setUp()
Initializes the fields for each test.

Overrides:
setUp in class junit.framework.TestCase