net.walend.digraph.path.test
Class MutableCEPathTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--net.walend.toolkit.junit.TestCase
                    |
                    +--net.walend.digraph.test.CEDigraphTest
                          |
                          +--net.walend.digraph.path.test.CEPathTest
                                |
                                +--net.walend.digraph.path.test.MutableCEPathTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
MutableListCEPathTest

public abstract class MutableCEPathTest
extends CEPathTest

Since:
20010923
Author:
David Walend dfw1@cornell.edu

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
MutableCEPathTest(java.lang.String testName)
           
 
Method Summary
protected abstract  MutableCEPath getTestMutableCEPathTail()
           
 void testAddPathToHead()
           
 void testAddPathToTail()
           
 void testAddToHead()
           
 void testAddToTail()
           
 void testConcurrentModificationException(EdgeIterator it, boolean exception)
           
 void testConcurrentModificationException(java.util.Iterator it, boolean exception)
           
 void testConcurrentModificationExceptions()
           
 void testImmutable()
           
 void testPruneHead()
           
 void testPruneHeadFromFirst()
           
 void testPruneHeadFromLast()
           
 void testPruneTail()
           
 void testPruneTailFromFirst()
           
 void testPruneTailFromLast()
           
 void testRemoveHead()
           
 void testRemoveTail()
           
 void testSplice()
           
 void testSpliceFirst()
           
 void testSpliceFirstToLast()
           
 void testSpliceLast()
           
 void testSpliceLastToFirst()
           
 
Methods inherited from class net.walend.digraph.path.test.CEPathTest
getCyclicTestCEPath, getCyclicTestMutableCEPath, getOneNodeCEPath, getOneNodeMutableCEPath, getTestCEPath, getTestMutableCEPath, testGetEdgeAtIndex, testGetEdgeList, testGetHead, testGetIndexOfEdge, testGetIndexOfNode, testGetLastIndexOfEdge, testGetLastIndexOfNode, testGetNodeAtIndex, testGetNodeList, testGetSubpath, testGetSubpathFirst, testGetSubpathFirstToLast, testGetSubpathLast, testGetSubpathLastToFirst, testGetSupergraph, testGetTail, testPathEdgeCount, testPathNodeCount, testPathNodeIterator, testQueriesOnCyclicTestCEPath, testQueriesOnOneNodePath, testQueriesOnTestCEPath, testSameCEPathAs, testSerialization, testValid
 
Methods inherited from class net.walend.digraph.test.CEDigraphTest
getEmptyTestCEDigraph, getEmptyTestMutableCEDigraph, getTestCEDigraph, getTestMutableCEDigraph, testCEDigraphAlgebraContainsCEDigraph, testCEDigraphAlgebraIntersectCEDigraphs, testCEDigraphAlgebraSameCEDigraphs, testCEDigraphAlgebraUnionCEDigraphs, testContainsCEDigraph, testContainsEdge, testContainsEdge, testContainsEdgeAllWays, testContainsNode, testContainsNodes, testCopyConstructor, testCountInboundEdges, testCountOutboundEdges, testEdgeCount, testEdgeIterator, testGetEdge, testGetEdges, testGetFromNodes, testGetInboundEdges, testGetNodes, testGetOutboundEdges, testGetToNodes, testImmutable, testIsEdgeFree, testIsEmpty, testNodeCount, testNodeIterator, testQueriesOnEmpty, testQueriesOnTestCEDigraph, testRemoveNodeAndEdge, testSameCEDigraphAs, testToString
 
Methods inherited from class net.walend.toolkit.junit.TestCase
fail, fail
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

MutableCEPathTest

public MutableCEPathTest(java.lang.String testName)
Method Detail

getTestMutableCEPathTail

protected abstract MutableCEPath getTestMutableCEPathTail()

testAddToTail

public void testAddToTail()
                   throws EdgeMissingException,
                          NodeMissingException,
                          LastNodeException
EdgeMissingException
NodeMissingException
LastNodeException

testAddToHead

public void testAddToHead()
                   throws EdgeMissingException,
                          NodeMissingException,
                          LastNodeException
EdgeMissingException
NodeMissingException
LastNodeException

testRemoveHead

public void testRemoveHead()
                    throws LastNodeException
LastNodeException

testRemoveTail

public void testRemoveTail()
                    throws LastNodeException
LastNodeException

testAddPathToTail

public void testAddPathToTail()

testAddPathToHead

public void testAddPathToHead()

testPruneTail

public void testPruneTail()

testPruneHead

public void testPruneHead()

testPruneTailFromFirst

public void testPruneTailFromFirst()

testPruneTailFromLast

public void testPruneTailFromLast()

testPruneHeadFromFirst

public void testPruneHeadFromFirst()

testPruneHeadFromLast

public void testPruneHeadFromLast()

testSplice

public void testSplice()

testSpliceFirst

public void testSpliceFirst()

testSpliceLast

public void testSpliceLast()

testSpliceFirstToLast

public void testSpliceFirstToLast()

testSpliceLastToFirst

public void testSpliceLastToFirst()

testConcurrentModificationException

public void testConcurrentModificationException(java.util.Iterator it,
                                                boolean exception)

testConcurrentModificationException

public void testConcurrentModificationException(EdgeIterator it,
                                                boolean exception)

testImmutable

public void testImmutable()
Overrides:
testImmutable in class CEPathTest

testConcurrentModificationExceptions

public void testConcurrentModificationExceptions()


Copyright (c) 2001, 2002, David Walend