[seam-commits] Seam SVN: r14418 - in branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test: resources-integration and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Mar 16 04:42:34 EDT 2012
Author: maschmid
Date: 2012-03-16 04:42:32 -0400 (Fri, 16 Mar 2012)
New Revision: 14418
Removed:
branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/resources-integration/test-ds.xml
Modified:
branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/java/org/jboss/seam/example/booking/test/Deployments.java
Log:
remove the redundant test-ds from the booking example.
Modified: branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/java/org/jboss/seam/example/booking/test/Deployments.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/java/org/jboss/seam/example/booking/test/Deployments.java 2012-03-16 08:08:21 UTC (rev 14417)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/java/org/jboss/seam/example/booking/test/Deployments.java 2012-03-16 08:42:32 UTC (rev 14418)
@@ -16,9 +16,7 @@
public class Deployments {
public static EnterpriseArchive bookingDeployment() {
-
return ShrinkWrap.create(ZipImporter.class, "seam-booking.ear").importFrom(new File("../booking-ear/target/seam-booking.ear"))
- .as(EnterpriseArchive.class)
- .addAsResource("test-ds.xml", "test-ds.xml");
+ .as(EnterpriseArchive.class);
}
}
Deleted: branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/resources-integration/test-ds.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/resources-integration/test-ds.xml 2012-03-16 08:08:21 UTC (rev 14417)
+++ branches/community/Seam_2_3/examples-ee6/booking/booking-tests/src/test/resources-integration/test-ds.xml 2012-03-16 08:42:32 UTC (rev 14418)
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<datasources>
- <datasource jndi-name="java:/bookingDatasource" enabled="true" use-java-context="true"
- pool-name="BookingDS_pool">
- <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>
- <driver>h2</driver>
- <security>
- <user-name>sa</user-name>
- <password>sa</password>
- </security>
- </datasource>
-</datasources>
More information about the seam-commits
mailing list