summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets
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/tickets
parent074b1095ee302af67626055820853ed1b8a4ea86 (diff)
downloadvaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.tar.gz
vaadin-framework-52fa9639bab979d13e852e42f6aba6fe60b4ffe4.zip
Removed deprecated ContenMode.XHTML
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1225.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket124.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1444.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1804.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1811.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1819.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket1970.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2117.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2240.java2
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2287.java4
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2426.java2
11 files changed, 14 insertions, 14 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1225.java b/uitest/src/com/vaadin/tests/tickets/Ticket1225.java
index c09fd07837..28b2728021 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1225.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1225.java
@@ -46,7 +46,7 @@ public class Ticket1225 extends Application {
Label red = new Label(
"<div style='background:red;width:100%;height:100%;'>??</div>",
- ContentMode.XHTML);
+ ContentMode.HTML);
// red.setCaption("cap");
// red.setSizeFull();
@@ -59,7 +59,7 @@ public class Ticket1225 extends Application {
ts.getTab(red).setCaption("REd tab");
Label l = new Label("<div style='background:blue;'>sdf</div>",
- ContentMode.XHTML);
+ ContentMode.HTML);
el.addComponent(l);
el.setComponentAlignment(l, Alignment.MIDDLE_RIGHT);
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket124.java b/uitest/src/com/vaadin/tests/tickets/Ticket124.java
index fb2903b3f7..659ac40690 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket124.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket124.java
@@ -49,7 +49,7 @@ public class Ticket124 extends Application {
gl.addComponent(new Label("0,0-1,0"), 0, 0, 1, 0);
gl.addComponent(new Label("2,0-3,0"), 2, 0, 3, 0);
Label l = new Label("Large cell 0,1-2,2<br/>yadayada<br/>lorem ipsum");
- l.setContentMode(ContentMode.XHTML);
+ l.setContentMode(ContentMode.HTML);
gl.addComponent(l, 0, 1, 2, 2);
gl.addComponent(new Label("3-1"), 3, 1);
gl.addComponent(new Label("3,2-3,3"), 3, 2, 3, 3);
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1444.java b/uitest/src/com/vaadin/tests/tickets/Ticket1444.java
index 256b519371..4ca82deafb 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1444.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1444.java
@@ -21,7 +21,7 @@ public class Ticket1444 extends Application {
Label red = new Label(
"<div style='background:red;width:100%;height:100%;'>??</div>",
- ContentMode.XHTML);
+ ContentMode.HTML);
red.setSizeFull();
ol.addComponent(red);
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1804.java b/uitest/src/com/vaadin/tests/tickets/Ticket1804.java
index 631e8e4309..a01d0ab56d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1804.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1804.java
@@ -109,7 +109,7 @@ public class Ticket1804 extends com.vaadin.Application {
Window w = new Window("Status of the fields");
w.setModal(true);
w.setHeight("80%");
- w.addComponent(new Label(msg.toString(), ContentMode.XHTML));
+ w.addComponent(new Label(msg.toString(), ContentMode.HTML));
main.addWindow(w);
}
});
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1811.java b/uitest/src/com/vaadin/tests/tickets/Ticket1811.java
index 837f0d787b..ecc711a332 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1811.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1811.java
@@ -72,7 +72,7 @@ public class Ticket1811 extends com.vaadin.Application {
}
Window w = new Window("Status of the fields");
w.setModal(true);
- w.addComponent(new Label(msg.toString(), ContentMode.XHTML));
+ w.addComponent(new Label(msg.toString(), ContentMode.HTML));
main.addWindow(w);
}
});
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1819.java b/uitest/src/com/vaadin/tests/tickets/Ticket1819.java
index fd6e7ccd45..92f19d6113 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1819.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1819.java
@@ -58,7 +58,7 @@ public class Ticket1819 extends com.vaadin.Application {
}
Window w = new Window("Status of the fields");
w.setModal(true);
- w.addComponent(new Label(msg.toString(), ContentMode.XHTML));
+ w.addComponent(new Label(msg.toString(), ContentMode.HTML));
main.addWindow(w);
}
});
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket1970.java b/uitest/src/com/vaadin/tests/tickets/Ticket1970.java
index 839e9e683c..0cd91f518d 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket1970.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket1970.java
@@ -65,11 +65,11 @@ public class Ticket1970 extends Application {
}
}));
w.addComponent(new Label("<a href='" + getURL().toExternalForm() + "'>"
- + getURL().toExternalForm() + "</a>", ContentMode.XHTML));
+ + getURL().toExternalForm() + "</a>", ContentMode.HTML));
w.addComponent(new Label(
"<h2>How to reproduce</h2>Open the above link in another browser"
+ " window and then press the Show-button on this window.",
- ContentMode.XHTML));
+ ContentMode.HTML));
return w;
}
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2117.java b/uitest/src/com/vaadin/tests/tickets/Ticket2117.java
index e4365c3edb..c218e71a43 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2117.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2117.java
@@ -56,7 +56,7 @@ public class Ticket2117 extends Application {
+ "'>"
+ getURL().toExternalForm()
+ "</a> which opens new windows to this uri. They should end up having a separate Window and URL.",
- ContentMode.XHTML));
+ ContentMode.HTML));
return w;
}
}
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2240.java b/uitest/src/com/vaadin/tests/tickets/Ticket2240.java
index 34e734a9c3..fa7f0973fd 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2240.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2240.java
@@ -37,7 +37,7 @@ public class Ticket2240 extends Application {
layout.setStyleName("borders");
// layout.setSizeFull();
final Label l = new Label(txt);
- l.setContentMode(ContentMode.XHTML);
+ l.setContentMode(ContentMode.HTML);
// l.setWidth("100%");
TextField tf = new TextField("This is a textField");
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2287.java b/uitest/src/com/vaadin/tests/tickets/Ticket2287.java
index 59fc174215..211811a460 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2287.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2287.java
@@ -18,13 +18,13 @@ public class Ticket2287 extends Ticket2292 {
"Icon is built by servlet with a slow method, so it will show the bug (components not firing requestLayout)."));
Label l = new Label();
- l.setContentMode(ContentMode.XHTML);
+ l.setContentMode(ContentMode.HTML);
l.setValue("This is a label with as slow image. <img src=\"" + url
+ "/icon.png\" />");
main.addComponent(l);
l = new Label();
- l.setContentMode(ContentMode.XHTML);
+ l.setContentMode(ContentMode.HTML);
l.setValue("This is a label with as slow image. <img src=\"" + url
+ "/icon.png\" />");
main.addComponent(l);
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2426.java b/uitest/src/com/vaadin/tests/tickets/Ticket2426.java
index b48d8164c9..03d5c0d0ee 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2426.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2426.java
@@ -21,7 +21,7 @@ public class Ticket2426 extends Application {
w.addComponent(new Label("CONTENT_RAW: " + content, ContentMode.RAW));
w.addComponent(new Label("CONTENT_TEXT: " + content, ContentMode.TEXT));
w.addComponent(new Label("CONTENT_XML: " + content, ContentMode.XML));
- w.addComponent(new Label("CONTENT_XHTML: " + content, ContentMode.XHTML));
+ w.addComponent(new Label("CONTENT_XHTML: " + content, ContentMode.HTML));
}