|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--org.objectweb.jotm.jtests.conform.LocalTestCase
A test case of the jonas transaction manager in a local configuration: The transaction factory is local and all calls are made from the JVM. Created on Oct 15, 2001
Field Summary | |
static TransactionManager |
tm
|
Constructor Summary | |
LocalTestCase(String s)
|
Method Summary | |
static void |
main(String[] args)
easy test runner bootstrap |
static junit.framework.Test |
suite()
run the test suite within a local environment |
void |
test1PCCommit()
testing sucessful one phase commit |
void |
test1PCCommitFailure()
testing unsucessful one phase commit |
void |
test1PCCommitTimeout()
testing one phase commit timeout |
void |
test1PCCommitTimeoutFailure()
testing one phase commit timeout failure |
void |
test1PCRollback()
testing sucessful one phase rollback |
void |
test1PCSuspendResume()
testing sucessful one phase suspend resume |
void |
test2PCCommit()
testing sucessful two phase commit |
void |
test2PCCommitFailure()
testing unsucessful two phase commit |
void |
test2PCCommitTimeout()
testing two phase commit timeout |
void |
test2PCRollback()
testing sucessful two phase rollback |
void |
test2PCSuspendResume()
testing sucessful two phase suspend resume |
void |
testEmptyCommit()
testing sucessful one phase commit |
void |
testEmptyCommitTimeout()
testing one phase commit timeout |
void |
testEmptyCommitTimeoutFailure()
testing one phase commit timeout failure |
void |
testEmptyRollback()
testing sucessful one phase rollback |
void |
testEmptySuspendResume()
testing sucessful one phase suspend resume |
void |
testTransactionPropagation()
testing sucessful two phase commit with transaction context propagation between 2 threads in the same VM. |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
public static TransactionManager tm
Constructor Detail |
public LocalTestCase(String s)
Method Detail |
public void testEmptyCommit() throws Exception
Exception
public void testEmptyCommitTimeout() throws Exception
Exception
public void testEmptyCommitTimeoutFailure() throws Exception
Exception
public void testEmptyRollback() throws Exception
Exception
public void testEmptySuspendResume() throws Exception
Exception
public void test1PCCommit() throws Exception
Exception
public void test1PCCommitFailure() throws Exception
Exception
public void test1PCCommitTimeout() throws Exception
Exception
public void test1PCCommitTimeoutFailure() throws Exception
Exception
public void test1PCRollback() throws Exception
Exception
public void test1PCSuspendResume() throws Exception
Exception
public void test2PCCommit() throws Exception
Exception
public void test2PCRollback() throws Exception
Exception
public void test2PCSuspendResume() throws Exception
Exception
public void test2PCCommitFailure() throws Exception
Exception
public void test2PCCommitTimeout() throws Exception
Exception
public void testTransactionPropagation() throws Exception
Exception
public static junit.framework.Test suite()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |