From seam-commits at lists.jboss.org Wed Jun 5 07:34:39 2013 Content-Type: multipart/mixed; boundary="===============4212131949982158044==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r15551 - branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jboss/seam/test/integration/faces. Date: Wed, 05 Jun 2013 07:34:38 -0400 Message-ID: <201306051134.r55BYcFp002837@svn01.web.mwc.hst.phx2.redhat.com> --===============4212131949982158044== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: maschmid Date: 2013-06-05 07:34:38 -0400 (Wed, 05 Jun 2013) New Revision: 15551 Modified: branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jbo= ss/seam/test/integration/faces/ExceptionRedirectTest.java Log: fix ExceptionRedirectTest Modified: branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/= org/jboss/seam/test/integration/faces/ExceptionRedirectTest.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jb= oss/seam/test/integration/faces/ExceptionRedirectTest.java 2013-06-05 11:27= :19 UTC (rev 15550) +++ branches/enterprise/WFK-2_1/seam-integration-tests/src/test/java/org/jb= oss/seam/test/integration/faces/ExceptionRedirectTest.java 2013-06-05 11:34= :38 UTC (rev 15551) @@ -18,6 +18,7 @@ import org.jboss.seam.annotations.Scope; import org.jboss.seam.test.integration.Deployments; import org.jboss.shrinkwrap.api.Archive; +import org.jboss.shrinkwrap.api.spec.WebArchive; import org.jboss.shrinkwrap.api.asset.StringAsset; import org.junit.Test; import org.junit.runner.RunWith; @@ -46,8 +47,9 @@ public static Archive createDeployment() { // This is a client test, use a real (non-mocked) Seam deployment - return Deployments.realSeamDeployment() - .addClasses(TestComponent.class, PageScopedComponent.class) + WebArchive war=3D Deployments.realSeamDeployment(); + war.delete("WEB-INF/pages.xml"); + war.addClasses(TestComponent.class, PageScopedComponent.class) .addAsWebResource(new StringAsset( "\n" + - "" + = + "" + = ""+ ""+ ""), "pages.xml"); + + return war; } = public static class TestException extends Exception --===============4212131949982158044==--