Author: vpakan(a)redhat.com
Date: 2011-03-07 09:08:40 -0500 (Mon, 07 Mar 2011)
New Revision: 29565
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java
Log:
Properties variable renamed to props
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java 2011-03-07
11:00:54 UTC (rev 29564)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java 2011-03-07
14:08:40 UTC (rev 29565)
@@ -93,10 +93,10 @@
@BeforeClass
public static void setUpTest() {
jbt.closeReportUsageWindowIfOpened(false);
- properties = util.loadProperties(Activator.PLUGIN_ID);
- String useExternalDroolRuntime =
properties.getProperty(DroolsAllBotTests.USE_EXTERNAL_DROOLS_RUNTIME_PROPERTY_NAME);
+ props = util.loadProperties(Activator.PLUGIN_ID);
+ String useExternalDroolRuntime =
props.getProperty(DroolsAllBotTests.USE_EXTERNAL_DROOLS_RUNTIME_PROPERTY_NAME);
DroolsAllBotTests.USE_EXTERNAL_DROOLS_RUNTIME = useExternalDroolRuntime != null
&& useExternalDroolRuntime.equalsIgnoreCase("true");
- String droolsRuntimeLocation =
properties.getProperty(DroolsAllBotTests.EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME);
+ String droolsRuntimeLocation =
props.getProperty(DroolsAllBotTests.EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME);
String tmpDir = System.getProperty("java.io.tmpdir");
if (droolsRuntimeLocation == null || droolsRuntimeLocation.length() ==0){
DroolsAllBotTests.DROOLS_RUNTIME_LOCATION = tmpDir;
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-03-07
11:00:54 UTC (rev 29564)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/SWTTestExt.java 2011-03-07
14:08:40 UTC (rev 29565)
@@ -50,7 +50,7 @@
*/
public static final ConfiguredState configuredState = new ConfiguredState();
- private static Properties props;
+ public static Properties props;
/**
* Get properties for tests
* @param key
Show replies by date