Author: vpakan(a)redhat.com
Date: 2011-05-25 09:51:37 -0400 (Wed, 25 May 2011)
New Revision: 31471
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties
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/smoke/GuidedDroolsRulesEditorTest.java
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRules.java
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ExplorerBase.java
Log:
Fixes for JBT 3.3.0.M1
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/resources/project.properties 2011-05-25
13:51:37 UTC (rev 31471)
@@ -0,0 +1,3 @@
+use-external-drools-runtime=true
+guvnor-repository-url=/jboss-brms/org.drools.guvnor.Guvnor/webdav
+external-drools-runtime-home=/home/vpakan/tmp/drools
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-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/DroolsAllBotTests.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -68,11 +68,16 @@
public static final String RULE_FLOW_JAVA_TEST_FILE_NAME =
"ProcessTest.java";
public static final String RULE_FLOW_RF_FILE_NAME = "ruleflow.rf";
public static final String DECISION_TABLE_JAVA_TEST_FILE_NAME =
"DecisionTableTest.java";
- public static final String USE_EXTERNAL_DROOLS_RUNTIME_PROPERTY_NAME=
"use-external-drools-runtime";
- public static final String EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME=
"external-drools-runtime-home";
+ public static final String USE_EXTERNAL_DROOLS_RUNTIME_PROPERTY_NAME =
"use-external-drools-runtime";
+ public static final String EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME =
"external-drools-runtime-home";
+ public static final String GUVNOR_REPOSITORY_URL_PROPERTY_NAME =
"guvnor-repository-url";
private static boolean USE_EXTERNAL_DROOLS_RUNTIME;
private static String testDroolsRuntimeName = null;
+ private static String testDroolsRuntimeLocation = null;
+ private static String guvnorRepositoryUrl = null;
+ private static String guvnorRepositoryRootTreeItem =
"http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/webdav/";
+
public static String getTestDroolsRuntimeName() {
return testDroolsRuntimeName;
}
@@ -88,12 +93,33 @@
public static void setTestDroolsRuntimeLocation(String testDroolsRuntimeLocation) {
DroolsAllBotTests.testDroolsRuntimeLocation = testDroolsRuntimeLocation;
}
+
+ public static String getGuvnorRepositoryUrl() {
+ return guvnorRepositoryUrl;
+ }
- private static String testDroolsRuntimeLocation = null;
+ private static void setGuvnorRepositoryUrl(String guvnorRepositoryUrl) {
+ DroolsAllBotTests.guvnorRepositoryUrl = guvnorRepositoryUrl;
+ }
+
+ public static String getGuvnorRepositoryRootTreeItem() {
+ return guvnorRepositoryRootTreeItem;
+ }
+
+ private static void setGuvnorRepositoryRootTreeItem(
+ String guvnorRepositoryRootTreeItem) {
+ DroolsAllBotTests.guvnorRepositoryRootTreeItem = guvnorRepositoryRootTreeItem;
+ }
+
@BeforeClass
public static void setUpTest() {
jbt.closeReportUsageWindowIfOpened(false);
props = util.loadProperties(Activator.PLUGIN_ID);
+ String guvnorRepositoryUrl =
props.getProperty(DroolsAllBotTests.GUVNOR_REPOSITORY_URL_PROPERTY_NAME);
+ if (guvnorRepositoryUrl != null){
+ DroolsAllBotTests.setGuvnorRepositoryUrl(guvnorRepositoryUrl);
+ DroolsAllBotTests.setGuvnorRepositoryRootTreeItem("http://localhost:8080"
+ guvnorRepositoryUrl);
+ }
String useExternalDroolRuntime =
props.getProperty(DroolsAllBotTests.USE_EXTERNAL_DROOLS_RUNTIME_PROPERTY_NAME);
DroolsAllBotTests.USE_EXTERNAL_DROOLS_RUNTIME = useExternalDroolRuntime != null
&& useExternalDroolRuntime.equalsIgnoreCase("true");
String droolsRuntimeLocation =
props.getProperty(DroolsAllBotTests.EXTERNAL_DROOLS_RUTIME_HOME_PROPERTY_NAME);
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuidedDroolsRulesEditorTest.java
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuidedDroolsRulesEditorTest.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuidedDroolsRulesEditorTest.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -128,10 +128,10 @@
ruleEditor.selectPage(2);
String editorContent = droolsEditor.getText();
assertTrue(DroolsAllBotTests.GUIDED_DROOLS_RULE_NAME +
- " has to contain text: List( empty == \"true\" )\n" +
+ " has to contain text: List( empty == true )\n" +
"but it doesn't.\n" +
"It contains this text: " + editorContent,
- editorContent.replaceAll("
","").indexOf("List(empty==\"true\")") > 0);
+ editorContent.replaceAll("
","").indexOf("List(empty==true)") > 0);
}
/**
* Removes Drools Rule Condition from Guided Drools Rule
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/GuvnorRepositoriesTest.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -63,7 +63,8 @@
private static final String GUVNOR_REPOSITORY_HISTORY_TEST_FILE =
"MortgageModel.model.drl";
private static final String GUVNOR_USER_NAME = "admin";
private static final String GUVNOR_PASSWORD = "admin";
- private GuvnorRepositories guvnorRepositories = new GuvnorRepositories();
+ private GuvnorRepositories guvnorRepositories = new GuvnorRepositories();
+
/**
* Tests Guvnor Repositories
*/
@@ -94,7 +95,13 @@
IDELabel.GuvnorRepositories.ADD_GUVNOR_REPOSITORY_TOOLTIP)
.click();
eclipse.waitForShell("");
- guvnorRepositoriesBot.activeShell().bot().button(IDELabel.Button.FINISH).click();
+ SWTBot addGuvnorRepositoryDialog = guvnorRepositoriesBot.activeShell().bot();
+ String guvnorRepositoryUrl = DroolsAllBotTests.getGuvnorRepositoryUrl();
+ if (guvnorRepositoryUrl != null && guvnorRepositoryUrl.length() > 0){
+
addGuvnorRepositoryDialog.textWithLabel(IDELabel.GuvnorAddRepositoryDialog.REPOSITORY)
+ .setText(guvnorRepositoryUrl);
+ }
+ addGuvnorRepositoryDialog.button(IDELabel.Button.FINISH).click();
assertTrue("Guvnor repository was not created properly",
guvnorRepositoriesBot.tree().rowCount() == 1);
}
@@ -149,7 +156,7 @@
guvnorRepositories.show();
-
guvnorRepositories.openFile(Timing.time3S(),IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+
guvnorRepositories.openFile(Timing.time3S(),DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM,
fileToOpen);
@@ -189,7 +196,7 @@
eclipse.openPerspective(PerspectiveType.JAVA);
guvnorRepositories.show().bot();
SWTBotTreeItem tiGuvnorFile =
guvnorRepositories.selectTreeItem(Timing.time3S(),fileName,
- new String[]{IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ new String[]{DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM});
tiGuvnorFile.select();
@@ -236,7 +243,7 @@
IDELabel.Menu.GUVNOR,IDELabel.Menu.GUVNOR_COMMIT);
bot.sleep(Timing.time5S());
editor.close();
- editor =
guvnorRepositories.openFile(Timing.time2S(),IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ editor =
guvnorRepositories.openFile(Timing.time2S(),DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM,
fileName);
@@ -259,7 +266,7 @@
addToGuvnorDialogBot.tree(),
Timing.time3S(),
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM,
- new String[]{IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ new String[]{DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM})
.select();
bot.sleep(Timing.time5S());
@@ -268,7 +275,7 @@
boolean isAddedToGuvnorRepository = false;
try{
guvnorRepositories.selectTreeItem(Timing.time2S(),sampleFileName,
- new String[]{IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ new String[]{DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM});
isAddedToGuvnorRepository = true;
@@ -291,7 +298,7 @@
boolean isRemovedFromGuvnorRepository = false;
try{
guvnorRepositories.selectTreeItem(Timing.time2S(),sampleFileName,
- new String[]{IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ new String[]{DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM});
isRemovedFromGuvnorRepository = false;
@@ -310,7 +317,7 @@
Timing.time5S(),
importFileName,
new String[] {
- IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM }).select();
bot.button(IDELabel.Button.NEXT).click();
@@ -351,7 +358,7 @@
}
private void drillIntoFunctionalityCheck(){
SWTBotView guvnorReposioryView = guvnorRepositories.show();
- SWTBotTreeItem tiRoot =
guvnorRepositories.selectTreeItem(IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,null)
+ SWTBotTreeItem tiRoot =
guvnorRepositories.selectTreeItem(DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),null)
.doubleClick();
bot.sleep(Timing.time5S());
SWTBotShell activeShell = bot.activeShell();
@@ -407,9 +414,9 @@
.click();
guvnorRepositoryBot.sleep(Timing.time3S());
assertTrue("Guvnor repository Home functionality doesn't work
properly.\n" +
- "Expected First Tree Item in Guvnor Repository is " +
IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM +
+ "Expected First Tree Item in Guvnor Repository is " +
DroolsAllBotTests.getGuvnorRepositoryRootTreeItem() +
"\nBut it was " + guvnorRepositoryTree.getAllItems()[0].getText(),
-
IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM.equals(guvnorRepositoryTree.getAllItems()[0].getText()));
+
DroolsAllBotTests.getGuvnorRepositoryRootTreeItem().equals(guvnorRepositoryTree.getAllItems()[0].getText()));
}
/**
* Check Repository History Functionality
@@ -425,7 +432,7 @@
Timing.time5S(),
testFileName,
new String[] {
- IDELabel.GuvnorRepositories.GUVNOR_REPOSITORY_ROOT_TREE_ITEM,
+ DroolsAllBotTests.getGuvnorRepositoryRootTreeItem(),
IDELabel.GuvnorRepositories.PACKAGES_TREE_ITEM,
IDELabel.GuvnorRepositories.MORTGAGE_TREE_ITEM }).select();
bot.button(IDELabel.Button.NEXT).click();
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRules.java
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRules.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRules.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -99,7 +99,7 @@
DroolsAllBotTests.COM_SAMPLE_TREE_NODE});
console.clearConsole();
eclipse.debugTreeItemAsDroolsApplication(tiDroolsTest);
- bot.sleep(Timing.time3S());
+ bot.sleep(Timing.time10S());
eclipse.closeConfirmPerspectiveSwitchShellIfOpened(false);
String consoleText = console.getConsoleText(3*1000L,3*1000L,true);
assertTrue("Drools Rule was not debuged properly.\nConsole content should have
been empty but is:\n" + consoleText,
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/ManageDroolsRuntime.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -160,7 +160,7 @@
DroolsRuntimeManager.setDroolsRuntimes(new DroolsRuntime[]{droolsRuntime});
// Test if Drools runtime is defined
assertTrue("Drools Runtime was not properly created on location: " +
runtimeLocation,
- new File (runtimeLocation + File.separator +
"drools-api.jar").exists());
+ new File (runtimeLocation + File.separator +
"drools-core.jar").exists());
selectDroolsPreferences();
SWTBotTable table = bot.table();
boolean droolsRuntimeCreated =
Modified:
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java
===================================================================
---
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/drools/tests/org.jboss.tools.drools.ui.bot.test/src/org/jboss/tools/drools/ui/bot/test/smoke/RuleFlowTest.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -22,12 +22,8 @@
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
-import org.eclipse.swt.graphics.Rectangle;
-import org.eclipse.swt.widgets.Control;
import org.eclipse.swtbot.eclipse.gef.finder.SWTGefBot;
import org.eclipse.swtbot.eclipse.gef.finder.widgets.SWTBotGefEditor;
-import org.eclipse.swtbot.swt.finder.finders.UIThreadRunnable;
-import org.eclipse.swtbot.swt.finder.results.Result;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
import org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests;
@@ -41,6 +37,7 @@
import org.junit.Test;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
@@ -113,18 +110,11 @@
isEditorMaximized = true;
SWTGefBot gefBot = new SWTGefBot();
SWTBotGefEditor gefEditor = gefBot.gefEditor(ruleFlowFileName);
- final Control editorControl = (Control)gefEditor.getWidget();
- Rectangle editorBounds = UIThreadRunnable.syncExec(new Result<Rectangle>() {
- public Rectangle run() {
- return editorControl.getBounds();
- }
- });
// Clear Editor
- gefEditor.activateTool("Marquee");
- gefEditor.drag(0,0,editorBounds.width - editorBounds.x, editorBounds.height -
editorBounds.y);
gefEditor.setFocus();
- bot.sleep(Timing.time1S());
- KeyboardHelper.typeKeyCodeUsingAWT(KeyEvent.VK_DELETE);
+ deleteAllObjectsFromRFFile(gefEditor,
+ DroolsAllBotTests.DROOLS_PROJECT_NAME,
+ DroolsAllBotTests.RULE_FLOW_RF_FILE_NAME);
// Draw each component
String[] tools = new String[]{"Start Event","End
Event","Rule Task",
"Gateway [diverge]","Gateway [converge]","Reusable
Sub-Process",
@@ -455,4 +445,47 @@
e.printStackTrace();
}
}
+ /**
+ * Delete all objects from RF File
+ * @param gefEditor
+ * @param projectName
+ * @param ruleFlowFileName
+ */
+ private void deleteAllObjectsFromRFFile(SWTBotGefEditor gefEditor, String projectName,
String ruleFlowFileName) {
+
+ Document doc = loadXmlFile(SWTUtilExt.getPathToProject(projectName)
+ + File.separator + RuleFlowTest.RULE_FLOW_FILE_DIRECTORY
+ + File.separator + ruleFlowFileName);
+
+ String errorDescription = null;
+ Element rootNode = doc.getDocumentElement();
+ doc.normalizeDocument();
+ if (rootNode.getNodeName().equals(ROOT_NODE_NAME)) {
+ NodeList rootNodeList = rootNode.getChildNodes();
+ List<Node> rootNodes = removeTextNodes(rootNodeList);
+ if (rootNodes.size() == ROOT_NODE_CHILDREN_COUNT) {
+ Node nodesNode = rootNodes.get(1);
+ errorDescription = checkNodeName(nodesNode, NODES_NODE_NAME);
+ if (errorDescription == null) {
+ List<Node> nodes = removeTextNodes(nodesNode.getChildNodes());
+ for (Node node : nodes){
+ NamedNodeMap attributes = node.getAttributes();
+ int xPos =
Integer.parseInt(attributes.getNamedItem("x").getNodeValue());
+ int yPos =
Integer.parseInt(attributes.getNamedItem("y").getNodeValue());
+ gefEditor.click(xPos + 3, yPos + 3);
+ bot.sleep(Timing.time1S());
+ KeyboardHelper.typeKeyCodeUsingAWT(KeyEvent.VK_DELETE);
+ bot.sleep(Timing.time1S());
+ }
+ }
+ } else {
+ errorDescription = "'" + NODES_NODE_NAME + "'"
+" was not found on expected location within RF file." +
+ " RF file structure has been changed";
+ }
+ } else {
+ errorDescription = "Root Node has to have name '" + ROOT_NODE_NAME +
"'. RF file structure has been changed.";
+ }
+ assertNull(errorDescription,errorDescription);
+ }
+
}
\ No newline at end of file
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/types/IDELabel.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -511,7 +511,6 @@
public static final String ADD_GUVNOR_REPOSITORY_TOOLTIP = "Add a Guvnor
respository connection";
public static final String REMOVE_GUVNOR_REPOSITORY_TOOLTIP = "Delete Guvnor
repository connection";
public static final String REMOVE_GUVNOR_REPOSITORY_DIALOG_TITLE = "Remove
repository connection";
- public static final String GUVNOR_REPOSITORY_ROOT_TREE_ITEM =
"http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/webdav/";
public static final String PACKAGES_TREE_ITEM = "packages/";
public static final String MORTGAGE_TREE_ITEM = "mortgages/";
public static final String GO_INTO_GUVNOR_REPOSITORY_TOOLTIP = "Go Into";
@@ -662,4 +661,10 @@
public static final String REFRESH = "Refresh";
}
+
+ public static final class GuvnorAddRepositoryDialog {
+
+ public static final String REPOSITORY = "Repository: ";
+ }
+
}
Modified:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ExplorerBase.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ExplorerBase.java 2011-05-25
13:36:17 UTC (rev 31470)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/view/ExplorerBase.java 2011-05-25
13:51:37 UTC (rev 31471)
@@ -14,7 +14,6 @@
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
import org.jboss.tools.ui.bot.ext.SWTEclipseExt;
-import org.jboss.tools.ui.bot.ext.SWTUtilExt;
import org.jboss.tools.ui.bot.ext.Timing;
import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
import org.jboss.tools.ui.bot.ext.types.IDELabel;