incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1205348 - /sling/trunk/bundles/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/internal/helper/ScriptSelectionTest.java
Date Wed, 23 Nov 2011 09:52:30 GMT
Author: cziegeler
Date: Wed Nov 23 09:52:29 2011
New Revision: 1205348

URL: http://svn.apache.org/viewvc?rev=1205348&view=rev
Log:
SLING-1289 : Additional ScriptSelectionTest case. Applay patch from Julian Sedding

Modified:
    sling/trunk/bundles/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/internal/helper/ScriptSelectionTest.java

Modified: sling/trunk/bundles/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/internal/helper/ScriptSelectionTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/internal/helper/ScriptSelectionTest.java?rev=1205348&r1=1205347&r2=1205348&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/internal/helper/ScriptSelectionTest.java
(original)
+++ sling/trunk/bundles/servlets/resolver/src/test/java/org/apache/sling/servlets/resolver/internal/helper/ScriptSelectionTest.java
Wed Nov 23 09:52:29 2011
@@ -37,6 +37,7 @@ public class ScriptSelectionTest extends
             "/apps/foo/bar/print.esp",
             "/apps/foo/bar/print",
             "/apps/foo/bar/print/POST.esp",
+            "/apps/foo/bar/mail.POST.esp",
             "/apps/foo/bar/xml.esp",
             "/apps/foo/bar/print.xml.esp",
             "/apps/foo/bar/print/DELETE.esp",
@@ -234,6 +235,7 @@ public class ScriptSelectionTest extends
     public void testHtmlPostSelectors() {
         assertScript("POST", "print.a4", "html", SET_A, "/apps/foo/bar/print/POST.esp");
         assertScript("POST", "print", "html", SET_A, "/apps/foo/bar/print/POST.esp");
+        assertScript("POST", "mail", "html", SET_A, "/apps/foo/bar/mail.POST.esp");
         assertScript("POST", "a4.print", "html", SET_A, "/apps/foo/bar/POST.esp");
         assertScript("POST", null, "html", SET_A, "/apps/foo/bar/POST.esp");
     }



Mime
View raw message