Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2013-06-26 18:07:41 +0000
committerThomas Watson2013-06-26 18:27:27 +0000
commit1fac80f77025b3f36c7915c7d76a485cf17c1b76 (patch)
tree1bc599f52be83e9c8e284b4d7ec094109327fc02 /bundles
parent4f2b13c756344bbb4d9977af8a085b77b5a5a3ca (diff)
downloadrt.equinox.framework-1fac80f77025b3f36c7915c7d76a485cf17c1b76.tar.gz
rt.equinox.framework-1fac80f77025b3f36c7915c7d76a485cf17c1b76.tar.xz
rt.equinox.framework-1fac80f77025b3f36c7915c7d76a485cf17c1b76.zip
Bug 407416 - [unity] Allow storage hooks to validate the Generation.
- add tests to overall osgi test suite.
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java2
-rw-r--r--bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/hooks/framework/AllFrameworkHookTests.java22
2 files changed, 24 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java
index 3b02651c8..cc76d5b93 100644
--- a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java
+++ b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/AutomatedTests.java
@@ -15,6 +15,7 @@ import org.eclipse.osgi.tests.bundles.BundleTests;
import org.eclipse.osgi.tests.debugoptions.DebugOptionsTestCase;
import org.eclipse.osgi.tests.eventmgr.EventManagerTests;
import org.eclipse.osgi.tests.filter.FilterTests;
+import org.eclipse.osgi.tests.hooks.framework.AllFrameworkHookTests;
import org.eclipse.osgi.tests.internal.plugins.InstallTests;
import org.eclipse.osgi.tests.listeners.ExceptionHandlerTests;
import org.eclipse.osgi.tests.misc.MiscTests;
@@ -43,6 +44,7 @@ public class AutomatedTests extends TestCase {
TestSuite suite = new TestSuite(AutomatedTests.class.getName());
// suite.addTest(new TestSuite(SimpleTests.class));
suite.addTest(org.eclipse.osgi.tests.container.AllTests.suite());
+ suite.addTest(AllFrameworkHookTests.suite());
suite.addTest(new TestSuite(InstallTests.class));
suite.addTest(org.eclipse.osgi.tests.eclipseadaptor.AllTests.suite());
suite.addTest(org.eclipse.osgi.tests.services.resolver.AllTests.suite());
diff --git a/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/hooks/framework/AllFrameworkHookTests.java b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/hooks/framework/AllFrameworkHookTests.java
new file mode 100644
index 000000000..af7c1c05b
--- /dev/null
+++ b/bundles/org.eclipse.osgi.tests/src/org/eclipse/osgi/tests/hooks/framework/AllFrameworkHookTests.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2013 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 org.eclipse.osgi.tests.hooks.framework;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllFrameworkHookTests {
+ public static Test suite() {
+ TestSuite suite = new TestSuite(AllFrameworkHookTests.class.getName());
+ suite.addTest(new TestSuite(StorageHookTests.class));
+ return suite;
+ }
+}

Back to the top