Author: jjankovi
Date: 2012-08-27 02:35:38 -0400 (Mon, 27 Aug 2012)
New Revision: 43235
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ErrorLogView.java
Log:
added method for obtaining errors tree items from error log
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ErrorLogView.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ErrorLogView.java 2012-08-25
09:35:49 UTC (rev 43234)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ErrorLogView.java 2012-08-27
06:35:38 UTC (rev 43235)
@@ -29,6 +29,10 @@
for (SWTBotTreeItem i : items)
passTree(i);
}
+
+ public SWTBotTreeItem[] getMessages() {
+ return getView().bot().tree().getAllItems();
+ }
private void passTree(SWTBotTreeItem item) {
int i = 0;