summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java b/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java
index 894b841d38..6dfc44540c 100644
--- a/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java
+++ b/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java
@@ -204,7 +204,7 @@ public class NavigatorTest extends TestCase {
// create and test navigator
Navigator navigator = new Navigator(manager, display);
- navigator.registerProvider(provider);
+ navigator.addProvider(provider);
navigator.navigateTo("test1");
navigator.navigateTo("test2/");
@@ -246,7 +246,7 @@ public class NavigatorTest extends TestCase {
// create and test navigator
Navigator navigator = new Navigator(manager, display);
- navigator.registerProvider(provider);
+ navigator.addProvider(provider);
navigator.navigateTo("test2");
navigator.navigateTo("");
@@ -291,7 +291,7 @@ public class NavigatorTest extends TestCase {
control.replay();
// test navigator
- navigator.registerProvider(provider);
+ navigator.addProvider(provider);
navigator.addListener(listener);
navigator.navigateTo("test1");
@@ -363,7 +363,7 @@ public class NavigatorTest extends TestCase {
control.replay();
// test navigator
- navigator.registerProvider(provider);
+ navigator.addProvider(provider);
navigator.addListener(listener1);
navigator.addListener(listener2);