[
http://jira.jboss.com/jira/browse/JBSEAM-2119?page=all ]
Pete Muir closed JBSEAM-2119.
-----------------------------
Resolution: Rejected
Assignee: Pete Muir
java:/DefaultDS is used for integration testing, which is provided by the container. Unit
testing doesn't require a datasource.
seam-gen should produce a datasource for testing
------------------------------------------------
Key: JBSEAM-2119
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2119
Project: JBoss Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 2.0.0.CR2
Reporter: Joshua Partogi
Assigned To: Pete Muir
Fix For: 2.0.0.GA
seam-gen should also produce a datasource to be used for unit testing otherwise when
running unit testing, datasource not bound exception will be thrown.
This datasource should be placed under the bootstrap/ directory. Currently there's
already a DefaultDS under the bootstrap/ directory, but that datasource is used internally
for embeddable jboss. There should be one to be used for the apps unit testing.
--
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