org.apache.ojb.otm
Class MtoNTest

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

public class MtoNTest
extends junit.framework.TestCase

Version:
$Id$
Author:
Matthew Baird

Constructor Summary
MtoNTest()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
 void tearDown()
           
 void testCreate()
           
 void testDelete_NonRemovalAware()
           
 void testDelete_RemovalAware()
           
 void testDeletionFromIntermediaryTableWithEmptyList()
           
 void testDeletionFromIntermediaryTableWithNullList()
           
 void testDeletionWithClearedList()
           
 void testStoringWithAutoUpdateFalse()
           
 void testStoringWithAutoUpdateTrue()
           
 
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

MtoNTest

public MtoNTest()
Method Detail

setUp

public void setUp()
           throws LockingException
Throws:
LockingException

tearDown

public void tearDown()
              throws LockingException
Throws:
LockingException

main

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

testCreate

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

testStoringWithAutoUpdateFalse

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

testStoringWithAutoUpdateTrue

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

testDelete_NonRemovalAware

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

testDelete_RemovalAware

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

testDeletionFromIntermediaryTableWithNullList

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

testDeletionWithClearedList

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

testDeletionFromIntermediaryTableWithEmptyList

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