Author: abelevich
Date: 2011-01-27 12:23:33 -0500 (Thu, 27 Jan 2011)
New Revision: 21289
Added:
trunk/ui/dnd/ui/src/test/
trunk/ui/dnd/ui/src/test/java/
trunk/ui/dnd/ui/src/test/java/org/
trunk/ui/dnd/ui/src/test/java/org/richfaces/
trunk/ui/dnd/ui/src/test/java/org/richfaces/component/
trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragIndicatorTest.java
trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragSourceTest.java
trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDropTargetTest.java
Log:
https://issues.jboss.org/browse/RF-9772 dragBehavior: unit tests development
https://issues.jboss.org/browse/RF-9802 dropBehavior: unit test development
Added: trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragIndicatorTest.java
===================================================================
--- trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragIndicatorTest.java
(rev 0)
+++
trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragIndicatorTest.java 2011-01-27
17:23:33 UTC (rev 21289)
@@ -0,0 +1,19 @@
+package org.richfaces.component;
+
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+public class UIDragIndicatorTest {
+ private UIDragIndicator indicator;
+
+ @Before
+ public void setUp () {
+ indicator = new UIDragIndicator();
+ }
+
+ @Test
+ public void testSomething() {
+ Assert.assertNotNull(indicator);
+ }
+}
Added: trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragSourceTest.java
===================================================================
--- trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragSourceTest.java
(rev 0)
+++ trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDragSourceTest.java 2011-01-27
17:23:33 UTC (rev 21289)
@@ -0,0 +1,19 @@
+package org.richfaces.component;
+
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+public class UIDragSourceTest {
+ private UIDragSource dragSource;
+
+ @Before
+ public void setUp () {
+ dragSource = new UIDragSource();
+ }
+
+ @Test
+ public void testSomething() {
+ Assert.assertNotNull(dragSource);
+ }
+}
Added: trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDropTargetTest.java
===================================================================
--- trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDropTargetTest.java
(rev 0)
+++ trunk/ui/dnd/ui/src/test/java/org/richfaces/component/UIDropTargetTest.java 2011-01-27
17:23:33 UTC (rev 21289)
@@ -0,0 +1,19 @@
+package org.richfaces.component;
+
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+public class UIDropTargetTest {
+ private UIDropTarget dragTarget;
+
+ @Before
+ public void setUp () {
+ dragTarget = new UIDropTarget();
+ }
+
+ @Test
+ public void testSomething() {
+ Assert.assertNotNull(dragTarget);
+ }
+}