summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/TestForStyledUpload.java
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-07 10:32:05 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-07 10:32:05 +0300
commit52fa9639bab979d13e852e42f6aba6fe60b4ffe4 (patch)
treeaaf4486eae2df058d609da7391bdf788fdf32614 /uitest/src/com/vaadin/tests/TestForStyledUpload.java
parent074b1095ee302af67626055820853ed1b8a4ea86 (diff)
downloadvaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.tar.gz
vaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.zip
Removed deprecated ContenMode.XHTML
Diffstat (limited to 'uitest/src/com/vaadin/tests/TestForStyledUpload.java')
-rw-r--r--uitest/src/com/vaadin/tests/TestForStyledUpload.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/TestForStyledUpload.java b/uitest/src/com/vaadin/tests/TestForStyledUpload.java
index 9ead78220e..f1ced4e1f0 100644
--- a/uitest/src/com/vaadin/tests/TestForStyledUpload.java
+++ b/uitest/src/com/vaadin/tests/TestForStyledUpload.java
@@ -182,11 +182,11 @@ public class TestForStyledUpload extends Application implements
"Upload finished, but output buffer is null!!"));
} else {
status.addComponent(new Label(
- "<b>Name:</b> " + event.getFilename(), ContentMode.XHTML));
+ "<b>Name:</b> " + event.getFilename(), ContentMode.HTML));
status.addComponent(new Label("<b>Mimetype:</b> "
- + event.getMIMEType(), ContentMode.XHTML));
+ + event.getMIMEType(), ContentMode.HTML));
status.addComponent(new Label("<b>Size:</b> " + event.getLength()
- + " bytes.", ContentMode.XHTML));
+ + " bytes.", ContentMode.HTML));
status.addComponent(new Link("Download " + buffer.getFileName(),
new StreamResource(buffer, buffer.getFileName())));