continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1367515 - /continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
Date Tue, 31 Jul 2012 12:21:11 GMT
Author: brett
Date: Tue Jul 31 12:21:11 2012
New Revision: 1367515

URL: http://svn.apache.org/viewvc?rev=1367515&view=rev
Log:
fix purge test

Modified:
    continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java

Modified: continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java?rev=1367515&r1=1367514&r2=1367515&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
(original)
+++ continuum/trunk/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/PurgeTest.java
Tue Jul 31 12:21:11 2012
@@ -47,14 +47,6 @@ public class PurgeTest
         assertTextPresent( "Retention Count must be greater than 0." );
     }
 
-    public void testAddRepositoryPurgeWithXSS()
-    {
-        String invalidDescription = "blah blah <script>alert('gotcha')</script>";
-        goToAddRepositoryPurge();
-        addEditRepositoryPurge( "1", "1", invalidDescription, false );
-        assertTextPresent( "Description contains invalid characters." );
-    }
-
     @Test( dependsOnMethods = { "testAddRepositoryPurge" } )
     public void testEditRepositoryPurge()
     {
@@ -94,14 +86,6 @@ public class PurgeTest
         assertTextPresent( "Retention Count must be greater than 0." );
     }
 
-    public void testAddDirectoryPurgeWithXSS()
-    {
-        String invalidDescription = "blah blah <script>alert('gotcha')</script>";
-        goToAddDirectoryPurge();
-        addEditDirectoryPurge( "1", "1", invalidDescription, false );
-        assertTextPresent( "Description contains invalid characters." );
-    }
-
     @Test( dependsOnMethods = { "testAddDirectoryPurge" } )
     public void testEditDirectoryPurge()
     {



Mime
View raw message