[
https://jira.jboss.org/jira/browse/JBSEAM-4402?page=com.atlassian.jira.pl...
]
Christian Bauer closed JBSEAM-4402.
-----------------------------------
Fix Version/s: 2.2.1.CR1
Resolution: Done
Backwards compatible solution was to move the preparation of the datasets into the
@BeforeMethod call (with a have-we-prepared-for-this-class-already check) so that all
@BeforeClass execute before.
DBUnitSeamTest assumes @BeforeClass methods run in certain order
----------------------------------------------------------------
Key: JBSEAM-4402
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4402
Project: Seam
Issue Type: Bug
Components: Test Harness
Reporter: Christian Bauer
Assignee: Christian Bauer
Priority: Minor
Fix For: 2.2.1.CR1
The @BeforeClass methods such as setDatabase() and setDatasourceJndiName() have to be
called before the @BeforeClass method setupClass() which needs the configuration settings
to prepare the datasets. This is not guaranteed by TestNG and we don't want to
introduce dependsOnMethod which would complicate subclassing and extension of the
configuraiton options.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira