From f68ce2af1eaa43ab2066f50458259c6424b5ef5f Mon Sep 17 00:00:00 2001
From: Michael Valenta
Date: Tue, 27 Feb 2007 13:54:51 +0000
Subject: *** empty log message ***
---
tests/org.eclipse.jsch.tests/.classpath | 7 +++
tests/org.eclipse.jsch.tests/.cvsignore | 1 +
tests/org.eclipse.jsch.tests/.project | 28 ++++++++++++
tests/org.eclipse.jsch.tests/META-INF/MANIFEST.MF | 9 ++++
tests/org.eclipse.jsch.tests/build.properties | 4 ++
.../src/org/eclipse/jsch/tests/Activator.java | 50 ++++++++++++++++++++++
6 files changed, 99 insertions(+)
create mode 100644 tests/org.eclipse.jsch.tests/.classpath
create mode 100644 tests/org.eclipse.jsch.tests/.cvsignore
create mode 100644 tests/org.eclipse.jsch.tests/.project
create mode 100644 tests/org.eclipse.jsch.tests/META-INF/MANIFEST.MF
create mode 100644 tests/org.eclipse.jsch.tests/build.properties
create mode 100644 tests/org.eclipse.jsch.tests/src/org/eclipse/jsch/tests/Activator.java
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 @@
+
+
+
+
+
+
+
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 @@
+
+
+ org.eclipse.jsch.tests
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.pde.PluginNature
+ org.eclipse.jdt.core.javanature
+
+
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;
+ }
+
+}
--
cgit v1.2.3