summaryrefslogtreecommitdiffstats
path: root/tests/testbench/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-08-23 10:41:24 +0300
committerArtur Signell <artur@vaadin.com>2012-08-23 18:14:33 +0300
commit52986fdf881260994e5465012af2afd80447b8b6 (patch)
tree59c19ffa0e31b5147c0f95974c6c6febca3f64a3 /tests/testbench/com
parentf4f3a563942a9264fada9275991b5fd9dce73868 (diff)
downloadvaadin-framework-52986fdf881260994e5465012af2afd80447b8b6.tar.gz
vaadin-framework-52986fdf881260994e5465012af2afd80447b8b6.zip
Changed Notification type and position to enum (#9072)
Diffstat (limited to 'tests/testbench/com')
-rw-r--r--tests/testbench/com/vaadin/tests/components/notification/Notifications.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/notification/Notifications.java b/tests/testbench/com/vaadin/tests/components/notification/Notifications.java
index ab632a2a57..97e038dc1a 100644
--- a/tests/testbench/com/vaadin/tests/components/notification/Notifications.java
+++ b/tests/testbench/com/vaadin/tests/components/notification/Notifications.java
@@ -7,6 +7,7 @@ import com.vaadin.ui.Button.ClickEvent;
import com.vaadin.ui.Button.ClickListener;
import com.vaadin.ui.NativeSelect;
import com.vaadin.ui.Notification;
+import com.vaadin.ui.Notification.Type;
import com.vaadin.ui.TextArea;
public class Notifications extends TestBase implements ClickListener {
@@ -52,8 +53,7 @@ public class Notifications extends TestBase implements ClickListener {
@Override
public void buttonClick(ClickEvent event) {
- Notification n = new Notification(tf.getValue(),
- (Integer) type.getValue());
+ Notification n = new Notification(tf.getValue(), (Type) type.getValue());
n.setHtmlContentAllowed(true);
n.show(Page.getCurrent());
}