Author: manaRH
Date: 2012-09-13 11:09:34 -0400 (Thu, 13 Sep 2012)
New Revision: 15136
Modified:
branches/community/Seam_2_3/jboss-seam-gen/dist/README
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
branches/community/Seam_2_3/jboss-seam-gen/dist/test/ActionTest.java
branches/community/Seam_2_3/jboss-seam-gen/dist/test/FormTest.java
Log:
JBSEAM-5034 disabling for now ant test
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/README
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/README 2012-09-13 14:40:34 UTC (rev
15135)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/README 2012-09-13 15:09:34 UTC (rev
15136)
@@ -94,7 +94,7 @@
new-form
Create a new Java interface and SFSB with key Seam/EJB3
annotations, and associated xhtml view. Also, create a new
- TestNG test case that can be used to simulate a JSF
+ JUnit ARQ test case that can be used to simulate a JSF
request/response and standard JUnit type tests.
Example: seam new-form
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-13
14:40:34 UTC (rev 15135)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build-war.xml 2012-09-13
15:09:34 UTC (rev 15136)
@@ -424,7 +424,8 @@
-->
</target>
- <target name="test" depends="buildtest" description="Run
the tests">
+ <target name="test" depends="buildtest" description="Run
the tests">
+ <fail message="Test target is currently not supported"/>
<fail message="Cannot run tests because path to project contains
spaces.">
<condition>
<contains string="${basedir}" substring=" "/>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-09-13
14:40:34 UTC (rev 15135)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/build-scripts/build.xml 2012-09-13
15:09:34 UTC (rev 15136)
@@ -446,6 +446,7 @@
</target>
<target name="test" depends="buildtest" description="Run the
tests">
+ <fail message="Test target is currently not supported"/>
<fail message="Cannot run tests because path to project contains
spaces.">
<condition>
<contains string="${basedir}" substring=" "/>
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/test/ActionTest.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/test/ActionTest.java 2012-09-13
14:40:34 UTC (rev 15135)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/test/ActionTest.java 2012-09-13
15:09:34 UTC (rev 15136)
@@ -7,7 +7,7 @@
import org.jboss.seam.mock.JUnitSeamTest;
import @testPackage@.Deployments;
import @actionPackage@.@interfaceName@;
-import @actionPackage@.@beanName@;
+//import @actionPackage@.@beanName@;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.runner.RunWith;
@@ -18,9 +18,9 @@
@OverProtocol("Servlet 3.0")
public static WebArchive createDeployment()
{
- return Deployments.defaultDeployment()
- .addClasses(@interfaceName@.class, @beanName@.class)
- .addAsResource("seam.properties");
+// return Deployments.defaultDeployment()
+// .addClasses(@interfaceName@.class, @beanName@.class)
+// .addAsResource("seam.properties");
}
Modified: branches/community/Seam_2_3/jboss-seam-gen/dist/test/FormTest.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-gen/dist/test/FormTest.java 2012-09-13 14:40:34
UTC (rev 15135)
+++ branches/community/Seam_2_3/jboss-seam-gen/dist/test/FormTest.java 2012-09-13 15:09:34
UTC (rev 15136)
@@ -10,7 +10,7 @@
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.junit.runner.RunWith;
import @actionPackage@.@interfaceName@;
-import @actionPackage@.@beanName@;
+//import @actionPackage@.@beanName@;
@RunWith(Arquillian.class)
public class @interfaceName@Test extends JUnitSeamTest {
@@ -19,9 +19,9 @@
@OverProtocol("Servlet 3.0")
public static WebArchive createDeployment()
{
- return Deployments.defaultDeployment()
- .addClasses(@interfaceName@.class, @beanName@.class)
- .addAsResource("seam.properties");
+// return Deployments.defaultDeployment()
+// .addClasses(@interfaceName@.class, @beanName@.class)
+// .addAsResource("seam.properties");
}
@Test
Show replies by date