Author: lzoubek(a)redhat.com
Date: 2011-02-24 10:57:12 -0500 (Thu, 24 Feb 2011)
New Revision: 29314
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java
Log:
swtbotext: added properties view static instance to test base class
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java 2011-02-24
15:55:42 UTC (rev 29313)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java 2011-02-24
15:57:12 UTC (rev 29314)
@@ -18,6 +18,7 @@
import org.jboss.tools.ui.bot.ext.view.PackageExplorer;
import org.jboss.tools.ui.bot.ext.view.ProblemsView;
import org.jboss.tools.ui.bot.ext.view.ProjectExplorer;
+import org.jboss.tools.ui.bot.ext.view.PropertiesView;
import org.jboss.tools.ui.bot.ext.view.ServersView;
/**
* Base class for SWTBot Tests using SWTBotExt
@@ -39,6 +40,7 @@
public static final ServersView servers = new ServersView();
public static final ProblemsView problems = new ProblemsView();
public static final ConsoleView console = new ConsoleView();
+ public static final PropertiesView properties = new PropertiesView();
// config & state
/**
@@ -48,13 +50,13 @@
*/
public static final ConfiguredState configuredState = new ConfiguredState();
- public static Properties properties;
+ private static Properties props;
/**
* Get properties for tests
* @param key
*/
public static String getProperty(String key) {
- return util.getValue(properties,key);
+ return util.getValue(props,key);
}
static {
System.setProperty("org.eclipse.swtbot.playback.delay","10");
Show replies by date