summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-08-13 15:26:17 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-13 15:26:17 +0300
commit2e6313e12b7c11706d154befd0cdf3a665f46365 (patch)
tree22033c132a5cfc0668e9e4a11462dc65bc3b61fe /tests
parent5dfec038cd191101a9e918f8f886b3a9b45e0179 (diff)
downloadvaadin-framework-2e6313e12b7c11706d154befd0cdf3a665f46365.tar.gz
vaadin-framework-2e6313e12b7c11706d154befd0cdf3a665f46365.zip
Rename VaadinContext -> AddonContext (#9273)
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.AddonContextListener1
-rw-r--r--tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.VaadinContextListener1
-rw-r--r--tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java (renamed from tests/testbench/com/vaadin/tests/vaadincontext/TestVaadinContextListener.java)12
3 files changed, 7 insertions, 7 deletions
diff --git a/tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.AddonContextListener b/tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.AddonContextListener
new file mode 100644
index 0000000000..9b3d9eb082
--- /dev/null
+++ b/tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.AddonContextListener
@@ -0,0 +1 @@
+com.vaadin.tests.vaadincontext.TestAddonContextListener \ No newline at end of file
diff --git a/tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.VaadinContextListener b/tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.VaadinContextListener
deleted file mode 100644
index fd5ebaa53e..0000000000
--- a/tests/testbench/META-INF/services/com.vaadin.terminal.gwt.server.VaadinContextListener
+++ /dev/null
@@ -1 +0,0 @@
-com.vaadin.tests.vaadincontext.TestVaadinContextListener \ No newline at end of file
diff --git a/tests/testbench/com/vaadin/tests/vaadincontext/TestVaadinContextListener.java b/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java
index 9d1fc6b6c3..08db5c72ec 100644
--- a/tests/testbench/com/vaadin/tests/vaadincontext/TestVaadinContextListener.java
+++ b/tests/testbench/com/vaadin/tests/vaadincontext/TestAddonContextListener.java
@@ -11,14 +11,14 @@ import com.vaadin.terminal.gwt.server.BootstrapFragmentResponse;
import com.vaadin.terminal.gwt.server.BootstrapListener;
import com.vaadin.terminal.gwt.server.BootstrapPageResponse;
import com.vaadin.terminal.gwt.server.BootstrapResponse;
-import com.vaadin.terminal.gwt.server.VaadinContextEvent;
-import com.vaadin.terminal.gwt.server.VaadinContextListener;
+import com.vaadin.terminal.gwt.server.AddonContextEvent;
+import com.vaadin.terminal.gwt.server.AddonContextListener;
import com.vaadin.ui.Root;
-public class TestVaadinContextListener implements VaadinContextListener {
+public class TestAddonContextListener implements AddonContextListener {
@Override
- public void contextCreated(VaadinContextEvent event) {
- event.getVaadinContext().addBootstrapListener(new BootstrapListener() {
+ public void contextCreated(AddonContextEvent event) {
+ event.getAddonContext().addBootstrapListener(new BootstrapListener() {
@Override
public void modifyBootstrapFragment(
BootstrapFragmentResponse response) {
@@ -47,7 +47,7 @@ public class TestVaadinContextListener implements VaadinContextListener {
}
@Override
- public void contextDestoryed(VaadinContextEvent event) {
+ public void contextDestoryed(AddonContextEvent event) {
// Nothing to do
}