|
|||||||||
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.jtests.util.JTestCase | +--org.objectweb.jonas.jtests.clients.jms.F_BasicMDB
Field Summary | |
protected static SenderHome |
home
|
Fields inherited from class org.objectweb.jonas.jtests.util.JTestCase |
ictx, isInit, jonasName, msgerror, testtorun, utx |
Constructor Summary | |
F_BasicMDB(java.lang.String name)
|
Method Summary | |
SenderHome |
getHome()
|
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
init environment: - load beans - create/init database for entities. |
static junit.framework.Test |
suite()
Run all the tests |
void |
testBasicSendOnQueue1()
Basic test: Send 1 message on a queue No tx, MDB transacted. |
void |
testBasicSendOnQueue1Tx()
Basic test: Send 1 message on a queue tx, MDB transacted. |
void |
testBasicSendOnQueue2()
Basic test: Send 1 message on a queue No tx, MDB not transacted. |
void |
testBasicSendOnQueue2Tx()
Basic test: Send 1 message on a queue tx, MDB not transacted. |
void |
testBasicSendOnTopic1()
Basic test: Send 1 message on a topic 2 MDB are reading the topic. |
void |
testBasicSendOnTopic1Tx()
Basic test: Send 1 message on a topic 2 MDB are reading the topic. tx. |
void |
testBasicSendOnTopic2()
Basic test: Send 1 message on a topic Durable 2 MDB are reading the topic. |
void |
testCommitSendOnQueue1()
Basic test: send a message on a queue in a transaction committed MDB transacted. |
void |
testCommitSendOnQueue2()
Basic test: send a message on a queue in a transaction committed MDB not transacted. |
void |
testCommitSendOnTopic1()
Basic test: send a message on a topic in a transaction committed |
void |
testMultipleSendOnQueue1()
Basic test: Send n messages on a queue No tx, MDB transacted. |
void |
testMultipleSendOnQueue1Tx()
Basic test: Send nb messages on a queue tx, MDB transacted. |
void |
testMultipleSendOnTopic1()
Basic test: Send nb messages on a topic 2 MDB are reading the topic. |
void |
testMutipleSendOnTopic1Tx()
Basic test: Send n messages on a topic 2 MDB are reading the topic. tx. |
void |
testNCommitSendOnTopic1()
Basic test: send n message on a topic in a transaction committed |
void |
testRollbackSendOnQueue2()
Basic test: send a message on a queue in a transaction rolled back MDB not transacted. |
Methods inherited from class org.objectweb.jonas.jtests.util.JTestCase |
debug, getDBEnv, random, sleep, tearDown, testEmpty, unloadBeans, useBeans |
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 |
Field Detail |
protected static SenderHome home
Constructor Detail |
public F_BasicMDB(java.lang.String name)
Method Detail |
public SenderHome getHome()
protected void setUp()
setUp
in class JTestCase
public void testBasicSendOnTopic1() throws java.lang.Exception
public void testBasicSendOnTopic2() throws java.lang.Exception
public void testMultipleSendOnTopic1() throws java.lang.Exception
public void testBasicSendOnTopic1Tx() throws java.lang.Exception
public void testMutipleSendOnTopic1Tx() throws java.lang.Exception
public void testCommitSendOnTopic1() throws java.lang.Exception
public void testNCommitSendOnTopic1() throws java.lang.Exception
public void testBasicSendOnQueue1() throws java.lang.Exception
public void testMultipleSendOnQueue1() throws java.lang.Exception
public void testBasicSendOnQueue1Tx() throws java.lang.Exception
public void testMultipleSendOnQueue1Tx() throws java.lang.Exception
public void testBasicSendOnQueue2() throws java.lang.Exception
public void testBasicSendOnQueue2Tx() throws java.lang.Exception
public void testRollbackSendOnQueue2() throws java.lang.Exception
public void testCommitSendOnQueue1() throws java.lang.Exception
public void testCommitSendOnQueue2() throws java.lang.Exception
public static junit.framework.Test suite()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |