summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohannes Dahlström <johannesd@vaadin.com>2012-06-19 14:51:37 +0300
committerJohannes Dahlström <johannesd@vaadin.com>2012-06-19 14:51:37 +0300
commit61b9593c171831d6fc49f36c312d753d7b8b032b (patch)
tree8fb606efd6bd07a240f2892cdca1ed1523b9910b /tests
parenta821f9fdd5b853409c7f7c3a22eba0733e2900c6 (diff)
downloadvaadin-framework-61b9593c171831d6fc49f36c312d753d7b8b032b.tar.gz
vaadin-framework-61b9593c171831d6fc49f36c312d753d7b8b032b.zip
Window.showNotification -> Notification.show
Diffstat (limited to 'tests')
-rw-r--r--tests/testbench/com/vaadin/tests/application/TerminalErrorNotification.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testbench/com/vaadin/tests/application/TerminalErrorNotification.java b/tests/testbench/com/vaadin/tests/application/TerminalErrorNotification.java
index 7520b30416..f2ae7a3891 100644
--- a/tests/testbench/com/vaadin/tests/application/TerminalErrorNotification.java
+++ b/tests/testbench/com/vaadin/tests/application/TerminalErrorNotification.java
@@ -37,8 +37,7 @@ public class TerminalErrorNotification extends TestBase {
throwable = throwable.getCause();
}
- mainWindow.showNotification(
- "Got an exception: " + throwable.getMessage(),
+ Notification.show("Got an exception: " + throwable.getMessage(),
Notification.TYPE_ERROR_MESSAGE);
} else {
System.out.println("No main window found");