You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2017/05/23 21:30:51 UTC
svn commit: r1795968 - in /sling/branches/testing/mocks/sling-mock-1.x:
pom.xml src/test/resources/json-import-samples/content.json
Author: sseifert
Date: Tue May 23 21:30:51 2017
New Revision: 1795968
URL: http://svn.apache.org/viewvc?rev=1795968&view=rev
Log:
SLING-6874 sling-mock: Support tick as well as double quote when parsing JSON files
Modified:
sling/branches/testing/mocks/sling-mock-1.x/pom.xml
sling/branches/testing/mocks/sling-mock-1.x/src/test/resources/json-import-samples/content.json
Modified: sling/branches/testing/mocks/sling-mock-1.x/pom.xml
URL: http://svn.apache.org/viewvc/sling/branches/testing/mocks/sling-mock-1.x/pom.xml?rev=1795968&r1=1795967&r2=1795968&view=diff
==============================================================================
--- sling/branches/testing/mocks/sling-mock-1.x/pom.xml (original)
+++ sling/branches/testing/mocks/sling-mock-1.x/pom.xml Tue May 23 21:30:51 2017
@@ -125,7 +125,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.jcr.contentparser</artifactId>
- <version>1.1.0</version>
+ <version>1.1.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
Modified: sling/branches/testing/mocks/sling-mock-1.x/src/test/resources/json-import-samples/content.json
URL: http://svn.apache.org/viewvc/sling/branches/testing/mocks/sling-mock-1.x/src/test/resources/json-import-samples/content.json?rev=1795968&r1=1795967&r2=1795968&view=diff
==============================================================================
--- sling/branches/testing/mocks/sling-mock-1.x/src/test/resources/json-import-samples/content.json (original)
+++ sling/branches/testing/mocks/sling-mock-1.x/src/test/resources/json-import-samples/content.json Tue May 23 21:30:51 2017
@@ -1,6 +1,6 @@
{
- "jcr:primaryType": "app:Page",
- "jcr:createdBy": "admin",
+ "jcr:primaryType": 'app:Page',
+ 'jcr:createdBy': "admin",
"jcr:created": "Thu Aug 07 2014 16:32:59 GMT+0200",
"jcr:content": {
"jcr:primaryType": "app:PageContent",