From: Marc Englund Date: Mon, 7 Sep 2009 13:17:07 +0000 (+0000) Subject: Added 'test' -button to make it easier to see if the test app is still working. X-Git-Tag: 6.7.0.beta1~2508 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d6c748ba57e8675ab3787e92f9ee4cc13570274d;p=vaadin-framework.git Added 'test' -button to make it easier to see if the test app is still working. svn changeset:8687/svn branch:6.1 --- diff --git a/src/com/vaadin/tests/resources/ResourceDownload.java b/src/com/vaadin/tests/resources/ResourceDownload.java index 44faa80330..d7da9c2d63 100644 --- a/src/com/vaadin/tests/resources/ResourceDownload.java +++ b/src/com/vaadin/tests/resources/ResourceDownload.java @@ -44,6 +44,15 @@ public class ResourceDownload extends TestBase { }); addComponent(b); + b = new Button("Test", new Button.ClickListener() { + public void buttonClick(ClickEvent event) { + ResourceDownload.this.getMainWindow().showNotification( + "Still working"); + } + + }); + addComponent(b); + } protected void download(String target) { @@ -64,7 +73,7 @@ public class ResourceDownload extends TestBase { // IE8 streamResource.setMIMEType("application/x-msexcel"); - this.getMainWindow().open(streamResource, target); + getMainWindow().open(streamResource, target); }