test.ojb.odmg
Class OdmgExamples

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--test.ojb.odmg.OdmgExamples
All Implemented Interfaces:
junit.framework.Test

public class OdmgExamples
extends junit.framework.TestCase

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


Constructor Summary
OdmgExamples(java.lang.String name)
          Insert the method's description here.
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
          Insert the method's description here.
 void tearDown()
          Insert the method's description here.
 void tesOQLQueryOnCollections()
           
 void testBrokerCrash()
          try to crash odmg and broker tx
 void testModificationStates()
          TestThreadsNLocks state transition of modification states
 void testNrmAndDlists()
           
 void testOdmgSession()
           
 void testOQLQuery()
           
 void testOQLQueryBind()
           
 void testPathExpressionOqlQuery()
           
 void tesWrongDbName()
          try to open non-existing db
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

OdmgExamples

public OdmgExamples(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)

setUp

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

Overrides:
setUp in class junit.framework.TestCase

tearDown

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

Overrides:
tearDown in class junit.framework.TestCase

testModificationStates

public void testModificationStates()
TestThreadsNLocks state transition of modification states


testOdmgSession

public void testOdmgSession()

testOQLQuery

public void testOQLQuery()

testPathExpressionOqlQuery

public void testPathExpressionOqlQuery()

testNrmAndDlists

public void testNrmAndDlists()

testOQLQueryBind

public void testOQLQueryBind()

tesOQLQueryOnCollections

public void tesOQLQueryOnCollections()

tesWrongDbName

public void tesWrongDbName()
try to open non-existing db


testBrokerCrash

public void testBrokerCrash()
try to crash odmg and broker tx



Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04