Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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