Author: ljelinko
Date: 2012-08-24 10:11:54 -0400 (Fri, 24 Aug 2012)
New Revision: 43223
Modified:
branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java
Log:
Added special treatment for Windows.
Modified:
branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java
===================================================================
---
branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java 2012-08-24
13:36:32 UTC (rev 43222)
+++
branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server/MarkFileAsDeployableTask.java 2012-08-24
14:11:54 UTC (rev 43223)
@@ -6,7 +6,6 @@
import java.awt.Robot;
import java.awt.event.KeyEvent;
-import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.jboss.tools.portlet.ui.bot.entity.WorkspaceFile;
import org.jboss.tools.portlet.ui.bot.task.AbstractSWTTask;
import org.jboss.tools.portlet.ui.bot.task.workspace.FileContextMenuSelectingTask;
@@ -28,25 +27,10 @@
@Override
public void perform() {
- System.out.println("*** Shells: ***");
- SWTBotShell activeShell = SWTBotFactory.getBot().activeShell();
- System.out.println("A: " + activeShell.getText());
- for (SWTBotShell shell : SWTBotFactory.getBot().shells()){
- System.out.println(shell.getText());
- }
-
-
performInnerTask(new FileContextMenuSelectingTask(workspaceFile, "Mark as
Deployable"));
SWTBotFactory.getBot().waitUntil(shellIsActive("Really mark these resources as
deployable?"));
- System.out.println("---------");
- activeShell = SWTBotFactory.getBot().activeShell();
- System.out.println("A: " + activeShell.getText());
- for (SWTBotShell shell : SWTBotFactory.getBot().shells()){
- System.out.println(shell.getText());
- }
-
// for the confirmation dialog select OK (the dialog is native and normal swtbot
functions do now work)
try {
Robot robot = new Robot();
Show replies by date