Author: jpeterka
Date: 2012-06-06 09:25:50 -0400 (Wed, 06 Jun 2012)
New Revision: 41748
Added:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/SubversiveHelper.java
Log:
Subversive bot helper added
Added:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/SubversiveHelper.java
===================================================================
---
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/SubversiveHelper.java
(rev 0)
+++
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/SubversiveHelper.java 2012-06-06
13:25:50 UTC (rev 41748)
@@ -0,0 +1,32 @@
+package org.jboss.tools.ui.bot.ext.helper;
+
+import org.jboss.tools.ui.bot.ext.SWTBotExt;
+
+public class SubversiveHelper {
+
+ /**
+ * Disables Subversive Decorations (for projects, etc.)
+ */
+ public static void disableSVNDecoration() {
+
+ // commented, this is relevant only when SVN is installed as all
+
+ SWTBotExt botExt = new SWTBotExt();
+ botExt.menu("Window").menu("Preferences").click();
+ botExt.tree().expandNode("Team", "SVN", "Label
Decorations").select();
+
+ botExt.tabItem("Text Decorations").activate();
+ botExt.textWithLabel("File:").setText("");
+ botExt.textWithLabel("Folder:").setText("");
+ botExt.textWithLabel("Project:").setText("");
+ botExt.button("OK").click();
+
+ /*
+ * Obsolete text botExt.tabItem("Text").activate();
+ * botExt.textWithLabel("File Format:").setText("");
+ * botExt.textWithLabel("Folder Format:").setText("");
+ * botExt.textWithLabel("Project Format:").setText("");
+ * botExt.button("OK").click();
+ */
+ }
+}
Property changes on:
trunk/tests/plugins/org.jboss.tools.ui.bot.ext/src/org/jboss/tools/ui/bot/ext/helper/SubversiveHelper.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Show replies by date