From 1434622775068c2e02942baa39c08cae705797bd Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 12 Mar 2010 21:21:52 +0000 Subject: [PATCH] Added some spaces and newlines. Should not change test outcome. svn changeset:11853/svn branch:6.3 --- tests/src/com/vaadin/tests/components/label/Labels.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.5