Class SingletonContainerTxTests
java.lang.Object
org.junit.Assert
org.apache.openejb.test.NumberedTestCase
org.apache.openejb.test.NamedTestCase
org.apache.openejb.test.singleton.SingletonContainerTxTests
- All Implemented Interfaces:
junit.framework.Test
[1] Should be run as the first test suite of the SingletonTestClients
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.openejb.test.NumberedTestCase
NumberedTestCase.NamedTest, NumberedTestCase.TestSetup, NumberedTestCase.TestTearDown -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.ejb.Handleprotected ContainerTxSingletonHomeprotected javax.ejb.HomeHandleprotected javax.ejb.EJBMetaDataprotected ContainerTxSingletonObjectprotected Integerprotected InitialContextstatic final StringFields inherited from class org.apache.openejb.test.NamedTestCase
testNameFields inherited from class org.apache.openejb.test.NumberedTestCase
standardPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetUp()Sets up the fixture, for example, open a network connection.protected voidtearDown()Tears down the fixture, for example, close a network connection.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.openejb.test.NamedTestCase
nameMethods inherited from class org.apache.openejb.test.NumberedTestCase
countTestCases, createTest, createTestName, removePrefix, removePrefix, run, run, runTestMethod, toStringMethods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertThrows, assertThrows, assertTrue, assertTrue, fail, fail
-
Field Details
-
jndiEJBHomeEntry
- See Also:
-
ejbHome
-
ejbObject
-
ejbMetaData
protected javax.ejb.EJBMetaData ejbMetaData -
ejbHomeHandle
protected javax.ejb.HomeHandle ejbHomeHandle -
ejbHandle
protected javax.ejb.Handle ejbHandle -
ejbPrimaryKey
-
initialContext
-
-
Constructor Details
-
SingletonContainerTxTests
public SingletonContainerTxTests()
-
-
Method Details
-
setUp
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.- Overrides:
setUpin classNumberedTestCase- Throws:
Exception
-
tearDown
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.- Overrides:
tearDownin classNumberedTestCase- Throws:
Exception
-
test01_txMandatory_withoutTx
public void test01_txMandatory_withoutTx() -
test02_txNever_withoutTx
public void test02_txNever_withoutTx() -
test03_txNotSupported_withoutTx
public void test03_txNotSupported_withoutTx() -
test04_txRequired_withoutTx
public void test04_txRequired_withoutTx() -
test05_txRequiresNew_withoutTx
public void test05_txRequiresNew_withoutTx() -
test06_txSupports_withoutTx
public void test06_txSupports_withoutTx() -
test07_txMandatory_withTx
public void test07_txMandatory_withTx() -
test08_txNever_withTx
public void test08_txNever_withTx() -
test09_txNotSupported_withTx
public void test09_txNotSupported_withTx() -
test10_txRequired_withTx
public void test10_txRequired_withTx() -
test11_txRequiresNew_withTx
public void test11_txRequiresNew_withTx() -
test12_txSupports_withTx
public void test12_txSupports_withTx() -
test01_txMandatory_withoutTx_appException
public void test01_txMandatory_withoutTx_appException() -
test02_txNever_withoutTx_appException
public void test02_txNever_withoutTx_appException() -
test03_txNotSupported_withoutTx_appException
public void test03_txNotSupported_withoutTx_appException() -
test04_txRequired_withoutTx_appException
public void test04_txRequired_withoutTx_appException() -
test05_txRequiresNew_withoutTx_appException
public void test05_txRequiresNew_withoutTx_appException() -
test06_txSupports_withoutTx_appException
public void test06_txSupports_withoutTx_appException() -
test07_txMandatory_withTx_appException
public void test07_txMandatory_withTx_appException() -
test08_txNever_withTx_appException
public void test08_txNever_withTx_appException() -
test09_txNotSupported_withTx_appException
public void test09_txNotSupported_withTx_appException() -
test10_txRequired_withTx_appException
public void test10_txRequired_withTx_appException() -
test11_txRequiresNew_withTx_appException
public void test11_txRequiresNew_withTx_appException() -
test12_txSupports_withTx_appException
public void test12_txSupports_withTx_appException() -
test01_txMandatory_withoutTx_sysException
public void test01_txMandatory_withoutTx_sysException() -
test02_txNever_withoutTx_sysException
public void test02_txNever_withoutTx_sysException() -
test03_txNotSupported_withoutTx_sysException
public void test03_txNotSupported_withoutTx_sysException() -
test04_txRequired_withoutTx_sysException
public void test04_txRequired_withoutTx_sysException() -
test05_txRequiresNew_withoutTx_sysException
public void test05_txRequiresNew_withoutTx_sysException() -
test06_txSupports_withoutTx_sysException
public void test06_txSupports_withoutTx_sysException() -
test07_txMandatory_withTx_sysException
public void test07_txMandatory_withTx_sysException() -
test08_txNever_withTx_sysException
public void test08_txNever_withTx_sysException() -
test09_txNotSupported_withTx_sysException
public void test09_txNotSupported_withTx_sysException() -
test10_txRequired_withTx_sysException
public void test10_txRequired_withTx_sysException() -
test11_txRequiresNew_withTx_sysException
public void test11_txRequiresNew_withTx_sysException() -
test12_txSupports_withTx_sysException
public void test12_txSupports_withTx_sysException()
-