[
http://jira.jboss.com/jira/browse/JBSEAM-2602?page=all ]
Shane Bryzak closed JBSEAM-2602.
--------------------------------
Resolution: Done
Assignee: Shane Bryzak
Clarified in documentation that DBUnitSeamTest uses the flat dataset file format:
" You need to provide a dataset for DBUnit. IMPORTANT NOTE: DBUnit
supports two
formats for dataset files, flat and XML. Seam's DBUnitSeamTest assumes
the flat
format is used, so please ensure that your dataset is in this format
also."
Document use of flat dataset file in the Seam reference
-------------------------------------------------------
Key: JBSEAM-2602
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2602
Project: Seam
Issue Type: Task
Components: Test Harness, Documentation Issues
Affects Versions: 2.0.1.GA
Reporter: Siarhei Dudzin
Assigned To: Shane Bryzak
Priority: Minor
Fix For: 2.0.2.CR2, 2.1.0.BETA1
"33.3.2. Integration Testing with Mock Data" specifies usage of dataset
exported with the help of dbunit.
Considering that maven uses xml export format by default and Seam uses FlatXml (just
'flat' in case of maven configuration) format this may cause confusion (DbUnit
just throws NoSuchTableException which is difficult to trace). Either changing
DataSetOperation to use XMLDataSet (so that default format would be used) or explicitly
documenting that flat data format is used for export is necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira