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

rombert pushed a commit to annotated tag org.apache.sling.hc.it-1.0.4
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-it.git

commit 0d54aed702749b068cdf1db368164ee937b469d2
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Tue Aug 6 06:22:38 2013 +0000

    SLING-2987 - test whitespace
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/branches/SLING-2987-healthcheck-redesign/it@1510864
 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java 
b/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
index 229c634..171202b 100644
--- a/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
+++ b/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
@@ -186,6 +186,12 @@ public class HealthCheckSelectorTest {
     }
     
     @Test
+    public void testWhitespace() {
+        final List<HealthCheck> s = selector.getTaggedHealthCheck("\t \n\r foo 
 \t", "", " \t-bar\n", "");
+        assertServices(s, true, false, false, false, false);
+    }
+    
+    @Test
     public void testOther() {
         final List<HealthCheck> s = selector.getTaggedHealthCheck("other");
         assertServices(s, false, false, false, true, false);

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to