diff options
author | Artur Signell <artur.signell@itmill.com> | 2010-03-12 21:21:52 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2010-03-12 21:21:52 +0000 |
commit | 1434622775068c2e02942baa39c08cae705797bd (patch) | |
tree | 8ecea2039bae88354b218569494db9dee1d53c66 /tests | |
parent | b28f8554bbb4f3fe93329ef8f14f093b5075e028 (diff) | |
download | vaadin-framework-1434622775068c2e02942baa39c08cae705797bd.tar.gz vaadin-framework-1434622775068c2e02942baa39c08cae705797bd.zip |
Added some spaces and newlines. Should not change test outcome.
svn changeset:11853/svn branch:6.3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/vaadin/tests/components/label/Labels.java | 8 |
1 files 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( - "<div style='border: 1px solid red'><h1>Hello</h1><p/><h2>I am a rich Label</h3></div>", + "<div style='border: 1px solid red'><h1>Hello\n\n\n</h1><p/><h2>I am a rich Label</h3></div>", "This is an XHTML label with rich content"); l.setContentMode(Label.CONTENT_XHTML); addTestComponent(l); |