sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-repoinit-parser] 42/46: SLING-7066 - Support mixins in repoinit "create path" statements
Date Fri, 20 Oct 2017 14:39:51 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-repoinit-parser.git

commit 18eee31e5fec3f41e9e0198b836da86de7bbb94f
Author: Timothée Maret <tmaret@apache.org>
AuthorDate: Tue Sep 19 14:16:33 2017 +0000

    SLING-7066 - Support mixins in repoinit "create path" statements
    
    * Add test for invalid mixin syntax
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1808883 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java b/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
index 836c3d6..34d5ed8 100644
--- a/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
+++ b/src/test/java/org/apache/sling/repoinit/parser/test/ParsingErrorsTest.java
@@ -74,6 +74,10 @@ public class ParsingErrorsTest {
             add(new Object[] { "disable service user foo \"missing colon\"", ParseException.class
});
             add(new Object[] { "disable service user foo : missing start quote\"", ParseException.class
});
             add(new Object[] { "disable service user foo : \"missing end quote", ParseException.class
});
+
+            // SLING-7066 default mixin is not supported
+            add(new Object[] { "create path (sling:Folder mixin mix:A) /var/foo", ParseException.class
});
+            add(new Object[] { "create path (mixin mix:A) /var/foo", ParseException.class
});
         }};
         return result;
     }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message