1 package com.vaadin.tests.server.component.abstractcomponentcontainer;
\r
3 import com.vaadin.tests.server.component.ListenerMethods;
\r
4 import com.vaadin.ui.ComponentContainer.ComponentAttachEvent;
\r
5 import com.vaadin.ui.ComponentContainer.ComponentAttachListener;
\r
6 import com.vaadin.ui.ComponentContainer.ComponentDetachEvent;
\r
7 import com.vaadin.ui.ComponentContainer.ComponentDetachListener;
\r
8 import com.vaadin.ui.HorizontalLayout;
\r
9 import com.vaadin.ui.VerticalLayout;
\r
11 public class TestAbstractComponentContainerListeners extends ListenerMethods {
\r
12 public void testComponentDetachListenerAddGetRemove() throws Exception {
\r
13 testListenerAddGetRemove(HorizontalLayout.class,
\r
14 ComponentDetachEvent.class, ComponentDetachListener.class);
\r
17 public void testComponentAttachListenerAddGetRemove() throws Exception {
\r
18 testListenerAddGetRemove(VerticalLayout.class,
\r
19 ComponentAttachEvent.class, ComponentAttachListener.class);
\r