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 10:21:45 UTC
[sling-org-apache-sling-testing-sling-mock] 09/13: assertions can
be activated now after updating to latest mock dependencies
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.testing.sling-mock-1.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git
commit 6569ce25daacc8ed41848174d0d6023727b58561
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Wed Jan 14 21:18:57 2015 +0000
assertions can be activated now after updating to latest mock dependencies
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1651832 13f79535-47bb-0310-9956-ffa450edef68
---
.../mock/sling/resource/AbstractMultipleResourceResolverTest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/sling/testing/mock/sling/resource/AbstractMultipleResourceResolverTest.java b/src/test/java/org/apache/sling/testing/mock/sling/resource/AbstractMultipleResourceResolverTest.java
index ea47667..aba23e9 100644
--- a/src/test/java/org/apache/sling/testing/mock/sling/resource/AbstractMultipleResourceResolverTest.java
+++ b/src/test/java/org/apache/sling/testing/mock/sling/resource/AbstractMultipleResourceResolverTest.java
@@ -18,6 +18,7 @@
*/
package org.apache.sling.testing.mock.sling.resource;
+import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@@ -50,11 +51,8 @@ public abstract class AbstractMultipleResourceResolverTest {
ResourceResolverFactory.USER, "user2"));
// validate user names
- // TODO: enable this tests when updated to latest jcr-mock/resourceresolver-mock versions
- /*
assertEquals("user1", resolver1.getAttribute(ResourceResolverFactory.USER));
assertEquals("user2", resolver2.getAttribute(ResourceResolverFactory.USER));
- */
// add a resource in resolver 1
Resource root = resolver1.getResource("/");
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.