[seam-commits] Seam SVN: r14403 - in branches/community/Seam_2_3/examples-ee6: dvdstore/dvdstore-tests and 3 other directories.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Mar 14 13:51:01 EDT 2012
Author: manaRH
Date: 2012-03-14 13:51:00 -0400 (Wed, 14 Mar 2012)
New Revision: 14403
Added:
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/arquillian.xml
Removed:
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/testng.xml
Modified:
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/pom.xml
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/BestSellersTest.java
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/OrderTest.java
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/ProductUnitTest.java
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/SearchTest.java
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/StoreManagerTest.java
branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources/WEB-INF/components.xml
branches/community/Seam_2_3/examples-ee6/pom.xml
Log:
JBSEAM-4900 migrated dvdstore tests to Junit
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/pom.xml 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/pom.xml 2012-03-14 17:51:00 UTC (rev 14403)
@@ -53,40 +53,40 @@
<artifactId>persistence-api</artifactId>
<scope>provided</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.jboss.arquillian.junit</groupId>
+ <artifactId>arquillian-junit-container</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.arquillian.protocol</groupId>
+ <artifactId>arquillian-protocol-servlet</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.shrinkwrap.resolver</groupId>
+ <artifactId>shrinkwrap-resolver-api-maven</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.shrinkwrap.resolver</groupId>
+ <artifactId>shrinkwrap-resolver-impl-maven</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>true</filtering>
- </testResource>
- <testResource>
- <directory>src/test/bootstrap</directory>
- <filtering>false</filtering>
- </testResource>
- <testResource> <!-- this takes datasource dvdstore-ds.xml -->
- <directory>${basedir}/../dvdstore-ear/src/main/resources</directory>
- <filtering>true</filtering>
- </testResource>
- <testResource> <!-- this takes treecache.xml -->
- <directory>${basedir}/../dvdstore-ear/src/main/application</directory>
- <filtering>true</filtering>
- </testResource>
- <testResource> <!-- this takes themes aka *.properties -->
- <directory>${basedir}/../dvdstore-web/src/main/resources</directory>
- <filtering>true</filtering>
- </testResource>
- </testResources>
- <plugins>
+ <plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
@@ -143,21 +143,9 @@
<example.context.path>seam-dvdstore</example.context.path>
</properties>
<build>
- <plugins>
+ <plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
- <artifactId>jboss-maven-plugin</artifactId>
- <configuration>
- <jbossHome>${jboss.home}</jbossHome>
- <serverName>${jboss.domain}</serverName>
- <fileNames>
- <param>${basedir}/../dvdstore-ear/src/main/resources/jboss-seam-dvdstore-ds.xml</param>
- <param>${basedir}/../dvdstore-ear/target/seam-dvdstore.ear</param>
- </fileNames>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
</plugin>
<plugin>
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/BestSellersTest.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/BestSellersTest.java 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/BestSellersTest.java 2012-03-14 17:51:00 UTC (rev 14403)
@@ -1,20 +1,41 @@
package com.jboss.dvd.seam.test;
-import static org.testng.AssertJUnit.assertEquals;
-import static org.testng.AssertJUnit.assertNotNull;
-import static org.testng.AssertJUnit.assertTrue;
-
+import java.io.File;
import java.math.BigDecimal;
import java.util.List;
-import org.jboss.seam.mock.SeamTest;
-import org.testng.annotations.Test;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.OverProtocol;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.seam.mock.JUnitSeamTest;
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.importer.ZipImporter;
+import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
import com.jboss.dvd.seam.Product;
+ at RunWith(Arquillian.class)
public class BestSellersTest
- extends SeamTest
+ extends JUnitSeamTest
{
+
+ @Deployment(name = "BestSellersTest")
+ @OverProtocol("Servlet 3.0")
+ public static Archive<?> createDeployment()
+ {
+ EnterpriseArchive er = ShrinkWrap.create(ZipImporter.class, "seam-dvdstore.ear").importFrom(new File("../dvdstore-ear/target/seam-dvdstore.ear")).as(EnterpriseArchive.class);
+ WebArchive web = er.getAsType(WebArchive.class, "dvdstore-web.war");
+ web.addClasses(BestSellersTest.class);
+
+ return er;
+ }
+
+
@Test
public void testTopProducts()
throws Exception
@@ -26,24 +47,22 @@
{
List<Product> products = (List<Product>) getValue("#{topProducts}");
- assertNotNull("topProducts", products);
- assertEquals("topProducts size", 8, products.size());
+ Assert.assertNotNull("topProducts", products);
+ Assert.assertEquals("topProducts size", 8, products.size());
Product prev = null;
for (Product p: products) {
if (prev != null) {
- assertTrue("descending order",
+ Assert.assertTrue("descending order",
p.getInventory().getSales() <= prev.getInventory().getSales());
}
prev = p;
}
- // 14.98/29.99/39.95
-
- assertEquals("price 1", new BigDecimal("14.98"), products.get(0).getPrice());
- assertEquals("price 2", new BigDecimal("29.99"), products.get(1).getPrice());
- assertEquals("price 3", new BigDecimal("39.95"), products.get(2).getPrice());
+ Assert.assertEquals("price 1", new BigDecimal("14.98"), products.get(0).getPrice());
+ Assert.assertEquals("price 2", new BigDecimal("29.99"), products.get(1).getPrice());
+ Assert.assertEquals("price 3", new BigDecimal("39.95"), products.get(2).getPrice());
}
}.run();
}
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/OrderTest.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/OrderTest.java 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/OrderTest.java 2012-03-14 17:51:00 UTC (rev 14403)
@@ -1,27 +1,49 @@
package com.jboss.dvd.seam.test;
+import java.io.File;
import java.util.ArrayList;
import java.util.List;
import javax.el.ELException;
import javax.faces.model.DataModel;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.OverProtocol;
+import org.jboss.arquillian.junit.Arquillian;
import org.jboss.seam.core.Conversation;
-import org.jboss.seam.mock.SeamTest;
+import org.jboss.seam.mock.JUnitSeamTest;
import org.jboss.seam.security.NotLoggedInException;
-import org.testng.annotations.Test;
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.importer.ZipImporter;
+import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Test;
+import org.junit.runner.RunWith;
import com.jboss.dvd.seam.Order;
+import com.jboss.dvd.seam.Order.Status;
import com.jboss.dvd.seam.Product;
import com.jboss.dvd.seam.ShoppingCart;
import com.jboss.dvd.seam.User;
-import com.jboss.dvd.seam.Order.Status;
+ at RunWith(Arquillian.class)
public class OrderTest
- extends SeamTest
+ extends JUnitSeamTest
{
+
+ @Deployment(name = "OrderTest")
+ @OverProtocol("Servlet 3.0")
+ public static Archive<?> createDeployment()
+ {
+ EnterpriseArchive er = ShrinkWrap.create(ZipImporter.class, "seam-dvdstore.ear").importFrom(new File("../dvdstore-ear/target/seam-dvdstore.ear")).as(EnterpriseArchive.class);
+ WebArchive web = er.getAsType(WebArchive.class, "dvdstore-web.war");
+ web.addClasses(OrderTest.class);
+
+ return er;
+ }
- @Test
+ @Test
public void selectDvd()
throws Exception
{
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/ProductUnitTest.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/ProductUnitTest.java 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/ProductUnitTest.java 2012-03-14 17:51:00 UTC (rev 14403)
@@ -1,24 +1,41 @@
package com.jboss.dvd.seam.test;
-import static org.testng.AssertJUnit.assertEquals;
-import static org.testng.AssertJUnit.assertNotNull;
-import static org.testng.AssertJUnit.assertNull;
-import static org.testng.AssertJUnit.assertTrue;
-import static org.testng.AssertJUnit.fail;
+import java.io.File;
import javax.persistence.EntityManager;
-import javax.persistence.EntityManagerFactory;
-import javax.persistence.Persistence;
import javax.persistence.PersistenceException;
-import org.jboss.seam.mock.SeamTest;
-import org.testng.annotations.Test;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.OverProtocol;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.seam.mock.JUnitSeamTest;
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.importer.ZipImporter;
+import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
import com.jboss.dvd.seam.Product;
+ at RunWith(Arquillian.class)
public class ProductUnitTest
- extends SeamTest
+ extends JUnitSeamTest
{
+
+ @Deployment(name = "ProductUnitTest")
+ @OverProtocol("Servlet 3.0")
+ public static Archive<?> createDeployment()
+ {
+ EnterpriseArchive er = ShrinkWrap.create(ZipImporter.class, "seam-dvdstore.ear").importFrom(new File("../dvdstore-ear/target/seam-dvdstore.ear")).as(EnterpriseArchive.class);
+ WebArchive web = er.getAsType(WebArchive.class, "dvdstore-web.war");
+ web.addClasses(ProductUnitTest.class);
+
+ return er;
+ }
+
@Test
public void testRequiredAttributes()
throws Exception
@@ -34,7 +51,7 @@
EntityManager em = (EntityManager) getValue("#{entityManager}");
try {
em.persist(p);
- fail("empty product persisted");
+ Assert.fail("empty product persisted");
} catch (PersistenceException e) {
// good
}
@@ -64,9 +81,9 @@
{
EntityManager em = (EntityManager) getValue("#{entityManager}");
Product found = em.find(Product.class ,p.getProductId());
- assertNotNull("find by id", found);
- assertEquals("id", p.getProductId(), found.getProductId());
- assertEquals("title", "test", found.getTitle());
+ Assert.assertNotNull("find by id", found);
+ Assert.assertEquals("id", p.getProductId(), found.getProductId());
+ Assert.assertEquals("title", "test", found.getTitle());
em.remove(found);
}
@@ -78,7 +95,7 @@
EntityManager em = (EntityManager) getValue("#{entityManager}");
Product found = em.find(Product.class ,p.getProductId());
- assertNull("deleted product", found);
+ Assert.assertEquals("deleted product", found);
}
}.run();
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/SearchTest.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/SearchTest.java 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/SearchTest.java 2012-03-14 17:51:00 UTC (rev 14403)
@@ -1,19 +1,41 @@
package com.jboss.dvd.seam.test;
-import static org.testng.AssertJUnit.assertEquals;
-import static org.testng.AssertJUnit.assertTrue;
+import java.io.File;
+
import javax.faces.model.ListDataModel;
-import org.jboss.seam.mock.SeamTest;
-import org.testng.annotations.Test;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.OverProtocol;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.seam.mock.JUnitSeamTest;
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.importer.ZipImporter;
+import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
import com.jboss.dvd.seam.FullTextSearch;
import com.jboss.dvd.seam.Product;
+ at RunWith(Arquillian.class)
public class SearchTest
- extends SeamTest
+ extends JUnitSeamTest
{
+ @Deployment(name = "SearchTest")
+ @OverProtocol("Servlet 3.0")
+ public static Archive<?> createDeployment()
+ {
+ EnterpriseArchive er = ShrinkWrap.create(ZipImporter.class, "seam-dvdstore.ear").importFrom(new File("../dvdstore-ear/target/seam-dvdstore.ear")).as(EnterpriseArchive.class);
+ WebArchive web = er.getAsType(WebArchive.class, "dvdstore-web.war");
+ web.addClasses(SearchTest.class);
+
+ return er;
+ }
+
@Test
public void testNoParamSearch()
throws Exception
@@ -31,7 +53,7 @@
protected void invokeApplication()
{
String outcome = search.doSearch();
- assertEquals("search outcome", "browse", outcome);
+ Assert.assertEquals("search outcome", "browse", outcome);
}
@Override
protected void renderResponse()
@@ -39,11 +61,11 @@
ListDataModel model = (ListDataModel) lookup("searchResults");
//exact number of matches depends on search algorithm,
//so we only check that at least something was found:
- assertTrue("should have found something",model.isRowAvailable());
+ Assert.assertEquals("should have found something",model.isRowAvailable());
Product firstMatch = (Product) model.getRowData();
- assertTrue("at least top match should have keyword in title",
+ Assert.assertEquals("at least top match should have keyword in title",
firstMatch.getTitle().toLowerCase().contains("king"));
- assertTrue("in conversation", isLongRunningConversation());
+ Assert.assertEquals("in conversation", isLongRunningConversation());
}
}.run();
}
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/StoreManagerTest.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/StoreManagerTest.java 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/java/com/jboss/dvd/seam/test/StoreManagerTest.java 2012-03-14 17:51:00 UTC (rev 14403)
@@ -1,17 +1,39 @@
package com.jboss.dvd.seam.test;
-import static org.testng.AssertJUnit.assertEquals;
-
+import java.io.File;
import java.math.BigDecimal;
-import org.jboss.seam.mock.SeamTest;
-import org.testng.annotations.Test;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.container.test.api.OverProtocol;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.seam.mock.JUnitSeamTest;
+import org.jboss.shrinkwrap.api.Archive;
+import org.jboss.shrinkwrap.api.ShrinkWrap;
+import org.jboss.shrinkwrap.api.importer.ZipImporter;
+import org.jboss.shrinkwrap.api.spec.EnterpriseArchive;
+import org.jboss.shrinkwrap.api.spec.WebArchive;
+import org.junit.Assert;
+import org.junit.Test;
+import org.junit.runner.RunWith;
import com.jboss.dvd.seam.StoreManager;
+ at RunWith(Arquillian.class)
public class StoreManagerTest
- extends SeamTest
+ extends JUnitSeamTest
{
+
+ @Deployment(name = "StoreManagerTest")
+ @OverProtocol("Servlet 3.0")
+ public static Archive<?> createDeployment()
+ {
+ EnterpriseArchive er = ShrinkWrap.create(ZipImporter.class, "seam-dvdstore.ear").importFrom(new File("../dvdstore-ear/target/seam-dvdstore.ear")).as(EnterpriseArchive.class);
+ WebArchive web = er.getAsType(WebArchive.class, "dvdstore-web.war");
+ web.addClasses(StoreManagerTest.class);
+
+ return er;
+ }
+
@Test
public void testTopProducts()
throws Exception
@@ -28,12 +50,12 @@
protected void renderResponse()
{
// these are from order instances -
- assertEquals("number orders", 0L, manager.getNumberOrders());
- assertEquals("total sales", BigDecimal.ZERO, manager.getTotalSales());
+ Assert.assertEquals("number orders", 0L, manager.getNumberOrders());
+ Assert.assertEquals("total sales", BigDecimal.ZERO, manager.getTotalSales());
// these are from inventory
- assertEquals("units sold", 5734, manager.getUnitsSold());
- assertEquals("total inventory", 23432, manager.getTotalInventory());
+ Assert.assertEquals("units sold", 5734, manager.getUnitsSold());
+ Assert.assertEquals("total inventory", 23432, manager.getTotalInventory());
}
}.run();
}
Modified: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources/WEB-INF/components.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources/WEB-INF/components.xml 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources/WEB-INF/components.xml 2012-03-14 17:51:00 UTC (rev 14403)
@@ -14,7 +14,7 @@
http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-2.3.xsd
http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.3.xsd">
- <core:init debug="true" jndi-pattern="#{ejbName}/local"/>
+ <core:init debug="true" jndi-pattern="java:app/dvdstore-ejb/#{ejbName}"/>
<!-- 120 second conversation timeout -->
<core:manager conversation-timeout="120000"/>
Added: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/arquillian.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/arquillian.xml (rev 0)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/arquillian.xml 2012-03-14 17:51:00 UTC (rev 14403)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://jboss.org/schema/arquillian"
+ xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
+
+ <engine>
+ <property name="deploymentExportPath">target/</property>
+ </engine>
+
+ <container qualifier="jboss" default="true">
+ <configuration>
+ <property name="javaVmArguments">-Xmx1024m -XX:MaxPermSize=512m</property>
+ <property name="jbossHome">target/jboss-as-${version.jbossas7}</property>
+ </configuration>
+ </container>
+
+</arquillian>
Deleted: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/testng.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/testng.xml 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-tests/src/test/resources-integration/testng.xml 2012-03-14 17:51:00 UTC (rev 14403)
@@ -1,27 +0,0 @@
-<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
-<suite name="DVD Store" verbose="2" parallel="false">
- <test name="DVD Store Model Unit Tests">
- <classes>
- <class name="com.jboss.dvd.seam.test.ProductUnitTest" />
- </classes>
- </test>
-
- <test name="DVD Store Store Beans">
- <classes>
- <class name="com.jboss.dvd.seam.test.SearchTest"/>
- <class name="com.jboss.dvd.seam.test.BestSellersTest"/>
- </classes>
- </test>
-
- <test name="DVD Store Admin Beans">
- <classes>
- <class name="com.jboss.dvd.seam.test.StoreManagerTest"/>
- </classes>
- </test>
-
- <test name="DVD Store Order">
- <classes>
- <class name="com.jboss.dvd.seam.test.OrderTest" />
- </classes>
- </test>
-</suite>
Modified: branches/community/Seam_2_3/examples-ee6/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/pom.xml 2012-03-14 17:50:07 UTC (rev 14402)
+++ branches/community/Seam_2_3/examples-ee6/pom.xml 2012-03-14 17:51:00 UTC (rev 14403)
@@ -16,6 +16,7 @@
<modules>
<module>booking</module>
+ <module>dvdstore</module>
<module>mail</module>
<module>messages</module>
<module>todo</module>
More information about the seam-commits
mailing list