aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/TestForUpload.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/TestForUpload.java')
-rw-r--r--uitest/src/com/vaadin/tests/TestForUpload.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/TestForUpload.java b/uitest/src/com/vaadin/tests/TestForUpload.java
index 7c2359a404..7146b1a4ff 100644
--- a/uitest/src/com/vaadin/tests/TestForUpload.java
+++ b/uitest/src/com/vaadin/tests/TestForUpload.java
@@ -152,11 +152,11 @@ public class TestForUpload extends CustomComponent implements
"Upload finished, but output buffer is null"));
} else {
status.addComponent(new Label("<b>Name:</b> "
- + event.getFilename(), ContentMode.XHTML));
+ + 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));
+ + event.getLength() + " bytes.", ContentMode.HTML));
status.addComponent(new Link("Download "
+ buffer.getFileName(), new StreamResource(buffer,