Author: vpakan(a)redhat.com
Date: 2010-03-23 11:28:45 -0400 (Tue, 23 Mar 2010)
New Revision: 20983
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
Log:
Import proper Activator class.
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-03-23
15:25:38 UTC (rev 20982)
+++
trunk/vpe/tests/org.jboss.tools.vpe.ui.bot.test/src/org/jboss/tools/vpe/ui/bot/test/VPEAutoTestCase.java 2010-03-23
15:28:45 UTC (rev 20983)
@@ -15,7 +15,7 @@
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
import org.jboss.tools.test.TestProperties;
-import org.jboss.tools.ui.bot.test.Activator;
+import org.jboss.tools.vpe.ui.bot.test.Activator;
import org.jboss.tools.ui.bot.test.JBTSWTBotTestCase;
import org.jboss.tools.ui.bot.test.SWTBotJSPMultiPageEditor;
import org.jboss.tools.ui.bot.test.WidgetVariables;
@@ -235,7 +235,14 @@
}
protected String getPathToResources(String testPage) throws IOException {
- String filePath =
FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+"resources/"+testPage;
//$NON-NLS-1$//$NON-NLS-2$
+ String filePath = FileLocator
+ .toFileURL(
+ Platform.getBundle(Activator.PLUGIN_ID)
+ .getEntry("/"))
+ .getFile()+
+ "resources/"
+ +
+ testPage; //$NON-NLS-1$//$NON-NLS-2$
File file = new File(filePath);
if (!file.isFile()) {
filePath =
FileLocator.toFileURL(Platform.getBundle(Activator.PLUGIN_ID).getEntry("/")).getFile()+testPage;
//$NON-NLS-1$
Show replies by date