You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2020/01/15 10:14:11 UTC

[sling-org-apache-sling-servlets-resolver] branch master updated: SLING-8936 - add missing cases

This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new 6489129  SLING-8936 - add missing cases
6489129 is described below

commit 6489129e759b40391c55c3c72e1c2a6353fbd69e
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Jan 15 11:13:59 2020 +0100

    SLING-8936 - add missing cases
---
 .../org/apache/sling/servlets/resolver/it/ServletSelectionIT.java     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java b/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java
index b28b762..831e9f3 100644
--- a/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java
+++ b/src/test/java/org/apache/sling/servlets/resolver/it/ServletSelectionIT.java
@@ -123,9 +123,13 @@ public class ServletSelectionIT extends ServletResolverTestSupport {
     @Test
     public void testAllExceptPathsIgnored() throws Exception {
         assertTestServlet("/allprops", "AllExceptPathsIgnored");
+        assertTestServlet("/allprops.zero", "AllExceptPathsIgnored");
         assertTestServlet("/allprops.one.two", "AllExceptPathsIgnored");
+        assertTestServlet("POST", "/allprops", "AllExceptPathsIgnored");
+        assertTestServlet("POST", "/allprops.ext", "AllExceptPathsIgnored");
         assertTestServlet("POST", "/allprops.three.four", "AllExceptPathsIgnored");
         assertTestServlet("/allprops.five.six/suffix", "AllExceptPathsIgnored");
         assertTestServlet("POST", "/allprops.seven.eight/suffix", "AllExceptPathsIgnored");
+        assertTestServlet("POST", "/allprops.nine/suffix", "AllExceptPathsIgnored");
     }
 }
\ No newline at end of file