summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/tests/tickets/Ticket2426.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/tests/tickets/Ticket2426.java')
-rw-r--r--src/com/vaadin/tests/tickets/Ticket2426.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/com/vaadin/tests/tickets/Ticket2426.java b/src/com/vaadin/tests/tickets/Ticket2426.java
new file mode 100644
index 0000000000..bbad5ef686
--- /dev/null
+++ b/src/com/vaadin/tests/tickets/Ticket2426.java
@@ -0,0 +1,30 @@
+package com.vaadin.tests.tickets;
+
+import com.vaadin.Application;
+import com.vaadin.ui.Label;
+import com.vaadin.ui.Window;
+
+public class Ticket2426 extends Application {
+
+ @Override
+ public void init() {
+ Window w = new Window();
+ setMainWindow(w);
+
+ final String content = "<select/>";
+
+ w.addComponent(new Label("CONTENT_DEFAULT: " + content,
+ Label.CONTENT_DEFAULT));
+ w.addComponent(new Label("CONTENT_PREFORMATTED: " + content,
+ Label.CONTENT_PREFORMATTED));
+ w.addComponent(new Label("CONTENT_RAW: " + content, Label.CONTENT_RAW));
+ w
+ .addComponent(new Label("CONTENT_TEXT: " + content,
+ Label.CONTENT_TEXT));
+ w.addComponent(new Label("CONTENT_XML: " + content, Label.CONTENT_XML));
+ w.addComponent(new Label("CONTENT_XHTML: " + content,
+ Label.CONTENT_XHTML));
+
+ }
+
+}