]> source.dussan.org Git - vaadin-framework.git/commitdiff
Window.showNotification -> Notification.show
authorJohannes Dahlström <johannesd@vaadin.com>
Tue, 19 Jun 2012 11:51:37 +0000 (14:51 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Tue, 19 Jun 2012 11:51:37 +0000 (14:51 +0300)
tests/testbench/com/vaadin/tests/application/TerminalErrorNotification.java

index 7520b304165764c2097a4b43379b217ba60a5bb2..f2ae7a389194d4a73a665ba4b2e64c1968e0022a 100644 (file)
@@ -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");