| java.lang.Object org.ow2.easybeans.tests.deploymentdesc.TestCMTDefinition
TestCMTDefinition | public class TestCMTDefinition (Code) | | Verifies if the container can deploy an bean with the transaction attributes
defined in the deployment description. Item 13.3.7.2.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
protected void | deleteTable(String dbName, String tableName) Deletes the table in the database. | public void | setup() Creates the stateful bean used during the tests. | public void | verifyAllDefinition() Verifies if the definition of trasaction attribute for all methods work. | public void | verifyMethodWithParameterDefinition() Verifies if the definition of the transaction for a specific method, as
well as verifies the override of the wildcard. | public void | verifyMethodWithoutParameterDefinition() Verifies if the definition of the transaction for all method with the
same name works, as well as verifies the override of the wildcard. |
DB_NAME | final public static String DB_NAME(Code) | | The database used during the tests.
|
TABLE_NAME | final public static String TABLE_NAME(Code) | | The table name.
|
deleteTable | protected void deleteTable(String dbName, String tableName)(Code) | | Deletes the table in the database.
Parameters: dbName - the database name in the registry. Parameters: tableName - the table name. |
setup | public void setup() throws Exception(Code) | | Creates the stateful bean used during the tests.
throws: Exception - if an error occurs during the lookup. |
verifyAllDefinition | public void verifyAllDefinition() throws Exception(Code) | | Verifies if the definition of trasaction attribute for all methods work.
The deployment descriptor is:
SFSBCMTDeployDescRemote *
Required
throws: Exception - if an error occurs. |
verifyMethodWithParameterDefinition | public void verifyMethodWithParameterDefinition() throws Exception(Code) | | Verifies if the definition of the transaction for a specific method, as
well as verifies the override of the wildcard.
throws: Exception - if an error occurs. |
verifyMethodWithoutParameterDefinition | public void verifyMethodWithoutParameterDefinition()(Code) | | Verifies if the definition of the transaction for all method with the
same name works, as well as verifies the override of the wildcard.
|
|
|