You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:58:11 UTC

[sling-org-apache-sling-resourcebuilder] 02/36: SLING-5356 - test multiple properties

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

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

commit 91399c7477eac6a7d27fccbc1167fb74e678eb64
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Dec 9 17:02:47 2015 +0000

    SLING-5356 - test multiple properties
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/resourcebuilder@1718911 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/sling/resourcebuilder/impl/ResourceBuilderImplTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/sling/resourcebuilder/impl/ResourceBuilderImplTest.java b/src/test/java/org/apache/sling/resourcebuilder/impl/ResourceBuilderImplTest.java
index a1f6c70..08e2364 100644
--- a/src/test/java/org/apache/sling/resourcebuilder/impl/ResourceBuilderImplTest.java
+++ b/src/test/java/org/apache/sling/resourcebuilder/impl/ResourceBuilderImplTest.java
@@ -178,7 +178,7 @@ public class ResourceBuilderImplTest {
     @Test
     public void buildATree() throws PersistenceException {
         getBuilder(testRootPath)
-            .resource("a/b/c", "title", "foo")
+            .resource("a/b/c", "title", "foo", "count", 21)
             .siblingsMode()
             .resource("1")
             .resource("2")
@@ -189,7 +189,7 @@ public class ResourceBuilderImplTest {
             .resource("deepest", "it", "worked")
             .commit();
         
-        assertProperties("a/b/c", "title", "foo");
+        assertProperties("a/b/c", "count", 21, "title", "foo");
         assertProperties("a/b/c/with/more/here", "it", "worked");
         assertResource("a/b/c/with/more/here/deepest");
         assertResource("a/b/c/1");

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