org.objectweb.jonas_ejb.deployment.api
Class TestRelativesDeployment

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--org.objectweb.jonas_ejb.deployment.api.TestRelativesDeployment
All Implemented Interfaces:
junit.framework.Test

public class TestRelativesDeployment
extends junit.framework.TestCase

Test case based on the relatives EJB module. This modules include one-to-one, one=to-many, and many-to-many relationships.

Author:
Christophe Ney - cney@batisseurs.com

Constructor Summary
TestRelativesDeployment(java.lang.String n)
          constructor called before running each testMethod (except when serialisation is involved)
 
Method Summary
static void main(java.lang.String[] args)
          main method to launch the tests manually
protected  void setUp()
          method called before running each testMethod
static junit.framework.Test suite()
          create a suite with all test methods of this class
protected  void tearDown()
          method called after running each testMethod
 void testRelativesDeploymentDesc()
          test CMP2 properties of JOnAS meta-info
 void testRelativesJormSchema()
          test the struture of the generated JORM schema
 
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

TestRelativesDeployment

public TestRelativesDeployment(java.lang.String n)
constructor called before running each testMethod (except when serialisation is involved)
Method Detail

main

public static void main(java.lang.String[] args)
main method to launch the tests manually

suite

public static junit.framework.Test suite()
create a suite with all test methods of this class

setUp

protected void setUp()
              throws java.lang.Exception
method called before running each testMethod
Overrides:
setUp in class junit.framework.TestCase

tearDown

protected void tearDown()
                 throws java.lang.Exception
method called after running each testMethod
Overrides:
tearDown in class junit.framework.TestCase

testRelativesDeploymentDesc

public void testRelativesDeploymentDesc()
                                 throws java.lang.Exception
test CMP2 properties of JOnAS meta-info

testRelativesJormSchema

public void testRelativesJormSchema()
                             throws java.lang.Exception
test the struture of the generated JORM schema