From: Artur Signell Date: Fri, 12 Mar 2010 21:21:52 +0000 (+0000) Subject: Added some spaces and newlines. Should not change test outcome. X-Git-Tag: 6.7.0.beta1~1932 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1434622775068c2e02942baa39c08cae705797bd;p=vaadin-framework.git Added some spaces and newlines. Should not change test outcome. svn changeset:11853/svn branch:6.3 --- diff --git a/tests/src/com/vaadin/tests/components/label/Labels.java b/tests/src/com/vaadin/tests/components/label/Labels.java index a1acf403ee..39c2aa8875 100644 --- a/tests/src/com/vaadin/tests/components/label/Labels.java +++ b/tests/src/com/vaadin/tests/components/label/Labels.java @@ -21,12 +21,12 @@ public class Labels extends ComponentTestCase { super.setup(); Label l; - l = createLabel("This is an undefined wide label which do not wrap. It should be clipped at the end of the screen" + l = createLabel("This is an undefined\nwide\nlabel which do not wrap. It should be clipped at the end of the screen" + LoremIpsum.get(1000)); l.setWidth(null); addTestComponent(l); - l = createLabel("This is a 200px wide simple label which wrap"); + l = createLabel("This is a 200px wide simple label which\n\n\nwrap"); l.setWidth("200px"); addTestComponent(l); @@ -35,14 +35,14 @@ public class Labels extends ComponentTestCase { l.setWidth("100%"); addTestComponent(l); - l = createLabel("This is a 100% wide simple with fixed 65px height. It should wrap. " + l = createLabel("This is a\n\n 100%\t\t\t \twide simple with fixed 65px height. It should wrap. " + LoremIpsum.get(5000)); l.setWidth("100%"); l.setHeight("65px"); addTestComponent(l); l = createLabel( - "

Hello

I am a rich Label

", + "

Hello\n\n\n

I am a rich Label

", "This is an XHTML label with rich content"); l.setContentMode(Label.CONTENT_XHTML); addTestComponent(l);