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-models-validation-impl.git
commit 7d4c4a23f4e7f9a0365b80903d89f2053e6baf37 Author: Konrad Windszus <[email protected]> AuthorDate: Wed Apr 5 14:02:05 2017 +0000 get rid of commons.json dependency git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1790268 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/sling/models/validation/impl/it/ModelValidationIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/sling/models/validation/impl/it/ModelValidationIT.java b/src/test/java/org/apache/sling/models/validation/impl/it/ModelValidationIT.java index 9a0a359..6b1cf89 100644 --- a/src/test/java/org/apache/sling/models/validation/impl/it/ModelValidationIT.java +++ b/src/test/java/org/apache/sling/models/validation/impl/it/ModelValidationIT.java @@ -22,7 +22,6 @@ import org.apache.sling.api.resource.LoginException; import org.apache.sling.api.resource.Resource; import org.apache.sling.api.resource.ResourceResolver; import org.apache.sling.api.resource.ResourceResolverFactory; -import org.apache.sling.commons.json.JSONException; import org.apache.sling.junit.rules.TeleporterRule; import org.apache.sling.models.factory.ModelFactory; import org.apache.sling.models.factory.ValidationException; @@ -84,7 +83,7 @@ public class ModelValidationIT { } @Test - public void testValidModel() throws IOException, JSONException { + public void testValidModel() throws IOException { // create a valid resource Resource contentResource = resourceResolver.getResource("/apps/sling/validation/content/contentValid"); Assert.assertNotNull("Content resource must exist", contentResource); @@ -94,7 +93,7 @@ public class ModelValidationIT { } @Test - public void testInvalidModel() throws IOException, JSONException { + public void testInvalidModel() throws IOException { // create a valid resource Resource contentResource = resourceResolver.getResource("/apps/sling/validation/content/contentInvalid"); Assert.assertNotNull("Content resource must exist", contentResource); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
