|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.objectweb.jonas_ejb.deployment.api.TestAnnuaireDeployment
Test case based on the annuaire
EJB module.
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 |
public TestAnnuaireDeployment(java.lang.String n)
Method Detail |
public static void main(java.lang.String[] args)
public static junit.framework.Test suite()
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
public void testAnnuaireDeploymentDesc() throws java.lang.Exception
public void testAnnuaireJormSchema() throws java.lang.Exception
public void testAnnuaireQueryFindAll() throws java.lang.Exception
FindAll
methodpublic void testAnnuaireQueryFindByNom() throws java.lang.Exception
FindByNom
methodpublic void testAnnuaireQueryFindByNumero() throws java.lang.Exception
FindByNumero
method
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |