Author: dazarov
Date: 2009-05-19 09:24:49 -0400 (Tue, 19 May 2009)
New Revision: 15344
Removed:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.jsp
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.properties
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/WEB-INF/components.xml
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4326
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/WEB-INF/components.xml
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/WEB-INF/components.xml 2009-05-19
12:07:13 UTC (rev 15343)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1/WebContent/WEB-INF/components.xml 2009-05-19
13:24:49 UTC (rev 15344)
@@ -13,6 +13,8 @@
http://jboss.com/products/seam/components
http://jboss.com/products/seam/components-1.2.xsd">
<core:init debug="true"
jndi-pattern="Test1/#{ejbName}/local"/>
+
+ <component class="org.domain.Test1.session.TestComponent"
name="test" />
<core:manager concurrent-request-timeout="500"
conversation-timeout="120000"
@@ -33,6 +35,9 @@
<security:identity authenticate-method="#{authenticator.authenticate}"
security-rules="#{securityRules}"/>
+
+ <security:identity authenticate-method="#{test.value}"
+ security-rules="#{securityRules}"/>
<event type="org.jboss.seam.notLoggedIn">
<action expression="#{redirect.captureCurrentView}"/>
Deleted:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.jsp
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.jsp 2009-05-19
12:07:13 UTC (rev 15343)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.jsp 2009-05-19
13:24:49 UTC (rev 15344)
@@ -1,12 +0,0 @@
-<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
-<html>
- <head>
- <title></title>
- </head>
- <body>
- <f:view>
- <h:outputText value="Test value is #{test.value}!" />
- </f:view>
- </body>
-</html>
Deleted:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.properties
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.properties 2009-05-19
12:07:13 UTC (rev 15343)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/Test1-ear/EarContent/test.properties 2009-05-19
13:24:49 UTC (rev 15344)
@@ -1 +0,0 @@
-TEST_VALUE = This value is #{test.value}!
\ No newline at end of file
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java 2009-05-19
12:07:13 UTC (rev 15343)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java 2009-05-19
13:24:49 UTC (rev 15344)
@@ -67,14 +67,14 @@
TestChangeStructure structure = new TestChangeStructure(ejbProject.getProject(),
"/ejbModule/org/domain/"+warProjectName+"/session/TestComponent.java",
89, 6, "\"best\"");
list.add(structure);
- /*
- structure = new TestChangeStructure("/WebContent/WEB-INF/components.xml",
- 2660, 6, "best");
+
+ structure = new TestChangeStructure(warProject,
"/WebContent/WEB-INF/components.xml",
+ 1106, 4, "best");
list.add(structure);
- structure = new TestChangeStructure("/WebContent/WEB-INF/components.xml",
- 2756, 4, "best");
+ structure = new TestChangeStructure(warProject,
"/WebContent/WEB-INF/components.xml",
+ 1934, 4, "best");
list.add(structure);
- */
+
structure = new TestChangeStructure(ejbProject,
"/ejbModule/org/domain/"+warProjectName+"/session/TestSeamComponent.java",
420, 11, "@In(\"best\")");
list.add(structure);
@@ -107,17 +107,6 @@
29, 4, "best");
list.add(structure);
-// structure = new TestChangeStructure(earProject, "/EarContent/test.jsp",
-// 227, 4, "best");
-// list.add(structure);
-//
-// structure = new TestChangeStructure(earProject,
"/EarContent/test.properties",
-// 29, 4, "best");
-// list.add(structure);
-
- /*
-
- */
renameComponent(seamEjbProject, "test", "best", list);
}