]> source.dussan.org Git - vaadin-framework.git/blob
51cc9fe1f844cacb27410faae21fc961d8a45763
[vaadin-framework.git] /
1 package com.vaadin.tests.server.component.abstractcomponentcontainer;\r
2 \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
10 \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
15     }\r
16 \r
17     public void testComponentAttachListenerAddGetRemove() throws Exception {\r
18         testListenerAddGetRemove(VerticalLayout.class,\r
19                 ComponentAttachEvent.class, ComponentAttachListener.class);\r
20     }\r
21 }\r