1 package com.vaadin.tests.server.component.abstracttextfield;
3 import com.vaadin.event.FieldEvents.BlurEvent;
4 import com.vaadin.event.FieldEvents.BlurListener;
5 import com.vaadin.event.FieldEvents.FocusEvent;
6 import com.vaadin.event.FieldEvents.FocusListener;
7 import com.vaadin.event.FieldEvents.TextChangeEvent;
8 import com.vaadin.event.FieldEvents.TextChangeListener;
9 import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
10 import com.vaadin.ui.TextField;
12 public class AbstractTextFieldListenersTest extends
13 AbstractListenerMethodsTestBase {
14 public void testTextChangeListenerAddGetRemove() throws Exception {
15 testListenerAddGetRemove(TextField.class, TextChangeEvent.class,
16 TextChangeListener.class);
19 public void testFocusListenerAddGetRemove() throws Exception {
20 testListenerAddGetRemove(TextField.class, FocusEvent.class,
24 public void testBlurListenerAddGetRemove() throws Exception {
25 testListenerAddGetRemove(TextField.class, BlurEvent.class,