org.apache.ojb.otm
Class OtmExamples

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

public class OtmExamples
extends junit.framework.TestCase

Demo Application that shows basic concepts for Applications using the OJB OTM layer directly.


Constructor Summary
OtmExamples(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
 void tearDown()
           
 void testCollectionProxy()
           
 void testOtmCache()
           
 void testOtmIsolation()
           
 void testOtmLocks()
           
 void testOtmSession()
           
 void testSwizzling()
           
 void testUpdateByReachability()
           
 
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

OtmExamples

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

setUp

public void setUp()

tearDown

public void tearDown()

testOtmSession

public void testOtmSession()
                    throws java.lang.Throwable
Throws:
java.lang.Throwable

testCollectionProxy

public void testCollectionProxy()
                         throws java.lang.Throwable
Throws:
java.lang.Throwable

testOtmCache

public void testOtmCache()
                  throws java.lang.Throwable
Throws:
java.lang.Throwable

testOtmIsolation

public void testOtmIsolation()
                      throws java.lang.Throwable
Throws:
java.lang.Throwable

testOtmLocks

public void testOtmLocks()
                  throws java.lang.Throwable
Throws:
java.lang.Throwable

testUpdateByReachability

public void testUpdateByReachability()
                              throws java.lang.Throwable
Throws:
java.lang.Throwable

testSwizzling

public void testSwizzling()
                   throws java.lang.Throwable
Throws:
java.lang.Throwable

main

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


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