summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-12-22 13:39:55 +0200
committerLeif Åstrand <leif@vaadin.com>2011-12-22 13:39:55 +0200
commit898db674f971d1744c8a723f42fa904786f84859 (patch)
tree0fee1fb6ce2ed4ec32d4c9f92d8f76c312810489 /tests
parentdfb225c4fc65e4c0338fb9138c40872c06487373 (diff)
downloadvaadin-framework-898db674f971d1744c8a723f42fa904786f84859.tar.gz
vaadin-framework-898db674f971d1744c8a723f42fa904786f84859.zip
Also check contents of BrowserDetails to determine if details are there
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java b/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java
index 93bbc3995e..109e93f1b8 100644
--- a/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java
+++ b/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java
@@ -28,7 +28,8 @@ public class LazyInitRoots extends AbstractTestApplication {
if (request.getParameter("lazyCreate") != null) {
// Root created on second request
final BrowserDetails browserDetails = request.getBrowserDetails();
- if (browserDetails == null) {
+ if (browserDetails == null
+ || browserDetails.getUriFragment() == null) {
throw new RootRequiresMoreInformationException();
} else {
Root root = new Root() {