sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1756751 - in /sling/trunk/contrib/extensions/rewriter/src/test: java/org/apache/sling/rewriter/it/tests/EmojiIT.java resources/content/rewriter.json
Date Thu, 18 Aug 2016 09:47:50 GMT
Author: bdelacretaz
Date: Thu Aug 18 09:47:50 2016
New Revision: 1756751

URL: http://svn.apache.org/viewvc?rev=1756751&view=rev
Log:
SLING-5973 - use unicode escape sequences

Modified:
    sling/trunk/contrib/extensions/rewriter/src/test/java/org/apache/sling/rewriter/it/tests/EmojiIT.java
    sling/trunk/contrib/extensions/rewriter/src/test/resources/content/rewriter.json

Modified: sling/trunk/contrib/extensions/rewriter/src/test/java/org/apache/sling/rewriter/it/tests/EmojiIT.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/test/java/org/apache/sling/rewriter/it/tests/EmojiIT.java?rev=1756751&r1=1756750&r2=1756751&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/rewriter/src/test/java/org/apache/sling/rewriter/it/tests/EmojiIT.java
(original)
+++ sling/trunk/contrib/extensions/rewriter/src/test/java/org/apache/sling/rewriter/it/tests/EmojiIT.java
Thu Aug 18 09:47:50 2016
@@ -54,7 +54,7 @@ public class EmojiIT extends RewriterTes
     @Test
     public void testContent() throws IOException {
         final Element content = document.getElementById("content");
-        assertThat(content.text(), is("☂😃 🍀 🍀 🍀 😁
🍀🍀"));
+        assertThat(content.text(), is("\u2602\uD83D\uDE03 \uD83C\uDF40 \uD83C\uDF40 \uD83C\uDF40
\uD83D\uDE01 \uD83C\uDF40\uD83C\uDF40"));
     }
 
 }

Modified: sling/trunk/contrib/extensions/rewriter/src/test/resources/content/rewriter.json
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/rewriter/src/test/resources/content/rewriter.json?rev=1756751&r1=1756750&r2=1756751&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/rewriter/src/test/resources/content/rewriter.json (original)
+++ sling/trunk/contrib/extensions/rewriter/src/test/resources/content/rewriter.json Thu Aug
18 09:47:50 2016
@@ -6,6 +6,6 @@
     "jcr:primaryType": "nt:unstructured",
     "sling:resourceType": "esp/page/emoji",
     "title": "emoji test",
-    "content" : "☂😃 🍀 🍀 🍀 😁 🍀\ud83c\udf40"
+    "content" : "\u2602\uD83D\uDE03 \uD83C\uDF40 \uD83C\uDF40 \uD83C\uDF40 \uD83D\uDE01 \uD83C\uDF40\uD83C\uDF40"
   }
 }



Mime
View raw message