|
||||||||||
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.DistributedTestCase
A test case of the jonas transaction manager in a distributed configuration: The transaction factory is local but calls are made from both the JVM and a remote VM client (that simulates another server for example). Created on Oct 15, 2001
Field Summary | |
static TransactionManager |
tm
|
Constructor Summary | |
DistributedTestCase(String s)
|
Method Summary | |
static void |
main(String[] args)
easy test runner bootstrap |
static junit.framework.Test |
suite()
run the test suite with a remote transaction factory |
void |
test1PCCommit()
sucessful one phase commit on a remote resource |
void |
test1PCCommitFailure()
unsucessful one phase commit on a remote resource |
void |
test1PCCommitTimeout()
one phase commit on a remote resource with transaction timeout |
void |
test1PCCommitTimeoutFailure()
one phase commit on a remote resource with transaction timeout |
void |
test1PCRollback()
|
void |
test1PCSuspendResume()
testing sucessful one phase suspend resume |
void |
test2PCCommit()
|
void |
test2PCCommitFailure()
|
void |
test2PCCommitTimeout()
|
void |
test2PCCommitTimeoutFailure()
|
void |
test2PCRollback()
|
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 DistributedTestCase(String s)
Method Detail |
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 test2PCCommitFailure() throws Exception
Exception
public void test2PCCommitTimeout() throws Exception
Exception
public void test2PCCommitTimeoutFailure() 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 |