summaryrefslogtreecommitdiffstats
path: root/tests/testbench/com/vaadin
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-30 17:02:08 +0300
committerArtur Signell <artur@vaadin.com>2012-08-30 17:02:08 +0300
commit8941056349e302e687e40e94c13709e75f256d73 (patch)
tree34e0d95656ddb607792c849a203c4da6ead06421 /tests/testbench/com/vaadin
parentc6112a24777ce7f6b708039e16909ed939014ca4 (diff)
downloadvaadin-framework-8941056349e302e687e40e94c13709e75f256d73.tar.gz
vaadin-framework-8941056349e302e687e40e94c13709e75f256d73.zip
Reformatted project
Diffstat (limited to 'tests/testbench/com/vaadin')
-rw-r--r--tests/testbench/com/vaadin/tests/components/image/ImageAltText.java8
-rwxr-xr-xtests/testbench/com/vaadin/tests/components/notification/SemiTransparentNotification.java3
-rw-r--r--tests/testbench/com/vaadin/tests/tickets/Ticket2292.java3
-rw-r--r--tests/testbench/com/vaadin/tests/widgetset/client/SerializerTestRpc.java3
4 files changed, 10 insertions, 7 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/image/ImageAltText.java b/tests/testbench/com/vaadin/tests/components/image/ImageAltText.java
index e7aaf0c0e4..6abbc41213 100644
--- a/tests/testbench/com/vaadin/tests/components/image/ImageAltText.java
+++ b/tests/testbench/com/vaadin/tests/components/image/ImageAltText.java
@@ -18,10 +18,10 @@ public class ImageAltText extends TestBase {
Button changeAltTexts = new Button("Change alt text",
new Button.ClickListener() {
- public void buttonClick(ClickEvent event) {
- image.setAlternateText("New alt text!");
- }
- });
+ public void buttonClick(ClickEvent event) {
+ image.setAlternateText("New alt text!");
+ }
+ });
addComponent(changeAltTexts);
}
diff --git a/tests/testbench/com/vaadin/tests/components/notification/SemiTransparentNotification.java b/tests/testbench/com/vaadin/tests/components/notification/SemiTransparentNotification.java
index 8fefac16a1..1745c11982 100755
--- a/tests/testbench/com/vaadin/tests/components/notification/SemiTransparentNotification.java
+++ b/tests/testbench/com/vaadin/tests/components/notification/SemiTransparentNotification.java
@@ -12,7 +12,8 @@ public class SemiTransparentNotification extends TestBase {
Label l = new Label(LoremIpsum.get(10000));
getLayout().setSizeFull();
addComponent(l);
- Notification.show("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This should be a <br/><b>SEMI-TRANSPARENT</b><br/> notification",
+ Notification
+ .show("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This should be a <br/><b>SEMI-TRANSPARENT</b><br/> notification",
Notification.TYPE_WARNING_MESSAGE);
}
diff --git a/tests/testbench/com/vaadin/tests/tickets/Ticket2292.java b/tests/testbench/com/vaadin/tests/tickets/Ticket2292.java
index 1e7fe5d78a..ce7960a169 100644
--- a/tests/testbench/com/vaadin/tests/tickets/Ticket2292.java
+++ b/tests/testbench/com/vaadin/tests/tickets/Ticket2292.java
@@ -87,7 +87,8 @@ public class Ticket2292 extends com.vaadin.Application.LegacyApplication
// Return a stream from the buffer.
ByteArrayInputStream istream = new ByteArrayInputStream(
imagebuffer.toByteArray());
- new DownloadStream(istream, null, null).writeResponse(request, response);
+ new DownloadStream(istream, null, null).writeResponse(request,
+ response);
return true;
} catch (IOException e) {
return false;
diff --git a/tests/testbench/com/vaadin/tests/widgetset/client/SerializerTestRpc.java b/tests/testbench/com/vaadin/tests/widgetset/client/SerializerTestRpc.java
index eb3a20e90e..0d89976ca0 100644
--- a/tests/testbench/com/vaadin/tests/widgetset/client/SerializerTestRpc.java
+++ b/tests/testbench/com/vaadin/tests/widgetset/client/SerializerTestRpc.java
@@ -74,6 +74,7 @@ public interface SerializerTestRpc extends ServerRpc, ClientRpc {
public void sendWrappedGenerics(
Map<Set<SimpleTestBean>, Map<Integer, List<SimpleTestBean>>> generics);
- public void sendEnum(ContentMode contentMode, ContentMode[] array, List<ContentMode> list);
+ public void sendEnum(ContentMode contentMode, ContentMode[] array,
+ List<ContentMode> list);
}