diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-19 13:40:14 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-11-20 14:21:12 +0000 |
commit | 09565f6536570811767998b950dc60a4e37c54b6 (patch) | |
tree | 5ff1026170981e31be1e33e19ce4d998a2f4d276 /uitest/src/com | |
parent | d00c06a5801c5e1a1b5b2627805180490e1b191b (diff) | |
download | vaadin-framework-09565f6536570811767998b950dc60a4e37c54b6.tar.gz vaadin-framework-09565f6536570811767998b950dc60a4e37c54b6.zip |
Removed com.vaadin.server.Terminal (#10230)
Moved Terminal.ErrorEvent and Terminal.ErrorListener to com.vaadin.server
Change-Id: I4ce67722b88abc38fd740c5980836b24e511a63b
Diffstat (limited to 'uitest/src/com')
4 files changed, 8 insertions, 4 deletions
diff --git a/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java b/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java index 5feb904873..ea462dbaae 100644 --- a/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java +++ b/uitest/src/com/vaadin/tests/appengine/GAESyncTest.java @@ -5,6 +5,7 @@ import com.vaadin.data.Property; import com.vaadin.data.Property.ValueChangeEvent; import com.vaadin.server.ClassResource; import com.vaadin.server.DownloadStream; +import com.vaadin.server.ErrorEvent; import com.vaadin.server.LegacyApplication; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; @@ -29,7 +30,7 @@ public class GAESyncTest extends LegacyApplication { } @Override - public void terminalError(com.vaadin.server.Terminal.ErrorEvent event) { + public void terminalError(com.vaadin.server.ErrorEvent event) { Throwable t = event.getThrowable(); // Was this caused by a GAE timeout? while (t != null) { diff --git a/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java b/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java index 0dcf0a6fa8..7ab552a96b 100644 --- a/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java +++ b/uitest/src/com/vaadin/tests/application/TerminalErrorNotification.java @@ -15,6 +15,7 @@ */ package com.vaadin.tests.application; +import com.vaadin.server.ErrorEvent; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; @@ -38,7 +39,7 @@ public class TerminalErrorNotification extends TestBase { } @Override - public void terminalError(com.vaadin.server.Terminal.ErrorEvent event) { + public void terminalError(com.vaadin.server.ErrorEvent event) { event.getThrowable().printStackTrace(); UI mainWindow = getMainWindow(); diff --git a/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java b/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java index ece40f5b00..0cde43119a 100644 --- a/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java +++ b/uitest/src/com/vaadin/tests/components/AbstractComponentTest.java @@ -14,6 +14,7 @@ import com.vaadin.event.FieldEvents.BlurNotifier; import com.vaadin.event.FieldEvents.FocusEvent; import com.vaadin.event.FieldEvents.FocusListener; import com.vaadin.event.FieldEvents.FocusNotifier; +import com.vaadin.server.ErrorEvent; import com.vaadin.server.Resource; import com.vaadin.server.ThemeResource; import com.vaadin.tests.util.Log; @@ -715,7 +716,7 @@ public abstract class AbstractComponentTest<T extends AbstractComponent> } @Override - public void terminalError(com.vaadin.server.Terminal.ErrorEvent event) { + public void terminalError(com.vaadin.server.ErrorEvent event) { String logMsg = "Exception occured, " + event.getThrowable().getClass().getName(); diff --git a/uitest/src/com/vaadin/tests/components/button/ShortCutListenerModification.java b/uitest/src/com/vaadin/tests/components/button/ShortCutListenerModification.java index 3c7a9a40ea..646b8f67f7 100644 --- a/uitest/src/com/vaadin/tests/components/button/ShortCutListenerModification.java +++ b/uitest/src/com/vaadin/tests/components/button/ShortCutListenerModification.java @@ -2,6 +2,7 @@ package com.vaadin.tests.components.button; import com.vaadin.event.ShortcutAction.KeyCode; import com.vaadin.event.ShortcutAction.ModifierKey; +import com.vaadin.server.ErrorEvent; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; @@ -57,7 +58,7 @@ public class ShortCutListenerModification extends TestBase implements } @Override - public void terminalError(com.vaadin.server.Terminal.ErrorEvent event) { + public void terminalError(com.vaadin.server.ErrorEvent event) { super.terminalError(event); getMainWindow().showNotification("Failed!", Notification.TYPE_ERROR_MESSAGE); |