From f2a748db9ac2003b0275512d1b277f5c9a1912c9 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 18 Jan 2016 14:35:28 +0100 Subject: [PATCH] Format test strings of DataLayoutTest --- .../xdatalayout/packet/DataLayoutTest.java | 27 +++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/smack-extensions/src/test/java/org/jivesoftware/smackx/xdatalayout/packet/DataLayoutTest.java b/smack-extensions/src/test/java/org/jivesoftware/smackx/xdatalayout/packet/DataLayoutTest.java index fe52247e6..51d0a1de1 100644 --- a/smack-extensions/src/test/java/org/jivesoftware/smackx/xdatalayout/packet/DataLayoutTest.java +++ b/smack-extensions/src/test/java/org/jivesoftware/smackx/xdatalayout/packet/DataLayoutTest.java @@ -41,8 +41,31 @@ import org.xmlpull.v1.XmlPullParserException; * */ public class DataLayoutTest { - private static final String TEST_OUTPUT_2 = "
SectionText
PageText
"; - private static final String TEST_OUTPUT_SPECIAL = "
SectionText - & \u00E9 \u00E1
PageText - & \u00E9 \u00E1
<html><font color='red'><em>DO NOT DELAY</em></font><br/>supply further information</html>
"; + // @formatter:off + private static final String TEST_OUTPUT_2 = + "" + + "" + + "
" + + "SectionText" + + "
" + + "PageText" + + "
"; + + private static final String TEST_OUTPUT_SPECIAL = + "" + + "" + + "
" + + "SectionText - & \u00E9 \u00E1 " + + "
" + + "PageText - & \u00E9 \u00E1 " + + "
" + + "" + + "
" + + "<html><font color='red'><em>DO NOT DELAY</em></font><br/>supply further information</html>" + + "
"; + + // @formatter:on + private static final String TEST_INPUT_1 = "xdata-layout-sample.xml"; @Test