You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2010/04/19 15:59:16 UTC

svn commit: r935574 - in /tapestry/tapestry5/trunk/tapestry-core/src/test: app6/ app6/WEB-INF/ conf/ java/org/apache/tapestry5/integration/app6/ java/org/example/pages/ java/org/example/services/

Author: hlship
Date: Mon Apr 19 13:59:15 2010
New Revision: 935574

URL: http://svn.apache.org/viewvc?rev=935574&view=rev
Log:
Remove asset protection tests as asset protection is now implicit (rather than explicit)

Removed:
    tapestry/tapestry5/trunk/tapestry-core/src/test/app6/AssetProtectionDemo.tml
    tapestry/tapestry5/trunk/tapestry-core/src/test/app6/Index.tml
    tapestry/tapestry5/trunk/tapestry-core/src/test/app6/WEB-INF/web.xml
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/example/pages/AssetProtectionDemo.java
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/example/pages/Index.java
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/example/services/AppModule.java
Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/test/conf/testng.xml
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app6/CutomAppPackageIntegrationTests.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/conf/testng.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/conf/testng.xml?rev=935574&r1=935573&r2=935574&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/conf/testng.xml (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/conf/testng.xml Mon Apr 19 13:59:15 2010
@@ -94,17 +94,6 @@
     </classes>
   </test>
 
-  <test name="Custom App Package Tests" enabled="true">
-    <parameter name="tapestry.web-app-folder" value="src/test/app6"/>
-    
-    <packages>
-      <package name="org.apache.tapestry5.integration.app6"/>
-    </packages>
-    <classes>
-      <class name="org.apache.tapestry5.test.SeleniumLauncher"/>
-    </classes>
-  </test>
-
   <test name="Live Reload Tests" enabled="true">
     <packages>
       <package name="org.apache.tapestry5.integration.reload"/>

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app6/CutomAppPackageIntegrationTests.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app6/CutomAppPackageIntegrationTests.java?rev=935574&r1=935573&r2=935574&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app6/CutomAppPackageIntegrationTests.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app6/CutomAppPackageIntegrationTests.java Mon Apr 19 13:59:15 2010
@@ -30,11 +30,7 @@ public class CutomAppPackageIntegrationT
     {
        clickThru("Asset Protection Demo");
        clickAndWait("link=Show CSS");
-       assertTextPresent("//Some CSS");
-       
-       clickThru("Asset Protection Demo");
-       clickAndWait("link=Non accessible");
-       assertTextPresent("HTTP ERROR 404");
+       assertTextPresent("//Some CSS");       
     }
 
 }