1 package com.vaadin.tests.server.component.abstractfield;
3 import com.vaadin.data.Property.ReadOnlyStatusChangeEvent;
4 import com.vaadin.data.Property.ReadOnlyStatusChangeListener;
5 import com.vaadin.data.Property.ValueChangeEvent;
6 import com.vaadin.data.Property.ValueChangeListener;
7 import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
8 import com.vaadin.ui.CheckBox;
10 public class AbstractFieldListenersTest extends AbstractListenerMethodsTestBase {
11 public void testReadOnlyStatusChangeListenerAddGetRemove() throws Exception {
12 testListenerAddGetRemove(CheckBox.class,
13 ReadOnlyStatusChangeEvent.class,
14 ReadOnlyStatusChangeListener.class);
17 public void testValueChangeListenerAddGetRemove() throws Exception {
18 testListenerAddGetRemove(CheckBox.class, ValueChangeEvent.class,
19 ValueChangeListener.class);