|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--javautils.graph.templates.DfsTemplateTest
A [JUnit]
test for DfsTemplate
.
Field Summary | |
static java.lang.String |
STUVWXYZ_GRAPH_DFS
|
static java.lang.String |
UVWXYZ_GRAPH_DFS
|
Fields inherited from interface javautils.graph.testing.TestGraphConstants |
ABCDEFGH_GRAPH, ABCDEFGHIJ_GRAPH, CLOTHING_GRAPH, RSTUVWXY_GRAPH, STUVWXYZ_GRAPH, UVWXYZ_GRAPH |
Constructor Summary | |
DfsTemplateTest()
|
Method Summary | |
static java.lang.String |
dfsTranscript(Graph g)
Generates a transcript of the events generated by the DfsTemplate -method on the given graph. |
void |
testDfsOnSTUVWXYZ()
Tests that the DfsTemplate -method gives the expected
transcript on the TestGraphConstants.STUVWXYZ_GRAPH -graph. |
void |
testDfsOnUVWXYZ()
Tests that the DfsTemplate -method gives the expected
transcript on the TestGraphConstants.UVWXYZ_GRAPH -graph. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
public static final java.lang.String UVWXYZ_GRAPH_DFS
public static final java.lang.String STUVWXYZ_GRAPH_DFS
Constructor Detail |
public DfsTemplateTest()
Method Detail |
public void testDfsOnUVWXYZ()
Tests that the DfsTemplate
-method gives the expected
transcript on the TestGraphConstants.UVWXYZ_GRAPH
-graph.
public void testDfsOnSTUVWXYZ()
Tests that the DfsTemplate
-method gives the expected
transcript on the TestGraphConstants.STUVWXYZ_GRAPH
-graph.
public static java.lang.String dfsTranscript(Graph g)
Generates a transcript of the events generated by the DfsTemplate
-method on the given graph.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |