Author: lzoubek(a)redhat.com
Date: 2011-03-02 04:48:27 -0500 (Wed, 02 Mar 2011)
New Revision: 29442
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java
Log:
swtbotext: fixed NPE
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java 2011-03-02
09:34:45 UTC (rev 29441)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/config/requirement/SetProperties.java 2011-03-02
09:48:27 UTC (rev 29442)
@@ -13,6 +13,7 @@
@Override
public boolean checkFulfilled() {
+ if (TestConfigurator.currentConfig.getSecureStorage()!=null)
SWTTestExt.configuredState.setSecureStoragePassword(TestConfigurator.currentConfig.getSecureStorage().password);
return true;
}
Show replies by date