summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/navigator/NavigatorTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
index bfb11f6b8c..ef9130a2b1 100644
--- a/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
+++ b/uitest/src/com/vaadin/tests/navigator/NavigatorTest.java
@@ -77,7 +77,7 @@ public class NavigatorTest extends UI {
class NaviListener implements ViewChangeListener {
@Override
- public boolean isViewChangeAllowed(ViewChangeEvent event) {
+ public boolean beforeViewChange(ViewChangeEvent event) {
if (event.getNewView() instanceof ForbiddenView) {
log.log("Prevent navigation to ForbiddenView");
return false;
@@ -86,7 +86,7 @@ public class NavigatorTest extends UI {
}
@Override
- public void navigatorViewChanged(ViewChangeEvent event) {
+ public void afterViewChange(ViewChangeEvent event) {
}
};