Author: akazakov
Date: 2010-04-12 17:30:29 -0400 (Mon, 12 Apr 2010)
New Revision: 21446
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.java
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.new
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.original
Log:
Added JUnit test for
https://jira.jboss.org/jira/browse/JBIDE-6176
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.java
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.java 2010-04-12
21:30:29 UTC (rev 21446)
@@ -0,0 +1,4 @@
+package org.domain.SeamWebWarTestProject.session;
+
+public class FactoryTest {
+}
\ No newline at end of file
Property changes on:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.new
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.new
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.new 2010-04-12
21:30:29 UTC (rev 21446)
@@ -0,0 +1,25 @@
+package org.domain.SeamWebWarTestProject.session;
+
+import java.util.List;
+
+import org.jboss.seam.ScopeType;
+import org.jboss.seam.annotations.Factory;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Out;
+import org.jboss.seam.annotations.datamodel.DataModel;
+import org.jboss.seam.annotations.datamodel.DataModelSelection;
+
+@Name("factoryTestName")
+public class FactoryTest {
+ @DataModel("somethings")
+ @Out
+ private List<String> somethingList;
+
+ @DataModelSelection
+ @Out(value = "something", required = false, scope = ScopeType.SESSION)
+ private String selectedSomething;
+
+ @Factory(value = "somethings") // !Error is displayed right here!
+ public void findSomething() {
+ }
+}
\ No newline at end of file
Added:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.original
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.original
(rev 0)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/src/action/org/domain/SeamWebWarTestProject/session/FactoryTest.original 2010-04-12
21:30:29 UTC (rev 21446)
@@ -0,0 +1,4 @@
+package org.domain.SeamWebWarTestProject.session;
+
+public class FactoryTest {
+}
\ No newline at end of file