incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r601286 - /incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/integration/JsonRenderingTest.java
Date Wed, 05 Dec 2007 10:49:40 GMT
Author: bdelacretaz
Date: Wed Dec  5 02:49:36 2007
New Revision: 601286

URL: http://svn.apache.org/viewvc?rev=601286&view=rev
Log:
Added a JSON rendering test for end of lines and tabs in properties

Modified:
    incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/integration/JsonRenderingTest.java

Modified: incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/integration/JsonRenderingTest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/integration/JsonRenderingTest.java?rev=601286&r1=601285&r2=601286&view=diff
==============================================================================
--- incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/integration/JsonRenderingTest.java
(original)
+++ incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/integration/JsonRenderingTest.java
Wed Dec  5 02:49:36 2007
@@ -58,6 +58,7 @@
         props.put("sq", "Some text with 'single quotes'");
         props.put("cb", "Some text with {curly brackets}");
         props.put("sb", "Some text with [square brackets]");
+        props.put("eol", "Some text with end\nof\nlines\nand\ttabs");
         
         final String location = testClient.createNode(postUrl, props);
         final String json = getContent(location + ".json", CONTENT_TYPE_JSON);



Mime
View raw message