From: Artur Signell Date: Fri, 11 Sep 2009 14:26:36 +0000 (+0000) Subject: Test case for #3345 X-Git-Tag: 6.7.0.beta1~2482 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8047da6591865600508e28ba76990b913da4fff2;p=vaadin-framework.git Test case for #3345 svn changeset:8743/svn branch:6.1 --- 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; + } + +}