Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlorenzo2012-01-12 12:32:42 +0000
committervlorenzo2012-01-12 12:32:42 +0000
commit1f33a407eb41991b985a9e1591a1c82d498921a8 (patch)
treeec898531f95daf500718d9f594f170debbb4f53b
parentdb3eb3a0f15c27edfff90bee8e7918184a04c0a8 (diff)
downloadorg.eclipse.papyrus-1f33a407eb41991b985a9e1591a1c82d498921a8.tar.gz
org.eclipse.papyrus-1f33a407eb41991b985a9e1591a1c82d498921a8.tar.xz
org.eclipse.papyrus-1f33a407eb41991b985a9e1591a1c82d498921a8.zip
365919: [Architecture - SVN - Build] Rewrite the Build
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365919
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.tests/META-INF/MANIFEST.MF3
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.tests/test/org/eclipse/papyrus/tests/AllTests.java22
2 files changed, 13 insertions, 12 deletions
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/core/org.eclipse.papyrus.tests/META-INF/MANIFEST.MF
index b7e32b58cf0..3e50cf038eb 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.tests/META-INF/MANIFEST.MF
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.tests/META-INF/MANIFEST.MF
@@ -9,8 +9,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.junit;bundle-version="4.8.1",
org.eclipse.papyrus.uml.diagram.common;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.services.resourceloading;bundle-version="0.9.0",
- org.eclipse.papyrus.diagram.clazz.tests;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.services.resourceloading;bundle-version="0.9.0"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
Bundle-Localization: plugin
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.tests/test/org/eclipse/papyrus/tests/AllTests.java b/tests/junit/plugins/core/org.eclipse.papyrus.tests/test/org/eclipse/papyrus/tests/AllTests.java
index 38f381165c9..66dea02d950 100644
--- a/tests/junit/plugins/core/org.eclipse.papyrus.tests/test/org/eclipse/papyrus/tests/AllTests.java
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.tests/test/org/eclipse/papyrus/tests/AllTests.java
@@ -30,32 +30,34 @@ import org.junit.runners.model.InitializationError;
@RunWith(AllTests.AllTestsRunner.class)
public class AllTests {
+ public static final List<ITestSuiteClass> suiteClasses;
/** list of classes to launch */
- public static final List<ITestSuiteClass> suiteClasses = Arrays.asList(
+ static {
+ suiteClasses = new ArrayList<ITestSuiteClass>();
/* **************** plugins *********************** */
/* core */
// {oep}.core
- new FragmentTestSuiteClass(org.eclipse.papyrus.infra.core.Activator.PLUGIN_ID, "org.eclipse.papyrus.core.tests.AllTests"),
+ suiteClasses.add(new FragmentTestSuiteClass(org.eclipse.papyrus.infra.core.Activator.PLUGIN_ID, "org.eclipse.papyrus.core.tests.AllTests"));
// {oep}.sasheditor.tests
- new FragmentTestSuiteClass(org.eclipse.papyrus.infra.core.sasheditor.Activator.PLUGIN_ID, "org.eclipse.papyrus.sasheditor.tests.AllTests"),
+ // new FragmentTestSuiteClass(org.eclipse.papyrus.infra.core.sasheditor.Activator.PLUGIN_ID, "org.eclipse.papyrus.sasheditor.tests.AllTests"),
// {oep}.core.resourceloading.tests
-// new FragmentTestSuiteClass(org.eclipse.papyrus.infra.services.resourceloading.Activator.PLUGIN_ID, "org.eclipse.papyrus.core.resourceloading.tests.AllTests"),
+ // new FragmentTestSuiteClass(org.eclipse.papyrus.infra.services.resourceloading.Activator.PLUGIN_ID, "org.eclipse.papyrus.core.resourceloading.tests.AllTests"),
/* uml */
// {oep}.diagram.common.tests
- new FragmentTestSuiteClass(org.eclipse.papyrus.uml.diagram.common.Activator.ID, "org.eclipse.papyrus.diagram.common.tests.AllTests"),
+ suiteClasses.add(new FragmentTestSuiteClass(org.eclipse.papyrus.uml.diagram.common.Activator.ID, "org.eclipse.papyrus.diagram.common.tests.AllTests"));
// {oep}.diagram.clazz.tests
- new PluginTestSuiteClass(org.eclipse.papyrus.diagram.clazz.test.AllTests.class)
-// ,
-// // {oep}.sysml.tests
-// new PluginTestSuiteClass(SysmlAllTests.class)
+ // new PluginTestSuiteClass(org.eclipse.papyrus.diagram.clazz.test.AllTests.class)
+ // ,
+ // // {oep}.sysml.tests
+ // new PluginTestSuiteClass(SysmlAllTests.class)
//end
- );
+ }
/**
* Finds and runs tests.

Back to the top