Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-02-27 13:54:51 +0000
committerMichael Valenta2007-02-27 13:54:51 +0000
commitf68ce2af1eaa43ab2066f50458259c6424b5ef5f (patch)
tree53a0d1ccfa29dc654dc5eeba3637b64f9ae0c9df /tests/org.eclipse.jsch.tests
parentb9b54c820303c17a3961d2891a51533cf14c4a4b (diff)
downloadeclipse.platform.team-f68ce2af1eaa43ab2066f50458259c6424b5ef5f.tar.gz
eclipse.platform.team-f68ce2af1eaa43ab2066f50458259c6424b5ef5f.tar.xz
eclipse.platform.team-f68ce2af1eaa43ab2066f50458259c6424b5ef5f.zip
*** empty log message ***I20070227
Diffstat (limited to 'tests/org.eclipse.jsch.tests')
-rw-r--r--tests/org.eclipse.jsch.tests/.classpath7
-rw-r--r--tests/org.eclipse.jsch.tests/.cvsignore1
-rw-r--r--tests/org.eclipse.jsch.tests/.project28
-rw-r--r--tests/org.eclipse.jsch.tests/META-INF/MANIFEST.MF9
-rw-r--r--tests/org.eclipse.jsch.tests/build.properties4
-rw-r--r--tests/org.eclipse.jsch.tests/src/org/eclipse/jsch/tests/Activator.java50
6 files changed, 99 insertions, 0 deletions
diff --git a/tests/org.eclipse.jsch.tests/.classpath b/tests/org.eclipse.jsch.tests/.classpath
new file mode 100644
index 000000000..751c8f2e5
--- /dev/null
+++ b/tests/org.eclipse.jsch.tests/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/org.eclipse.jsch.tests/.cvsignore b/tests/org.eclipse.jsch.tests/.cvsignore
new file mode 100644
index 000000000..ba077a403
--- /dev/null
+++ b/tests/org.eclipse.jsch.tests/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/tests/org.eclipse.jsch.tests/.project b/tests/org.eclipse.jsch.tests/.project
new file mode 100644
index 000000000..092ec4961
--- /dev/null
+++ b/tests/org.eclipse.jsch.tests/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.jsch.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.jsch.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.jsch.tests/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..7f245002b
--- /dev/null
+++ b/tests/org.eclipse.jsch.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: JSch Tests Plug-in
+Bundle-SymbolicName: org.eclipse.jsch.tests
+Bundle-Version: 1.0.0
+Bundle-Activator: org.eclipse.jsch.tests.Activator
+Bundle-Vendor: Eclipse.org
+Require-Bundle: org.eclipse.core.runtime
+Eclipse-LazyStart: true
diff --git a/tests/org.eclipse.jsch.tests/build.properties b/tests/org.eclipse.jsch.tests/build.properties
new file mode 100644
index 000000000..34d2e4d2d
--- /dev/null
+++ b/tests/org.eclipse.jsch.tests/build.properties
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
diff --git a/tests/org.eclipse.jsch.tests/src/org/eclipse/jsch/tests/Activator.java b/tests/org.eclipse.jsch.tests/src/org/eclipse/jsch/tests/Activator.java
new file mode 100644
index 000000000..bb43ab197
--- /dev/null
+++ b/tests/org.eclipse.jsch.tests/src/org/eclipse/jsch/tests/Activator.java
@@ -0,0 +1,50 @@
+package org.eclipse.jsch.tests;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.jsch.tests";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}

Back to the top