Drop old attempt to use Swtbot
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.classpath b/tests/org.eclipse.dltk.ruby.ui.bot.tests/.classpath
deleted file mode 100644
index 2fbb7a2..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.gitignore b/tests/org.eclipse.dltk.ruby.ui.bot.tests/.gitignore
deleted file mode 100644
index ae3c172..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/bin/
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.project b/tests/org.eclipse.dltk.ruby.ui.bot.tests/.project
deleted file mode 100644
index aa9b1f4..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.dltk.ruby.ui.bot.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.dltk.ruby.ui.bot.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 98b8eec..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Fri Jul 25 13:07:21 NOVST 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
-org.eclipse.jdt.core.compiler.compliance=1.4
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
-org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
-org.eclipse.jdt.core.compiler.source=1.3
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.dltk.ruby.ui.bot.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 4a3ae65..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,25 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.dltk.ruby.ui.bot.tests
-Bundle-Version: 1.0.0.qualifier
-Bundle-Localization: plugin
-Require-Bundle: org.junit,
- org.eclipse.swtbot.eclipse.finder,
- org.eclipse.swtbot.eclipse.spy,
- org.eclipse.swtbot.eclipse.ui,
- org.eclipse.swtbot.swt.finder,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.ui,
- org.eclipse.dltk.core,
- org.eclipse.dltk.core.tests,
- org.eclipse.dltk.ruby.core,
- org.eclipse.dltk.ruby.launching,
- org.eclipse.dltk.ruby.ui,
- org.eclipse.dltk.launching,
- org.eclipse.dltk.ui.bot.tests,
- org.eclipse.test.performance
-Bundle-RequiredExecutionEnvironment: J2SE-1.4
-Eclipse-LazyStart: true
-Bundle-Vendor: %pluginProvider
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/build.properties b/tests/org.eclipse.dltk.ruby.ui.bot.tests/build.properties
deleted file mode 100644
index 9cb9c76..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.properties,\
- workspace/,\
- test.xml
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/plugin.properties b/tests/org.eclipse.dltk.ruby.ui.bot.tests/plugin.properties
deleted file mode 100644
index e916a1e..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/plugin.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-pluginProvider=Eclipse.org
-pluginName=Dynamic Languages Toolkit Ruby UI-Bot Tests (Incubation)
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/src/org/eclipse/dltk/ruby/ui/bot/tests/AllTests.java b/tests/org.eclipse.dltk.ruby.ui.bot.tests/src/org/eclipse/dltk/ruby/ui/bot/tests/AllTests.java
deleted file mode 100644
index 60f073d..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/src/org/eclipse/dltk/ruby/ui/bot/tests/AllTests.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.eclipse.dltk.ruby.ui.bot.tests;
-
-import org.eclipse.dltk.ruby.ui.bot.tests.editor.RubyEditorTests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AllTests {
- public static final String PLUGIN_ID = "org.eclipse.dltk.ruby.ui.bot.tests";
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for " + PLUGIN_ID);
- suite.addTest(RubyEditorTests.suite());
- return suite;
- }
-}
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/src/org/eclipse/dltk/ruby/ui/bot/tests/editor/RubyEditorTests.java b/tests/org.eclipse.dltk.ruby.ui.bot.tests/src/org/eclipse/dltk/ruby/ui/bot/tests/editor/RubyEditorTests.java
deleted file mode 100644
index 75995c6..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/src/org/eclipse/dltk/ruby/ui/bot/tests/editor/RubyEditorTests.java
+++ /dev/null
@@ -1,81 +0,0 @@
-package org.eclipse.dltk.ruby.ui.bot.tests.editor;
-
-import junit.framework.Test;
-
-import org.eclipse.dltk.ruby.internal.ui.RubyPerspective;
-import org.eclipse.dltk.ruby.ui.bot.tests.AllTests;
-import org.eclipse.dltk.uibot.tests.AbstractSWTBotTests;
-import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotEclipseEditor;
-import org.eclipse.test.performance.Dimension;
-import org.eclipse.test.performance.Performance;
-import org.eclipse.test.performance.PerformanceMeter;
-import org.eclipse.ui.IEditorPart;
-
-public class RubyEditorTests extends AbstractSWTBotTests {
-
- private static final String PROJECT_FOLDER_NAME = "RubyEditor";
- private String fProjectFolderName;
-
- private IEditorPart edpar;
-
- public RubyEditorTests(String name) {
- super(AllTests.PLUGIN_ID, name);
- this.fProjectFolderName = PROJECT_FOLDER_NAME;
- }
-
- public static Test suite() {
- return new Suite(RubyEditorTests.class);
- }
-
- public void setUp() throws Exception {
-
- setUpScriptProject(PROJECT_FOLDER_NAME);
-
- waitForProjectToBuild();
-
- super.setUp();
- }
-
- public void tearDown() throws Exception {
- closeActiveEditorPart();
- deleteProject(PROJECT_FOLDER_NAME);
- super.tearDown();
- }
-
- private void closeActiveEditorPart() {
- closeEditorPart(edpar);
- }
-
- private IEditorPart openRubyEditorScript(String fileName) throws Exception {
-
- return openSourceFileInEditor(fProjectFolderName, "src", fileName,
- RubyPerspective.PERSPECTIVE_ID);
- }
-
- public void testAutoEndKeyword() throws Exception {
-
- Performance perf = Performance.getDefault();
- String scenarioId = perf.getDefaultScenarioId(this);
- PerformanceMeter performanceMeter = perf
- .createPerformanceMeter(scenarioId);
- perf.tagAsSummary(performanceMeter, "Auto end keyword",
- Dimension.ELAPSED_PROCESS);
- performanceMeter.start();
-
- edpar = openRubyEditorScript("empty.rb");
-
- SWTBotEclipseEditor ed = bot.activeEditor();
-
- int docLength = ed.getText().length();
-
- ed.selectRange(0, 0, docLength);
-
- ed.typeText("def f1\n");
- assertEquals("end", ed.getTextOnLine(2));
-
- closeEditorPart(edpar);
- performanceMeter.stop();
- performanceMeter.commit();
- }
-
-}
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/test.xml b/tests/org.eclipse.dltk.ruby.ui.bot.tests/test.xml
deleted file mode 100644
index 1ce4493..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/test.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <property name="eclipse-home" value="${basedir}\..\.."/>
-
- <!-- sets the properties eclipse-home, and library-file -->
- <property name="plugin-name" value="org.eclipse.dltk.ruby.ui.bot.tests"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml"/>
-
- <property name="workspace" value="${basedir}/${plugin-name}/workspace"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <delete dir="${workspace}" quiet="true"/>
-
- <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${workspace}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.dltk.ruby.ui.bot.tests.AllTests"/>
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- <delete dir="${workspace}" quiet="true"/>
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-
-</project>
-
-
-
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/.buildpath b/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/.buildpath
deleted file mode 100644
index bc3a247..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/.buildpath
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<buildpath>
- <buildpathentry kind="src" path="src"/>
- <buildpathentry kind="con" path="org.eclipse.dltk.launching.INTERPRETER_CONTAINER"/>
- <!--buildpathentry external="true" kind="lib" path="C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.0"/-->
-</buildpath>
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/.project b/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/.project
deleted file mode 100644
index eefbf9b..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>SWTBotStuff</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.dltk.core.scriptbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.dltk.ruby.core.nature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/empty.rb b/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/empty.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/empty.rb
+++ /dev/null
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/noEndKeyword.rb b/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/noEndKeyword.rb
deleted file mode 100644
index ab0db1c..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/noEndKeyword.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-def func
- print "Hello world!"
diff --git a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/s1.rb b/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/s1.rb
deleted file mode 100644
index cfced6f..0000000
--- a/tests/org.eclipse.dltk.ruby.ui.bot.tests/workspace/RubyEditor/src/s1.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-class Baze
-
-def f1
-
-end
-
-end
-
-
-
-
-class Chyld < Baze
-
-def f2
-
-
-end
-
-end
\ No newline at end of file