Author: ldimaggio
Date: 2012-10-03 11:46:42 -0400 (Wed, 03 Oct 2012)
New Revision: 44249
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
Log:
Still debugging edit test on Jenkins - is the editor not active?
Modified:
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java
===================================================================
---
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2012-10-03
15:26:41 UTC (rev 44248)
+++
trunk/esb/tests/org.jboss.tools.esb.ui.bot.test/src/org/jboss/tools/esb/ui/bot/tests/Editing.java 2012-10-03
15:46:42 UTC (rev 44249)
@@ -122,6 +122,10 @@
@Test
public void listeners() {
+
+ SWTBotEditor editor = getEditor();
+ log.error("Listeners Editor is active = " + editor.isActive());
+
String service = "aaa";
addService(service);
List<String> listenerList = getAvailableListeners(service);
@@ -169,8 +173,12 @@
log.error("actions - cannot add a service");
e.printStackTrace();
SWTBotEditor editor = getEditor();
- log.error("Editor is active = " + editor.isActive());
- org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(editor.bot());
+ log.error("Actions Editor is active = " + editor.isActive());
+// org.jboss.tools.ui.bot.ext.SWTUtilExt.displayAllBotWidgets(editor.bot());
+ SWTBotShell [] theShells = editor.bot().shells();
+ for (SWTBotShell s : theShells) {
+ log.error("DEBUG - the shell is: " + s.getText());
+ }
bot.sleep(30000l);
addService(service);
}
Show replies by date