aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-server/src/test
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-22 22:58:05 +0300
committerArtur Signell <artur@vaadin.com>2016-08-24 09:52:03 +0300
commitfa2a40b38e8f06632f9b89c9acea1ed0d40c3410 (patch)
tree6dc536909086d04f88006be0c21480949047d665 /compatibility-server/src/test
parent33b0e33c86613eab9811da30916d55d4f5f77930 (diff)
downloadvaadin-framework-fa2a40b38e8f06632f9b89c9acea1ed0d40c3410.tar.gz
vaadin-framework-fa2a40b38e8f06632f9b89c9acea1ed0d40c3410.zip
Move Item to compatibility package
Change-Id: I51ad45a18d2dcfbd582c7e4bdcca99300d20cee0
Diffstat (limited to 'compatibility-server/src/test')
-rw-r--r--compatibility-server/src/test/java/com/vaadin/tests/server/PropertysetItemListenersTest.java14
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/table/TableListenersTest.java4
-rw-r--r--compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/tree/TreeListenersTest.java4
3 files changed, 18 insertions, 4 deletions
diff --git a/compatibility-server/src/test/java/com/vaadin/tests/server/PropertysetItemListenersTest.java b/compatibility-server/src/test/java/com/vaadin/tests/server/PropertysetItemListenersTest.java
new file mode 100644
index 0000000000..883130db32
--- /dev/null
+++ b/compatibility-server/src/test/java/com/vaadin/tests/server/PropertysetItemListenersTest.java
@@ -0,0 +1,14 @@
+package com.vaadin.tests.server;
+
+import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
+import com.vaadin.v7.data.Item.PropertySetChangeEvent;
+import com.vaadin.v7.data.Item.PropertySetChangeListener;
+import com.vaadin.v7.data.util.PropertysetItem;
+
+public class PropertysetItemListenersTest
+ extends AbstractListenerMethodsTestBase {
+ public void testPropertySetChangeListenerAddGetRemove() throws Exception {
+ testListenerAddGetRemove(PropertysetItem.class,
+ PropertySetChangeEvent.class, PropertySetChangeListener.class);
+ }
+}
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/table/TableListenersTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/table/TableListenersTest.java
index 7f76b1c112..155f60f7ee 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/table/TableListenersTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/table/TableListenersTest.java
@@ -2,9 +2,9 @@ package com.vaadin.v7.tests.server.component.table;
import org.junit.Test;
-import com.vaadin.event.ItemClickEvent;
-import com.vaadin.event.ItemClickEvent.ItemClickListener;
import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
+import com.vaadin.v7.event.ItemClickEvent;
+import com.vaadin.v7.event.ItemClickEvent.ItemClickListener;
import com.vaadin.v7.ui.Table;
import com.vaadin.v7.ui.Table.ColumnReorderEvent;
import com.vaadin.v7.ui.Table.ColumnReorderListener;
diff --git a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/tree/TreeListenersTest.java b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/tree/TreeListenersTest.java
index a7831dc628..b4b357ff7e 100644
--- a/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/tree/TreeListenersTest.java
+++ b/compatibility-server/src/test/java/com/vaadin/v7/tests/server/component/tree/TreeListenersTest.java
@@ -2,9 +2,9 @@ package com.vaadin.v7.tests.server.component.tree;
import org.junit.Test;
-import com.vaadin.event.ItemClickEvent;
-import com.vaadin.event.ItemClickEvent.ItemClickListener;
import com.vaadin.tests.server.component.AbstractListenerMethodsTestBase;
+import com.vaadin.v7.event.ItemClickEvent;
+import com.vaadin.v7.event.ItemClickEvent.ItemClickListener;
import com.vaadin.v7.ui.Tree;
import com.vaadin.v7.ui.Tree.CollapseEvent;
import com.vaadin.v7.ui.Tree.CollapseListener;