[jbosstools-commits] JBoss Tools SVN: r43241 - branches/jbosstools-3.3.x/portlet/tests/org.jboss.tools.portlet.ui.bot.test/src/org/jboss/tools/portlet/ui/bot/task/server.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Aug 27 03:36:06 EDT 2012


Author: ljelinko
Date: 2012-08-27 03:36:06 -0400 (Mon, 27 Aug 2012)
New Revision: 43241

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 logging of all widgets. 

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-27 07:19:48 UTC (rev 43240)
+++ 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-27 07:36:06 UTC (rev 43241)
@@ -7,6 +7,7 @@
 import org.jboss.tools.portlet.ui.bot.task.AbstractSWTTask;
 import org.jboss.tools.portlet.ui.bot.task.workspace.FileContextMenuSelectingTask;
 import org.jboss.tools.ui.bot.ext.SWTBotFactory;
+import org.jboss.tools.ui.bot.ext.logging.WidgetsLogger;
 
 /**
  * Marks a file as deployable for the specified server (it works only if there is just one server defined) 
@@ -32,6 +33,7 @@
 		log.info("Waiting for confirmation shell to appear");
 		SWTBotFactory.getBot().waitUntil(shellIsActive("Really mark these resources as deployable?"));
 
+		WidgetsLogger.log();
 		getBot().button("OK").click();
 		
 		log.info("Waiting for confirmation shell to disappear");



More information about the jbosstools-commits mailing list