aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorAnna Koskinen <anna@vaadin.com>2012-11-30 12:58:05 +0200
committerAnna Koskinen <anna@vaadin.com>2012-11-30 13:00:07 +0200
commitfaf6b3861d26571ffefd3dc60c2ff7d5685576d0 (patch)
treed7f8109ed0c03396f49895cf806499ccd670196b /uitest
parent93f932e52558dd933aaa7a8c8b60c8306b0cc189 (diff)
downloadvaadin-framework-faf6b3861d26571ffefd3dc60c2ff7d5685576d0.tar.gz
vaadin-framework-faf6b3861d26571ffefd3dc60c2ff7d5685576d0.zip
Added prefix "v-" to internal parameters (#10156)
Change-Id: I79ac824bc19fa42b976954148e69d54fb91b77ab
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java2
-rw-r--r--uitest/src/com/vaadin/tests/components/ui/UIInitBrowserDetails.java24
2 files changed, 13 insertions, 13 deletions
diff --git a/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java b/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
index 8988fe764a..6e31862f24 100644
--- a/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
+++ b/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
@@ -16,7 +16,7 @@ public class RefreshStatePreserve extends AbstractTestUI {
@Override
protected void setup(VaadinRequest request) {
// Internal parameter sent by vaadinBootstrap.js,
- addComponent(new Label("window.name: " + request.getParameter("wn")));
+ addComponent(new Label("window.name: " + request.getParameter("v-wn")));
addComponent(new Label("UI id: " + getUIId()));
addComponent(log);
diff --git a/uitest/src/com/vaadin/tests/components/ui/UIInitBrowserDetails.java b/uitest/src/com/vaadin/tests/components/ui/UIInitBrowserDetails.java
index 587c9f0f9b..df537145cf 100644
--- a/uitest/src/com/vaadin/tests/components/ui/UIInitBrowserDetails.java
+++ b/uitest/src/com/vaadin/tests/components/ui/UIInitBrowserDetails.java
@@ -25,18 +25,18 @@ public class UIInitBrowserDetails extends AbstractTestUI {
Page p = getPage();
WebBrowser wb = p.getWebBrowser();
- addDetail("location", "loc", p.getLocation());
-
- addDetail("browser window width", "cw", p.getBrowserWindowWidth());
- addDetail("browser window height", "ch", p.getBrowserWindowHeight());
- addDetail("screen width", "sw", wb.getScreenWidth());
- addDetail("screen height", "sh", wb.getScreenHeight());
-
- addDetail("timezone offset", "tzo", wb.getTimezoneOffset());
- addDetail("raw timezone offset", "rtzo", wb.getRawTimezoneOffset());
- addDetail("dst saving", "dstd", wb.getDSTSavings());
- addDetail("dst in effect", "dston", wb.isDSTInEffect());
- addDetail("current date", "curdate", wb.getCurrentDate());
+ addDetail("location", "v-loc", p.getLocation());
+
+ addDetail("browser window width", "v-cw", p.getBrowserWindowWidth());
+ addDetail("browser window height", "v-ch", p.getBrowserWindowHeight());
+ addDetail("screen width", "v-sw", wb.getScreenWidth());
+ addDetail("screen height", "v-sh", wb.getScreenHeight());
+
+ addDetail("timezone offset", "v-tzo", wb.getTimezoneOffset());
+ addDetail("raw timezone offset", "v-rtzo", wb.getRawTimezoneOffset());
+ addDetail("dst saving", "v-dstd", wb.getDSTSavings());
+ addDetail("dst in effect", "v-dston", wb.isDSTInEffect());
+ addDetail("current date", "v-curdate", wb.getCurrentDate());
}
@Override