org.objectweb.jonas_ejb.deployment.api
Class TestAnnuaireDeployment

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

public class TestAnnuaireDeployment
extends junit.framework.TestCase

Test case based on the annuaire EJB module.

Author:
Christophe Ney - cney@batisseurs.com

Constructor Summary
TestAnnuaireDeployment(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 testAnnuaireDeploymentDesc()
          test CMP2 properties of JOnAS meta-info
 void testAnnuaireJormSchema()
          test the struture of the generated JORM schema
 void testAnnuaireQueryFindAll()
          test meta-information of the FindAll method
 void testAnnuaireQueryFindByNom()
          test meta-information of the FindByNom method
 void testAnnuaireQueryFindByNumero()
          test meta-information of the FindByNumero method
 
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

TestAnnuaireDeployment

public TestAnnuaireDeployment(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

testAnnuaireDeploymentDesc

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

testAnnuaireJormSchema

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

testAnnuaireQueryFindAll

public void testAnnuaireQueryFindAll()
                              throws java.lang.Exception
test meta-information of the FindAll method

testAnnuaireQueryFindByNom

public void testAnnuaireQueryFindByNom()
                                throws java.lang.Exception
test meta-information of the FindByNom method

testAnnuaireQueryFindByNumero

public void testAnnuaireQueryFindByNumero()
                                   throws java.lang.Exception
test meta-information of the FindByNumero method