aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-09-19 17:22:49 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-09-19 17:22:49 +0300
commit6949ba97ab5d79b23903475ab92a2f0e950bc3b2 (patch)
tree257d94b2aef199990e08ac568f06beb6c95a9b66 /uitest
parentc4323e999fcbc05e04388dd37374487cb9f72634 (diff)
downloadvaadin-framework-6949ba97ab5d79b23903475ab92a2f0e950bc3b2.tar.gz
vaadin-framework-6949ba97ab5d79b23903475ab92a2f0e950bc3b2.zip
Bind Navigator to a UI (#9550)
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/navigator/NavigatorTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
index ef9130a2b1..4986bd21e6 100644
--- a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
+++ b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
@@ -104,7 +104,7 @@ public class NavigatorTest extends UI {
@Override
protected void init(WrappedRequest req) {
try {
- navi = new Navigator(naviLayout);
+ navi = new Navigator(this, naviLayout);
navi.addView("", new DefaultView());
@@ -113,7 +113,8 @@ public class NavigatorTest extends UI {
navi.addView("forbidden", new ForbiddenView());
navi.addViewChangeListener(new NaviListener());
- // navi.navigate();
+
+ navi.navigate();
addComponent(new NaviButton("list"));
addComponent(new NaviButton("edit"));