diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java | 1 | ||||
-rw-r--r-- | tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java b/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java index 7009d03f77..47c97bbc21 100644 --- a/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java +++ b/tests/testbench/com/vaadin/tests/components/popupview/PopupViewClickShortcut.java @@ -48,6 +48,7 @@ public class PopupViewClickShortcut extends TestBase { Button b = new Button("Submit " + caption, new Button.ClickListener() { private int i = 5; + @Override public void buttonClick(ClickEvent event) { log.log("Submitted from " + event.getButton().getParent().getCaption()); diff --git a/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java b/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java index 7ba6f2c0c0..f0ed0f79cb 100644 --- a/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java +++ b/tests/testbench/com/vaadin/tests/integration/JSR286PortletApplication.java @@ -73,6 +73,7 @@ public class JSR286PortletApplication extends Application.LegacyApplication { Upload upload = new Upload("Upload a file", new Receiver() { + @Override public OutputStream receiveUpload(String filename, String mimeType) { return new ByteArrayOutputStream(); } @@ -91,11 +92,13 @@ public class JSR286PortletApplication extends Application.LegacyApplication { private class DemoPortletListener implements PortletListener { + @Override public void handleActionRequest(ActionRequest request, ActionResponse response, Root window) { main.addComponent(new Label("Action received")); } + @Override public void handleRenderRequest(RenderRequest request, RenderResponse response, Root window) { // Portlet up-and-running, enable stuff @@ -169,11 +172,13 @@ public class JSR286PortletApplication extends Application.LegacyApplication { } } + @Override public void handleEventRequest(EventRequest request, EventResponse response, Root window) { // events not used by this test } + @Override public void handleResourceRequest(ResourceRequest request, ResourceResponse response, Root window) { // nothing special to do here |