您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

IndexedContainerListenersTest.java 942B

1234567891011121314151617181920212223242526
  1. package com.vaadin.tests.server;
  2. import org.junit.Test;
  3. import com.vaadin.data.Container.PropertySetChangeEvent;
  4. import com.vaadin.data.Container.PropertySetChangeListener;
  5. import com.vaadin.data.Property.ValueChangeEvent;
  6. import com.vaadin.data.Property.ValueChangeListener;
  7. import com.vaadin.data.util.IndexedContainer;
  8. import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
  9. public class IndexedContainerListenersTest extends
  10. AbstractListenerMethodsTestBase {
  11. @Test
  12. public void testValueChangeListenerAddGetRemove() throws Exception {
  13. testListenerAddGetRemove(IndexedContainer.class,
  14. ValueChangeEvent.class, ValueChangeListener.class);
  15. }
  16. @Test
  17. public void testPropertySetChangeListenerAddGetRemove() throws Exception {
  18. testListenerAddGetRemove(IndexedContainer.class,
  19. PropertySetChangeEvent.class, PropertySetChangeListener.class);
  20. }
  21. }