incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1510864 - /sling/branches/SLING-2987-healthcheck-redesign/it/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
Date Tue, 06 Aug 2013 06:22:39 GMT
Author: bdelacretaz
Date: Tue Aug  6 06:22:38 2013
New Revision: 1510864

URL: http://svn.apache.org/r1510864
Log:
SLING-2987 - test whitespace

Modified:
    sling/branches/SLING-2987-healthcheck-redesign/it/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java

Modified: sling/branches/SLING-2987-healthcheck-redesign/it/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
URL: http://svn.apache.org/viewvc/sling/branches/SLING-2987-healthcheck-redesign/it/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java?rev=1510864&r1=1510863&r2=1510864&view=diff
==============================================================================
--- sling/branches/SLING-2987-healthcheck-redesign/it/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
(original)
+++ sling/branches/SLING-2987-healthcheck-redesign/it/src/test/java/org/apache/sling/hc/it/core/HealthCheckSelectorTest.java
Tue Aug  6 06:22:38 2013
@@ -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);



Mime
View raw message