org.apache.ojb.broker
Class TreeTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.ojb.broker.TreeTest
All Implemented Interfaces:
junit.framework.Test

public class TreeTest
extends junit.framework.TestCase

Testing selfjoins and tree structures


Nested Class Summary
static class TreeTest.Tree
          Tree is recursive type: a Tree element contains some data and a Vector of child Tree elements.
static class TreeTest.TreeGroup
          Tree is recursive type: a Tree element contains some data and a Vector of child Tree elements.
 
Field Summary
(package private)  PersistenceBroker broker
           
 
Constructor Summary
TreeTest(java.lang.String name)
          Insert the method's description here.
 
Method Summary
 TreeTest.TreeGroup createTreeGroup()
          Insert the method's description here.
 TreeTest.Tree createTreeNodeWithParent(TreeTest.Tree parent)
          Insert the method's description here.
static void main(java.lang.String[] args)
           
 void setUp()
          Insert the method's description here.
 void tearDown()
          Insert the method's description here.
 void testCreate()
           
 void testTreeGroup()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

broker

PersistenceBroker broker
Constructor Detail

TreeTest

public TreeTest(java.lang.String name)
Insert the method's description here. Creation date: (24.12.2000 00:33:40)

Method Detail

main

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

createTreeGroup

public TreeTest.TreeGroup createTreeGroup()
                                   throws java.lang.Exception
Insert the method's description here. Creation date: (13.02.2001 18:50:29)

Returns:
TestThreadsNLocks.org.apache.ojb.broker.Tree
Throws:
java.lang.Exception

createTreeNodeWithParent

public TreeTest.Tree createTreeNodeWithParent(TreeTest.Tree parent)
                                       throws java.lang.Exception
Insert the method's description here. Creation date: (13.02.2001 18:50:29)

Parameters:
parent - TestThreadsNLocks.org.apache.ojb.broker.Tree
Returns:
TestThreadsNLocks.org.apache.ojb.broker.Tree
Throws:
java.lang.Exception

setUp

public void setUp()
           throws PBFactoryException
Insert the method's description here. Creation date: (06.12.2000 21:58:53)

Throws:
PBFactoryException

tearDown

public void tearDown()
Insert the method's description here. Creation date: (06.12.2000 21:59:14)


testCreate

public void testCreate()

testTreeGroup

public void testTreeGroup()
                   throws java.lang.Exception
Throws:
java.lang.Exception


Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14