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.

AbstractContainerListenersTest.java 955B

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