Author: ljelinko
Date: 2012-05-16 11:02:26 -0400 (Wed, 16 May 2012)
New Revision: 41071
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java
Log:
Removed code not needed any more.
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java
===================================================================
---
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java 2012-05-16
14:25:30 UTC (rev 41070)
+++
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/RichFacesPortletExampleGatein.java 2012-05-16
15:02:26 UTC (rev 41071)
@@ -9,12 +9,8 @@
*/
public class RichFacesPortletExampleGatein extends AbstractPortletExampleGatein {
- private static final String PROJECT_NAME_IN_WIZARD = "RichFacesPortlet";
-
private static final String PROJECT_NAME_IN_WORKSPACE = "RichfacesPortlet";
- private int getProjectNameMethodCallCounter = 0;
-
@Override
public String getExampleName() {
return "JBoss Portlet Bridge - RichFaces Application";
@@ -22,11 +18,6 @@
@Override
public String[] getProjectNames() {
- // an ugly hack to pass the assert that the project name in wizard is the same as
project name in workspace
- if (getProjectNameMethodCallCounter <= 1){
- getProjectNameMethodCallCounter++;
- return new String[]{PROJECT_NAME_IN_WIZARD};
- }
return new String[]{PROJECT_NAME_IN_WORKSPACE};
}
}
Modified:
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java
===================================================================
---
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java 2012-05-16
14:25:30 UTC (rev 41070)
+++
trunk/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/test/example/SeamPortletExampleGatein.java 2012-05-16
15:02:26 UTC (rev 41071)
@@ -17,16 +17,12 @@
@Require(db=@DB, seam=@Seam, server=(a)Server(version="5.0",
operator=">", state=ServerState.Running, type=ServerType.EPP))
public class SeamPortletExampleGatein extends AbstractPortletExampleGatein {
- private static final String PROJECT_NAME_IN_WIZARD = "SeamPortlet";
-
private static final String PROJECT_NAME_EAR = "seam-portlet-ear";
private static final String PROJECT_NAME_EJB = "seam-portlet-ejb";
private static final String PROJECT_NAME_WAR = "seam-portlet-web";
- private int getProjectNameMethodCallCounter = 0;
-
@Override
public String getExampleName() {
return "JBoss Portlet Bridge - Seam Portlet";
@@ -34,11 +30,6 @@
@Override
public String[] getProjectNames() {
- // an ugly hack to pass the assert that the project name in wizard is the same as
project name in workspace
- if (getProjectNameMethodCallCounter <= 1){
- getProjectNameMethodCallCounter++;
- return new String[]{PROJECT_NAME_IN_WIZARD};
- }
return new String[]{PROJECT_NAME_EAR, PROJECT_NAME_EJB, PROJECT_NAME_WAR};
}
}
Show replies by date