[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3226) Modify DBUnitSeamTest to permit use of DTDs generated by DBUnit

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 7 08:07:50 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed JBSEAM-3226.
-----------------------------

    Resolution: Done
      Assignee: Pete Muir


Thanks John, I applied a variant of your patch

> Modify DBUnitSeamTest to permit use of DTDs generated by DBUnit
> ---------------------------------------------------------------
>
>                 Key: JBSEAM-3226
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3226
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Test Harness
>    Affects Versions: 2.0.3.CR1
>         Environment: Any
>            Reporter: John J. Genoese
>            Assignee: Pete Muir
>            Priority: Minor
>         Attachments: DBUnitSeamTest.java, diff, diff.txt
>
>   Original Estimate: 5 minutes
>          Time Spent: 5 minutes
>  Remaining Estimate: 5 minutes
>
> Given: DBUnit's behavior is such that if the first row to be loaded (via DataSetOperation) into a table doesn't have all columns present, those columns will be dropped in every row loaded thereafter.
> Given: If a DTD is present, DBUnit will honor it, and refrain from the aforementioned behavior. DBUnit has a facility to generate said DTD.
> Given: The current DBUnitSeamTest (for which I am grateful indeed) doesn't permit specification of said DTD's location. Hence, I must manually massage my test data to ensure that the first row loaded into each table has values for all columns, which causes considerable inconvenience in my automated testing flow (which includes data generation).
> Request:  Modify DBUnitSeamTest to permit use of DTDs generated by DBUnit

-- 
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

        



More information about the seam-issues mailing list