JBoss Community

TestSuite - mapping test cases for AS6 and IronJacamar

modified by Stefano Maestri in IronJacamar Development - View the full document
Stressed condition

AS6 Implementation

(ClassName.methodName)

package is always

org.jboss.test.jca.test

IronJacamar Implementation

(packaheName.ClassName.methodName)


verify AdminObject deployment, obj types and propertiesAdminObjectUnitTestCase.testAdminObject()

TODO. We only verify atm that annotated AdminObject class is correctly processed from an annotation point of view in org.jboss.jca.deployers.annotations.AnnotationsTestCase.

testProcessAdministeredObject.

Test for connection background validationBackgroundValidationUnitTestCase.*

To be evaluated: we are testing our Validation mechanism directly, but this test should be ported to stress Validation framework indirectly at deploy time. IOW we can verify with this test if and when validation should stop the deployment.

stress various condition on CM (changing config and/or using it to get connection and so on)BaseConnectionManagerUnitTestCase.*TODO
CachedConnectionErrorUnitTestCaseTo be analysed. Maybe it don't make sense as is for ironjacamar
CachedConnectionSessionUnitTestCaseTo be analysed. Maybe it don't make sense as is for ironjacamar
verify cf (datasource) correct serialization/deserializationConnectionFactorySerializationUnitTestCaseTODO
verify dependency define in jboss-ra.xmlDependsRARUnitTestCaseDoes not make sense for ironjacamar
Check deployment of a -dsDeploymentUnitTestCase

/ironjacamar-adapters/src/test/java/org/jboss/jca/adapters/jdbc/unit/H2TestCase

/ironjacamar-adapters/src/test/java/org/jboss/jca/adapters/jdbc/unit/H2XATestCase

 

NOTE: here we are just testing that deployment is working, while in old test suite also some properties setting are verified

Test HA connection both Local and XAHAConnectionFactoryUnitTestCaseDoes not make sense since we are not supporting HA connection right now.
test in flow RA using a Message Driven BeanInflowUnitTestCaseTODO. We need to set up a messaging system in our test suite to do that
test correct behavior of ConnectionPoolInternalManagedConnectionPoolStatUnitTestCaseTODO: we have 2 classes that should do that in package org.jboss.jca.core.connectionmanager.unit.pool named PoolingTestCase and PreFillPoolingTestCase but all test methods are empty

Comment by going to Community

Create a new document in IronJacamar Development at Community