org.apache.ojb.odmg
Class DListTest

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

public class DListTest
extends junit.framework.TestCase

Demo Application that shows basic concepts for Applications using the OJB ODMG implementation as an transactional object server.


Nested Class Summary
static class DListTest.DListObject
           
 
Constructor Summary
DListTest(java.lang.String name)
           
 
Method Summary
protected  DListTest.DListObject createObject(java.lang.String name)
           
static void main(java.lang.String[] args)
           
 void setUp()
           
 void tearDown()
           
 void testAddingLockupWithTx()
           
 void testAddingWithIndex()
           
 void testDBag()
           
 void testDSet()
           
 void testIterateWithoutTx()
           
 void testReadAndStore()
           
 void testRemoving()
          this test checks if removing item from DList works
 
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
 

Constructor Detail

DListTest

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

main

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

createObject

protected DListTest.DListObject createObject(java.lang.String name)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

setUp

public void setUp()

tearDown

public void tearDown()

testAddingLockupWithTx

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

testReadAndStore

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

testIterateWithoutTx

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

testRemoving

public void testRemoving()
                  throws java.lang.Exception
this test checks if removing item from DList works

Throws:
java.lang.Exception

testAddingWithIndex

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

testDBag

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

testDSet

public void testDSet()
              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