laser.alphabet.labelpattern.test
Class AbstractIndexedLabelPatternTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by laser.alphabet.labelpattern.test.AbstractIndexedLabelPatternTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
IndexedAllLabelPatternTest, IndexedClassSetLabelPatternTest, IndexedLabelPatternFactoryTest, IndexedLabelPatternTest, IndexedNotClassSetLabelPatternTest

public abstract class AbstractIndexedLabelPatternTest
extends junit.framework.TestCase

Provides common functionality for test cases in the IndexedLabelPatternTestSuite.

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

Field Summary
protected  IndexedLabelPatternFactory factory
          A factory to use with the tests.
protected  IndexedAlphabetFactory.TestProbe probe
          A test probe into IndexedAlphabetFactory.
 
Constructor Summary
AbstractIndexedLabelPatternTest()
           
 
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 IndexedLabelPatternFactory factory
A factory to use with the tests.


probe

protected IndexedAlphabetFactory.TestProbe probe
A test probe into IndexedAlphabetFactory.

Constructor Detail

AbstractIndexedLabelPatternTest

public AbstractIndexedLabelPatternTest()
Method Detail

setUp

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

Overrides:
setUp in class junit.framework.TestCase