]> source.dussan.org Git - vaadin-framework.git/blob
def3ceb64334586c319c16c5dcf49dd98e0eddef
[vaadin-framework.git] /
1 package com.vaadin.tests.server.component.abstractfield;
2
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;
9
10 public class AbstractFieldListenersTest extends AbstractListenerMethodsTestBase {
11     public void testReadOnlyStatusChangeListenerAddGetRemove() throws Exception {
12         testListenerAddGetRemove(CheckBox.class,
13                 ReadOnlyStatusChangeEvent.class,
14                 ReadOnlyStatusChangeListener.class);
15     }
16
17     public void testValueChangeListenerAddGetRemove() throws Exception {
18         testListenerAddGetRemove(CheckBox.class, ValueChangeEvent.class,
19                 ValueChangeListener.class);
20     }
21 }