You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }