lapisx.util
Class HistoryTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bylapisx.util.HistoryTest
All Implemented Interfaces:
junit.framework.Test

public class HistoryTest
extends junit.framework.TestCase

A collection of JUnit testcases to test the History class.


Field Summary
protected  History h0
           
protected  History h1
           
protected  History h2
           
 
Constructor Summary
HistoryTest(String name)
           
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
           
 void testAdd()
           
 void testClear()
           
 void testContains()
           
 void testCopy()
           
 void testExpand()
           
 void testForwardAndBack()
           
 void testJumpTo()
           
 void testPut()
           
 void testReplace()
           
 void testSize()
           
 void testToStartAndToEnd()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

h0

protected History h0

h1

protected History h1

h2

protected History h2
Constructor Detail

HistoryTest

public HistoryTest(String name)
Method Detail

setUp

protected void setUp()

suite

public static junit.framework.Test suite()

testAdd

public void testAdd()

testClear

public void testClear()

testCopy

public void testCopy()

testPut

public void testPut()

testForwardAndBack

public void testForwardAndBack()

testReplace

public void testReplace()

testToStartAndToEnd

public void testToStartAndToEnd()

testSize

public void testSize()

testContains

public void testContains()

testExpand

public void testExpand()

testJumpTo

public void testJumpTo()