|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.mule.tck.AbstractMuleTestCase
org.mule.tck.FunctionalTestCase
org.mule.transport.vm.functional.transactions.AbstractExternalTransactionTestCase
org.mule.transport.vm.functional.transactions.NoExternalTransactionTestCase
public class NoExternalTransactionTestCase
Test transaction behavior when "joinExternal" is set to disallow joining external transactions There is one test per legal transactional behavior (e.g. ALWAYS_BEGIN).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.mule.transport.vm.functional.transactions.AbstractExternalTransactionTestCase |
---|
AbstractExternalTransactionTestCase.TestResource |
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase |
---|
AbstractMuleTestCase.TestInfo |
Field Summary | |
---|---|
protected static Log |
logger
|
static long |
WAIT
|
Fields inherited from class org.mule.transport.vm.functional.transactions.AbstractExternalTransactionTestCase |
---|
context, tm |
Fields inherited from class org.mule.tck.AbstractMuleTestCase |
---|
callbackCalled, CLASSNAME_ANNOTATIONS_CONFIG_BUILDER, DEFAULT_MULE_TEST_TIMEOUT_SECS, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, muleContext, numPorts, ports, PROPERTY_MULE_TEST_TIMEOUT, RECEIVE_TIMEOUT, TEST_MESSAGE, testTimeoutSecs |
Constructor Summary | |
---|---|
NoExternalTransactionTestCase()
|
Method Summary | |
---|---|
protected java.lang.String |
getConfigResources()
|
void |
testAlwaysJoinTransaction()
|
void |
testBeginOrJoinTransaction()
|
void |
testBeginTransaction()
|
void |
testConfiguration()
Check that the configuration specifies considers external transactions |
void |
testJoinTransactionIfPossible()
|
void |
testNoTransactionAllowed()
|
void |
testNoTransactionProcessing()
|
Methods inherited from class org.mule.transport.vm.functional.transactions.AbstractExternalTransactionTestCase |
---|
createTransactionTemplate, doSetUp, doTearDown, init |
Methods inherited from class org.mule.tck.FunctionalTestCase |
---|
getBuilder, getComponent, getComponent, getFunctionalTestComponent, loadResource, loadResourceAsString |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final long WAIT
protected static final Log logger
Constructor Detail |
---|
public NoExternalTransactionTestCase()
Method Detail |
---|
protected java.lang.String getConfigResources()
getConfigResources
in class FunctionalTestCase
public void testBeginOrJoinTransaction() throws java.lang.Exception
java.lang.Exception
public void testBeginTransaction() throws java.lang.Exception
java.lang.Exception
public void testNoTransactionProcessing() throws java.lang.Exception
java.lang.Exception
public void testAlwaysJoinTransaction() throws java.lang.Exception
java.lang.Exception
public void testJoinTransactionIfPossible() throws java.lang.Exception
java.lang.Exception
public void testNoTransactionAllowed() throws java.lang.Exception
java.lang.Exception
public void testConfiguration() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |