aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-09-11 14:26:36 +0000
committerArtur Signell <artur.signell@itmill.com>2009-09-11 14:26:36 +0000
commit8047da6591865600508e28ba76990b913da4fff2 (patch)
tree87913fe1db9f4d7fe443edb7c5905a21a52aba36
parentb79336b12caa69c88df9b299ff60e52079ddd7f9 (diff)
downloadvaadin-framework-8047da6591865600508e28ba76990b913da4fff2.tar.gz
vaadin-framework-8047da6591865600508e28ba76990b913da4fff2.zip
Test case for #3345
svn changeset:8743/svn branch:6.1
-rw-r--r--src/com/vaadin/tests/components/combobox/ComboxBoxErrorMessage.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/com/vaadin/tests/components/combobox/ComboxBoxErrorMessage.java b/src/com/vaadin/tests/components/combobox/ComboxBoxErrorMessage.java
new file mode 100644
index 0000000000..a6eaf7d3e6
--- /dev/null
+++ b/src/com/vaadin/tests/components/combobox/ComboxBoxErrorMessage.java
@@ -0,0 +1,26 @@
+package com.vaadin.tests.components.combobox;
+
+import com.vaadin.tests.components.TestBase;
+import com.vaadin.ui.ComboBox;
+
+public class ComboxBoxErrorMessage extends TestBase {
+
+ @Override
+ protected void setup() {
+ ComboBox cb = new ComboBox("");
+ cb.setRequired(true);
+ cb.setRequiredError("You must select something");
+ addComponent(cb);
+ }
+
+ @Override
+ protected String getDescription() {
+ return "The ComboBox should show an \"You must select something\" tooltip when the cursor is hovering it. Both when hovering the textfield and the dropdown button.";
+ }
+
+ @Override
+ protected Integer getTicketNumber() {
+ return 3345;
+ }
+
+}