aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
+ }
+
+}