|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.calculation.TreeTest
public class TreeTest
Tests class calculation.Tree.
Field Summary | |
---|---|
private calculation.Tree |
tree
Tree for testing. |
private calculation.Tree |
tree2
Another tree for testing. |
Constructor Summary | |
---|---|
TreeTest()
|
Method Summary | |
---|---|
void |
doAfter()
This method is run after tests. |
void |
doBefore()
This method is run before tests. |
void |
testAddToTree()
Tests method addToTree. |
void |
testGetLeaves()
Tests method getLeaves and getVertexLeaves. |
void |
testGetVertexTree()
Tests method getVertexTree. |
void |
testTree()
Tests constructor. |
void |
testTreeNodePath()
Tests method treeNodePath. |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private calculation.Tree tree
private calculation.Tree tree2
Constructor Detail |
---|
public TreeTest()
Method Detail |
---|
public void doAfter() throws java.lang.Exception
java.lang.Exception
- Exception.public void doBefore() throws java.lang.Exception
java.lang.Exception
- Exception.public void testAddToTree()
public void testGetLeaves()
public void testGetVertexTree()
public void testTree()
public void testTreeNodePath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |