gumbo.util.relation
Class AbstractTreeNodeTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--gumbo.util.relation.AbstractTreeNodeTest
All Implemented Interfaces:
junit.framework.Test

public class AbstractTreeNodeTest
extends junit.framework.TestCase

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Constructor Summary
AbstractTreeNodeTest(java.lang.String name)
           
 
Method Summary
static TreeNode buildNetwork(int size)
          Builds a loop of TestTreeNode with TestDelegator, with each node having the previous one as its "parent" connection.
protected  java.lang.Object doSerialization(java.lang.Object objOut)
           
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void setupSerialization()
           
static junit.framework.Test suite()
           
 void testAddChildren()
           
 void testRemoveChildren()
           
 void testSerialLargeNetwork()
           
 void testSerialSmallNetwork()
           
 void testSerialTree()
           
 void testSerialTreeNode()
           
 
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
 

Constructor Detail

AbstractTreeNodeTest

public AbstractTreeNodeTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static junit.framework.Test suite()

testAddChildren

public void testAddChildren()

testRemoveChildren

public void testRemoveChildren()

testSerialTreeNode

public void testSerialTreeNode()

testSerialTree

public void testSerialTree()

testSerialSmallNetwork

public void testSerialSmallNetwork()

testSerialLargeNetwork

public void testSerialLargeNetwork()

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

setupSerialization

protected void setupSerialization()

doSerialization

protected java.lang.Object doSerialization(java.lang.Object objOut)

buildNetwork

public static TreeNode buildNetwork(int size)
Builds a loop of TestTreeNode with TestDelegator, with each node having the previous one as its "parent" connection.