Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2006-11-07 18:39:49 +0000
committerThomas Watson2006-11-07 18:39:49 +0000
commitf0a8f34b4651fdfae33eb49aa40cad0b4fda9254 (patch)
tree54eaaba17474efad30f4c10931c7bfe617240c3d /bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test
parent258f0a52ee809adde9f246779f05779cdf45a78f (diff)
downloadrt.equinox.framework-f0a8f34b4651fdfae33eb49aa40cad0b4fda9254.tar.gz
rt.equinox.framework-f0a8f34b4651fdfae33eb49aa40cad0b4fda9254.tar.xz
rt.equinox.framework-f0a8f34b4651fdfae33eb49aa40cad0b4fda9254.zip
Bug 135885 Standardize and enhance lazy-startafter_bug135885
Diffstat (limited to 'bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test')
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/Activator.java26
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain1.java15
-rw-r--r--bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain2.java15
3 files changed, 56 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/Activator.java b/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/Activator.java
new file mode 100644
index 000000000..cc108ac95
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/Activator.java
@@ -0,0 +1,26 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package chain.test.c;
+
+import org.eclipse.osgi.tests.bundles.AbstractBundleTests;
+import org.osgi.framework.*;
+
+public class Activator implements BundleActivator {
+
+ public void start(BundleContext context) throws Exception {
+ AbstractBundleTests.simpleResults.addEvent(new BundleEvent(BundleEvent.STARTED, context.getBundle()));
+ }
+
+ public void stop(BundleContext context) throws Exception {
+ AbstractBundleTests.simpleResults.addEvent(new BundleEvent(BundleEvent.STOPPED, context.getBundle()));
+ }
+
+}
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain1.java b/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain1.java
new file mode 100644
index 000000000..d93bd6bc7
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain1.java
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package chain.test.c;
+
+public interface CMultipleChain1 {
+
+}
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain2.java b/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain2.java
new file mode 100644
index 000000000..a81b7871c
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/bundles_src/chain.test.c/chain/test/c/CMultipleChain2.java
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package chain.test.c;
+
+public interface CMultipleChain2 {
+
+}

Back to the top