org.objectweb.jorm.mapper.fos.lib
Class TestFosPMappingStructuresManager

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.objectweb.jorm.mapper.fos.lib.TestFosPMappingStructuresManager
All Implemented Interfaces:
junit.framework.Test

public class TestFosPMappingStructuresManager
extends junit.framework.TestCase

Code for testing the RDB mapping structures implementation. It only tests the definition of mapping structures and does not test operations that modify the database schema.

Author:
P. Dechamboux

Constructor Summary
TestFosPMappingStructuresManager(java.lang.String testname)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testClusterWith1Class1Dir()
           
 void testClusterWith1Class1DirDup()
           
 void testClusterWith1Class2DirSubAfter()
           
 void testClusterWith1Class2DirSubBefore()
           
 void testClusterWith2Class2DirNoMerge()
           
 void testClusterWith2Class3DirMerge()
           
 
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

TestFosPMappingStructuresManager

public TestFosPMappingStructuresManager(java.lang.String testname)
Method Detail

setUp

protected void setUp()

tearDown

protected void tearDown()

testClusterWith1Class1Dir

public void testClusterWith1Class1Dir()

testClusterWith1Class1DirDup

public void testClusterWith1Class1DirDup()

testClusterWith1Class2DirSubBefore

public void testClusterWith1Class2DirSubBefore()

testClusterWith1Class2DirSubAfter

public void testClusterWith1Class2DirSubAfter()

testClusterWith2Class2DirNoMerge

public void testClusterWith2Class2DirNoMerge()

testClusterWith2Class3DirMerge

public void testClusterWith2Class3DirMerge()