Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2017-02-17 10:26:47 +0000
committerGerrit Code Review @ Eclipse.org2017-02-17 11:49:03 +0000
commit2672d09ba3468c21513ec6e988d0d90002bdc72d (patch)
tree8677ffac684b53adf872af3ba5d13ff26914f77d /tests/junit
parente919751a728b13f15815a964a67b19ebc54b20bb (diff)
downloadorg.eclipse.papyrus-2672d09ba3468c21513ec6e988d0d90002bdc72d.tar.gz
org.eclipse.papyrus-2672d09ba3468c21513ec6e988d0d90002bdc72d.tar.xz
org.eclipse.papyrus-2672d09ba3468c21513ec6e988d0d90002bdc72d.zip
Bug 512352 - [ADL4Eclipse] Move Adl4Eclipse in tools repository
- remove adl4eclipse code from master branch - the code is available in org.eclipse.papyrus.tools repository Change-Id: I552eea9c765dffc6ed0aad2949f16ec34c3765ec Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'tests/junit')
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.classpath7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.project28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/META-INF/MANIFEST.MF27
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/build.properties4
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.di2
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.notation2
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.uml42
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/.project17
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/build.properties1
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/feature.xml19
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/.project17
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/build.properties1
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/feature.xml27
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/.project17
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/build.properties1
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/feature.xml23
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/.project17
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/build.properties1
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/feature.xml26
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/.project17
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/build.properties1
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/feature.xml23
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.classpath7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.project28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/META-INF/MANIFEST.MF7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/build.properties4
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.classpath7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.project28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/META-INF/MANIFEST.MF10
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/build.properties6
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/icons/sample.gifbin983 -> 0 bytes
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/plugin.xml62
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/Activator.java61
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/handlers/SampleHandler.java34
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.classpath7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.project28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/META-INF/MANIFEST.MF9
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/build.properties6
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/plugin.xml6
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.classpath7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.project28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/META-INF/MANIFEST.MF11
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/build.properties5
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/plugin.xml28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/Activator.java61
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/popup/actions/NewAction.java44
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.classpath7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.project28
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/META-INF/MANIFEST.MF7
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/build.properties4
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/src/exportedPackage/EmptyClass.java5
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/ADLProjectUtils.java101
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/AbstractADLTest.java217
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/Activator.java63
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestEmptyWorkspace.java66
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureNoDuplicates.java57
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureReverseTwice.java60
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithImports.java135
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithIncludes.java139
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithNoDependency.java110
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithPlugin.java107
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginNoDuplicates.java68
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginReverseTwice.java61
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithDependency.java89
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithExtension.java76
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithNoDependency.java86
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithPackages.java78
-rw-r--r--tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestReversible.java74
74 files changed, 0 insertions, 2494 deletions
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.classpath b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.classpath
deleted file mode 100644
index b1dabee3829..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.project
deleted file mode 100644
index edf6e0499e9..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.adl4eclipse.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/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 11f6e462df7..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
-org.eclipse.jdt.core.compiler.compliance=1.7
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.7
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/META-INF/MANIFEST.MF b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 6477a5206bc..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,27 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Tests
-Bundle-SymbolicName: org.eclipse.papyrus.adl4eclipse.tests
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.papyrus.adl4eclipse.tests.Activator
-Require-Bundle: org.eclipse.ui,
- org.eclipse.ui.ide,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.jdt.core,
- org.eclipse.jdt.launching,
- org.junit,
- org.eclipse.papyrus.views.modelexplorer;bundle-version="1.2.0",
- org.eclipse.papyrus.junit.utils,
- org.eclipse.papyrus.junit.framework,
- org.eclipse.uml2.uml,
- org.eclipse.gmf.runtime.diagram.ui,
- org.eclipse.papyrus.infra.core,
- org.eclipse.papyrus.adl4eclipsetool,
- org.eclipse.pde.core,
- org.eclipse.papyrus.osgi.profile,
- org.eclipse.papyrus.adl4eclipse.profile,
- org.eclipse.emf.transaction
-Bundle-RequiredExecutionEnvironment: JavaSE-1.7
-Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.papyrus.adl4eclipse.tests
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/build.properties
deleted file mode 100644
index 41eb6ade2b4..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.di b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.di
deleted file mode 100644
index 8634d4c00e0..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.di
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.notation b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.notation
deleted file mode 100644
index 8634d4c00e0..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.notation
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.uml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.uml
deleted file mode 100644
index 62def962985..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/model/testModel.uml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_lDp1ENSHEeS_WoRT9YGfUg" name="model">
- <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_N_IsANa1EeSPeeTmpyyK5w">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_axDCoFCjEeWDZ_7i4TXCUA" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDCoVCjEeWDZ_7i4TXCUA" key="Version" value="0.0.30"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDColCjEeWDZ_7i4TXCUA" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDCo1CjEeWDZ_7i4TXCUA" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDCpFCjEeWDZ_7i4TXCUA" key="Date" value="2015-09-01"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDCpVCjEeWDZ_7i4TXCUA" key="Author" value=""/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_N_JTENa1EeSPeeTmpyyK5w" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://ADL4ECLIPSE_PROFILES/adl4eclipse.profile.uml#_MdvVEFCjEeWCD4ik6H8FlQ"/>
- </eAnnotations>
- <appliedProfile xmi:type="uml:Profile" href="pathmap://ADL4ECLIPSE_PROFILES/adl4eclipse.profile.uml#_nE1m0Hz7EeKfO4elN3J5Fw"/>
- </profileApplication>
- <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_PLOEoNa1EeSPeeTmpyyK5w">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_axDpsFCjEeWDZ_7i4TXCUA" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpsVCjEeWDZ_7i4TXCUA" key="Version" value="0.0.30"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpslCjEeWDZ_7i4TXCUA" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDps1CjEeWDZ_7i4TXCUA" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDptFCjEeWDZ_7i4TXCUA" key="Date" value="2015-09-01"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDptVCjEeWDZ_7i4TXCUA" key="Author" value=""/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PLOrsNa1EeSPeeTmpyyK5w" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://OSGI_PROFILES/osgi.profile.uml#_vESkQFChEeWCedWm4kJ8pQ"/>
- </eAnnotations>
- <appliedProfile xmi:type="uml:Profile" href="pathmap://OSGI_PROFILES/osgi.profile.uml#_OKU8EHtxEeKcL-wrhM9ICg"/>
- </profileApplication>
- <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_PLPSw9a1EeSPeeTmpyyK5w">
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_axDptlCjEeWDZ_7i4TXCUA" source="PapyrusVersion">
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpt1CjEeWDZ_7i4TXCUA" key="Version" value="0.0.30"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpuFCjEeWDZ_7i4TXCUA" key="Comment" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpuVCjEeWDZ_7i4TXCUA" key="Copyright" value=""/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpulCjEeWDZ_7i4TXCUA" key="Date" value="2015-09-01"/>
- <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_axDpu1CjEeWDZ_7i4TXCUA" key="Author" value=""/>
- </eAnnotations>
- <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_PLPSxNa1EeSPeeTmpyyK5w" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="pathmap://OSGI_PROFILES/osgi.profile.uml#_vEf_oFChEeWCedWm4kJ8pQ"/>
- </eAnnotations>
- <appliedProfile xmi:type="uml:Profile" href="pathmap://OSGI_PROFILES/osgi.profile.uml#_YbhfEHtxEeKcL-wrhM9ICg"/>
- </profileApplication>
-</uml:Model>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/.project
deleted file mode 100644
index 3f7c706609d..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EmptyFeature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/build.properties
deleted file mode 100644
index 82ab19c62d1..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = feature.xml
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/feature.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/feature.xml
deleted file mode 100644
index e4491c2375a..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/EmptyFeature/feature.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="EmptyFeature"
- label="EmptyFeature"
- version="1.0.0.qualifier">
-
- <description url="http://www.example.com/description">
- EmptyFeature description.
- </description>
-
- <copyright url="http://www.example.com/copyright">
- EmptyFeature copyright.
- </copyright>
-
- <license url="http://www.example.com/license">
- EmptyFeature license.
- </license>
-
-</feature>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/.project
deleted file mode 100644
index c51163038aa..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>FeatureWithDuplicates</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/build.properties
deleted file mode 100644
index 82ab19c62d1..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = feature.xml
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/feature.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/feature.xml
deleted file mode 100644
index 32f4415e779..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithDuplicates/feature.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="FeatureWithDuplicates"
- label="FeatureWithDuplicates"
- version="1.0.0.qualifier">
-
- <description url="http://www.example.com/description">
- [Enter Feature Description here.]
- </description>
-
- <copyright url="http://www.example.com/copyright">
- [Enter Copyright Description here.]
- </copyright>
-
- <license url="http://www.example.com/license">
- [Enter License Description here.]
- </license>
-
- <includes
- id="EmptyFeature"
- version="0.0.0"/>
-
- <requires>
- <import feature="EmptyFeature" version="1.0.0.qualifier"/>
- </requires>
-
-</feature>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/.project
deleted file mode 100644
index 57017769179..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>FeatureWithIncludes</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/build.properties
deleted file mode 100644
index 82ab19c62d1..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = feature.xml
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/feature.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/feature.xml
deleted file mode 100644
index 5ded79fd196..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithIncludes/feature.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="FeatureWithIncludes"
- label="FeatureWithIncludes"
- version="1.0.0.qualifier">
-
- <description url="http://www.example.com/description">
- FeatureWithIncludes description.
- </description>
-
- <copyright url="http://www.example.com/copyright">
- FeatureWithIncludes copyright.
- </copyright>
-
- <license url="http://www.example.com/license">
- FeatureWithIncludes license.
- </license>
-
- <includes
- id="EmptyFeature"
- version="0.0.0"/>
-
-</feature>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/.project
deleted file mode 100644
index 488c8b5a217..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>FeatureWithPlugins</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/build.properties
deleted file mode 100644
index 82ab19c62d1..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = feature.xml
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/feature.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/feature.xml
deleted file mode 100644
index 18e556c0b5c..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithPlugins/feature.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="FeatureWithPlugins"
- label="FeatureWithPlugins"
- version="1.0.0.qualifier">
-
- <description url="http://www.example.com/description">
- FeatureWithPlugins description.
- </description>
-
- <copyright url="http://www.example.com/copyright">
- FeatureWithPlugins copyright.
- </copyright>
-
- <license url="http://www.example.com/license">
- FeatureWithPlugins license.
- </license>
-
- <plugin
- id="EmptyPlugin"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/.project
deleted file mode 100644
index 9808ddcefe7..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>FeatureWithRequires</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/build.properties
deleted file mode 100644
index 82ab19c62d1..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/build.properties
+++ /dev/null
@@ -1 +0,0 @@
-bin.includes = feature.xml
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/feature.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/feature.xml
deleted file mode 100644
index 868b1791b74..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templateFeatures/FeatureWithRequires/feature.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="FeatureWithRequires"
- label="FeatureWithRequires"
- version="1.0.0.qualifier">
-
- <description url="http://www.example.com/description">
- FeatureWithRequires description.
- </description>
-
- <copyright url="http://www.example.com/copyright">
- FeatureWithRequires copyright
- </copyright>
-
- <license url="http://www.example.com/license">
- FeatureWithRequires license
- </license>
-
- <requires>
- <import feature="EmptyFeature" version="1.0.0.qualifier"/>
- </requires>
-
-</feature>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.classpath b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.classpath
deleted file mode 100644
index b862a296d38..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.project
deleted file mode 100644
index 93d7be43e65..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>EmptyPlugin</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/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 295926d9641..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/META-INF/MANIFEST.MF b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/META-INF/MANIFEST.MF
deleted file mode 100644
index 82a71f8cddd..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,7 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: EmptyPlugin
-Bundle-SymbolicName: EmptyPlugin
-Bundle-Version: 1.0.0.qualifier
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Bundle-ActivationPolicy: lazy
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/build.properties
deleted file mode 100644
index 41eb6ade2b4..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/EmptyPlugin/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.classpath b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.classpath
deleted file mode 100644
index b862a296d38..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.project
deleted file mode 100644
index 99fde4e279e..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>PluginWithDependencies</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/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 295926d9641..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/META-INF/MANIFEST.MF b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/META-INF/MANIFEST.MF
deleted file mode 100644
index d64c03438ab..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,10 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: PluginWithDependencies
-Bundle-SymbolicName: PluginWithDependencies;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: pluginwithdependencies.Activator
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Bundle-ActivationPolicy: lazy
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/build.properties
deleted file mode 100644
index 4b8162ab8b2..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .,\
- icons/
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/icons/sample.gif b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/icons/sample.gif
deleted file mode 100644
index 34fb3c9d8cb..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/icons/sample.gif
+++ /dev/null
Binary files differ
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/plugin.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/plugin.xml
deleted file mode 100644
index 6face875d09..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/plugin.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
- <extension
- point="org.eclipse.ui.commands">
- <category
- name="Sample Category"
- id="PluginWithDependencies.commands.category">
- </category>
- <command
- name="Sample Command"
- categoryId="PluginWithDependencies.commands.category"
- id="PluginWithDependencies.commands.sampleCommand">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- commandId="PluginWithDependencies.commands.sampleCommand"
- class="pluginwithdependencies.handlers.SampleHandler">
- </handler>
- </extension>
- <extension
- point="org.eclipse.ui.bindings">
- <key
- commandId="PluginWithDependencies.commands.sampleCommand"
- contextId="org.eclipse.ui.contexts.window"
- sequence="M1+6"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
- </key>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="menu:org.eclipse.ui.main.menu?after=additions">
- <menu
- label="Sample Menu"
- mnemonic="M"
- id="PluginWithDependencies.menus.sampleMenu">
- <command
- commandId="PluginWithDependencies.commands.sampleCommand"
- mnemonic="S"
- id="PluginWithDependencies.menus.sampleCommand">
- </command>
- </menu>
- </menuContribution>
- <menuContribution
- locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
- <toolbar
- id="PluginWithDependencies.toolbars.sampleToolbar">
- <command
- commandId="PluginWithDependencies.commands.sampleCommand"
- icon="icons/sample.gif"
- tooltip="Say hello world"
- id="PluginWithDependencies.toolbars.sampleCommand">
- </command>
- </toolbar>
- </menuContribution>
- </extension>
-
-</plugin>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/Activator.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/Activator.java
deleted file mode 100644
index 3ce9b1221c2..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/Activator.java
+++ /dev/null
@@ -1,61 +0,0 @@
-package pluginwithdependencies;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "PluginWithDependencies"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#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;
- }
-
- /**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path
- *
- * @param path the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return imageDescriptorFromPlugin(PLUGIN_ID, path);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/handlers/SampleHandler.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/handlers/SampleHandler.java
deleted file mode 100644
index 61933926b2f..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDependencies/src/pluginwithdependencies/handlers/SampleHandler.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package pluginwithdependencies.handlers;
-
-import org.eclipse.core.commands.AbstractHandler;
-import org.eclipse.core.commands.ExecutionEvent;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.handlers.HandlerUtil;
-import org.eclipse.jface.dialogs.MessageDialog;
-
-/**
- * Our sample handler extends AbstractHandler, an IHandler base class.
- * @see org.eclipse.core.commands.IHandler
- * @see org.eclipse.core.commands.AbstractHandler
- */
-public class SampleHandler extends AbstractHandler {
- /**
- * The constructor.
- */
- public SampleHandler() {
- }
-
- /**
- * the command has been executed, so extract extract the needed information
- * from the application context.
- */
- public Object execute(ExecutionEvent event) throws ExecutionException {
- IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
- MessageDialog.openInformation(
- window.getShell(),
- "PluginWithDependencies",
- "Hello, Eclipse world");
- return null;
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.classpath b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.classpath
deleted file mode 100644
index b862a296d38..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.project
deleted file mode 100644
index 212c3312763..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>PluginWithDuplicateDependency</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/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 295926d9641..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/META-INF/MANIFEST.MF b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/META-INF/MANIFEST.MF
deleted file mode 100644
index a56313f5868..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,9 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: PluginWithDuplicateDependency
-Bundle-SymbolicName: PluginWithDuplicateDependency;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Require-Bundle: EmptyPlugin;bundle-version="1.0.0",
- EmptyPlugin;bundle-version="1.0.0"
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Bundle-ActivationPolicy: lazy
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/build.properties
deleted file mode 100644
index 4b8162ab8b2..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .,\
- icons/
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/plugin.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/plugin.xml
deleted file mode 100644
index dbfb3c50ad1..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithDuplicateDependency/plugin.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
-
-</plugin>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.classpath b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.classpath
deleted file mode 100644
index b862a296d38..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.project
deleted file mode 100644
index 63c81000695..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>PluginWithExtension</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/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 295926d9641..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/META-INF/MANIFEST.MF b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/META-INF/MANIFEST.MF
deleted file mode 100644
index c5b54ce9785..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,11 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: PluginWithExtension
-Bundle-SymbolicName: PluginWithExtension;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: pluginwithextension.Activator
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.core.resources
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Bundle-ActivationPolicy: lazy
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/build.properties
deleted file mode 100644
index 78d73f76009..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/plugin.xml b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/plugin.xml
deleted file mode 100644
index 708b077f90f..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/plugin.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
- <extension
- point="org.eclipse.ui.popupMenus">
- <objectContribution
- objectClass="org.eclipse.core.resources.IFile"
- id="PluginWithExtension.contribution1">
- <menu
- label="New Submenu"
- path="additions"
- id="PluginWithExtension.menu1">
- <separator
- name="group1">
- </separator>
- </menu>
- <action
- label="New Action"
- class="pluginwithextension.popup.actions.NewAction"
- menubarPath="PluginWithExtension.menu1/group1"
- enablesFor="1"
- id="PluginWithExtension.newAction">
- </action>
- </objectContribution>
- </extension>
-
-</plugin>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/Activator.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/Activator.java
deleted file mode 100644
index f62269491d4..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/Activator.java
+++ /dev/null
@@ -1,61 +0,0 @@
-package pluginwithextension;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "PluginWithExtension"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#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;
- }
-
- /**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path
- *
- * @param path the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return imageDescriptorFromPlugin(PLUGIN_ID, path);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/popup/actions/NewAction.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/popup/actions/NewAction.java
deleted file mode 100644
index 7fddab37a6e..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithExtension/src/pluginwithextension/popup/actions/NewAction.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package pluginwithextension.popup.actions;
-
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IObjectActionDelegate;
-import org.eclipse.ui.IWorkbenchPart;
-
-public class NewAction implements IObjectActionDelegate {
-
- private Shell shell;
-
- /**
- * Constructor for Action1.
- */
- public NewAction() {
- super();
- }
-
- /**
- * @see IObjectActionDelegate#setActivePart(IAction, IWorkbenchPart)
- */
- public void setActivePart(IAction action, IWorkbenchPart targetPart) {
- shell = targetPart.getSite().getShell();
- }
-
- /**
- * @see IActionDelegate#run(IAction)
- */
- public void run(IAction action) {
- MessageDialog.openInformation(
- shell,
- "PluginWithExtension",
- "New Action was executed.");
- }
-
- /**
- * @see IActionDelegate#selectionChanged(IAction, ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection) {
- }
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.classpath b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.classpath
deleted file mode 100644
index b862a296d38..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.project b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.project
deleted file mode 100644
index ed66e42ba35..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>PluginWithPackages</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/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.settings/org.eclipse.jdt.core.prefs b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 295926d9641..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
-org.eclipse.jdt.core.compiler.compliance=1.8
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.8
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/META-INF/MANIFEST.MF b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/META-INF/MANIFEST.MF
deleted file mode 100644
index 8e220cec45b..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,7 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: PluginWithPackages
-Bundle-SymbolicName: PluginWithPackages
-Bundle-Version: 1.0.0.qualifier
-Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Export-Package: exportedPackage
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/build.properties b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/build.properties
deleted file mode 100644
index 41eb6ade2b4..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/src/exportedPackage/EmptyClass.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/src/exportedPackage/EmptyClass.java
deleted file mode 100644
index 9e94c31971f..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/resources/templatePlugins/PluginWithPackages/src/exportedPackage/EmptyClass.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package exportedPackage;
-
-public class EmptyClass {
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/ADLProjectUtils.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/ADLProjectUtils.java
deleted file mode 100644
index b75dde6a285..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/ADLProjectUtils.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.resources.ICommand;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IProjectDescription;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jdt.launching.JavaRuntime;
-import org.eclipse.papyrus.adltool.ADLConstants;
-import org.eclipse.pde.core.project.IBundleProjectDescription;
-
-/**
- * This class helps configuring plug-in or feature projects.
- */
-public class ADLProjectUtils {
-
- // Private constructor to prevent instantiation
- private ADLProjectUtils() {}
-
- /**
- * Configures an IProject as a plug-in project by setting its nature, builders and classpath.
- *
- * @param project The IProject to configure as a plug-in.
- * @throws CoreException
- */
- public static void configureProjectAsPlugin(IProject project) throws CoreException {
- // Set the Java nature
- IProjectDescription description = project.getDescription();
- description.setNatureIds(new String[] { JavaCore.NATURE_ID, IBundleProjectDescription.PLUGIN_NATURE });
-
- // Configure the plug-in's builders
- List<ICommand> builders = new ArrayList<>();
-
- final ICommand java = description.newCommand();
- java.setBuilderName(JavaCore.BUILDER_ID);
- builders.add(java);
-
- final ICommand manifest = description.newCommand();
- manifest.setBuilderName(ADLConstants.MANIFEST_BUILDER_ID);
- builders.add(manifest);
-
- final ICommand schema = description.newCommand();
- schema.setBuilderName(ADLConstants.SCHEMA_BUILDER_ID);
- builders.add(schema);
-
- description.setBuildSpec(builders.toArray(new ICommand[builders.size()]));
- project.setDescription(description, new NullProgressMonitor());
-
- // Create the source folder
- IFolder src = project.getFolder("src");
-
- if (!src.exists()) {
- src.create(false, true, new NullProgressMonitor());
- }
-
- // Create the project and configure its classpath
- IJavaProject javaProject = JavaCore.create(project);
- IClasspathEntry[] classPath = { JavaCore.newSourceEntry(src.getFullPath()),
- JavaRuntime.getDefaultJREContainerEntry(),
- JavaCore.newContainerEntry(ADLConstants.REQUIRED_PLUGINS_CONTAINER_PATH)
- };
-
- javaProject.setRawClasspath(classPath, project.getFullPath().append("bin"), new NullProgressMonitor());
- }
-
- /**
- * Configures an IProject as a Feature by setting its nature and builder.
- *
- * @param featureProject
- * The IProject to configure as a feature.
- * @throws CoreException
- */
- public static void configureProjectAsFeature(IProject featureProject) throws CoreException {
- IProjectDescription description = featureProject.getDescription();
- description.setNatureIds(new String[] { ADLConstants.FEATURE_NATURE });
-
- final ICommand feature = description.newCommand();
- feature.setBuilderName(ADLConstants.FEATURE_BUILDER_ID);
-
- description.setBuildSpec(new ICommand[] { feature });
- featureProject.setDescription(description, new NullProgressMonitor());
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/AbstractADLTest.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/AbstractADLTest.java
deleted file mode 100644
index 406c31baeed..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/AbstractADLTest.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests;
-
-import static org.junit.Assert.assertNotNull;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.emf.transaction.RecordingCommand;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.papyrus.adltool.ADL4EclipseUtils;
-import org.eclipse.papyrus.adltool.command.CompleteArchitectureSnapshotCommand;
-import org.eclipse.papyrus.adltool.designer.ReverseSettings;
-import org.eclipse.papyrus.adltool.reversible.project.ReversibleProject;
-import org.eclipse.papyrus.adltool.reversible.factory.ReversibleFactory;
-import org.eclipse.papyrus.junit.utils.PapyrusProjectUtils;
-import org.eclipse.papyrus.junit.utils.ProjectUtils;
-import org.eclipse.papyrus.junit.utils.tests.AbstractEditorTest;
-import org.eclipse.pde.core.project.IBundleProjectDescription;
-import org.eclipse.pde.internal.core.ifeature.IFeature;
-import org.eclipse.uml2.uml.Package;
-import org.junit.After;
-import org.junit.Assert;
-import org.osgi.framework.Bundle;
-
-@SuppressWarnings("restriction")
-public abstract class AbstractADLTest extends AbstractEditorTest {
-
- // Model project name
- protected static final String MODEL_NAME = "testModel";
- protected static final String MODEL_PROJECT_NAME = "PapyrusTestModel";
-
- // Available features and plug-ins project names
-
- // Note: These projects should NOT be loaded in the target platform,
- // otherwise the wrong stereotypes will be applied to them
- protected static final String EMPTY_PLUGIN_PROJECT_NAME = "EmptyPlugin";
- protected static final String PLUGIN_WITH_DEPS_PROJECT_NAME = "PluginWithDependencies";
- protected static final String PLUGIN_WITH_PACKAGES_PROJECT_NAME = "PluginWithPackages";
- protected static final String PLUGIN_WITH_EXTENSION_PROJECT_NAME = "PluginWithExtension";
- protected static final String PLUGIN_WITH_DUPLICATE_DEPS_PROJECT_NAME = "PluginWithDuplicateDependency";
-
- protected static final String EMPTY_FEATURE_PROJECT_NAME = "EmptyFeature";
- protected static final String FEATURE_WITH_PLUGINS_PROJECT_NAME = "FeatureWithPlugins";
- protected static final String FEATURE_WITH_INCLUDES_PROJECT_NAME = "FeatureWithIncludes";
- protected static final String FEATURE_WITH_REQUIRES_PROJECT_NAME = "FeatureWithRequires";
- protected static final String FEATURE_WITH_DUPLICATES_PROJECT_NAME = "FeatureWithDuplicates";
-
- // Model, Plug-in and Feature resource path
- protected static final String MODEL_RESOURCES_PATH = "resources/model/";
- protected static final String PLUGINS_RESOURCES_PATH = "resources/templatePlugins/";
- protected static final String FEATURES_RESOURCES_PATH = "resources/templateFeatures/";
-
- protected static final int SIMPLE_REVERSE_DEPTH = 1;
-
- /**
- * The object used to perform transactions on the models.
- */
- protected TransactionalEditingDomain domain;
-
- /**
- * The root element of the Papyrus model.
- */
- protected Package rootModel;
-
- /**
- * The list of project to reverse.
- */
- protected Map<String, ReversibleProject> reversibleProjects;
-
- public AbstractADLTest() {
- reversibleProjects = new HashMap<>();
- }
-
- /**
- * Initializes the Papyrus editor, the root model and the transactional
- * editing domain.
- *
- * @throws Exception
- */
- protected void initModel() throws Exception {
- initModel(MODEL_PROJECT_NAME, MODEL_NAME, Activator.getDefault().getBundle());
-
- rootModel = getRootUMLModel();
- domain = getTransactionalEditingDomain();
-
- assertNotNull("The root uml model is null", rootModel);
- assertNotNull("The transactional editing domain is null", domain);
- }
-
- /**
- * Creates a feature project from a projectName that corresponds to a
- * template in the resources/templateFeatures folder. The template must have
- * the same name and must contain the feature.xml file.
- *
- * @param projectName The name of the folder in the
- * resource/templateFeatures containing the feature.xml file.
- * @return
- * @throws Exception
- */
- protected ReversibleProject createReversibleFeature(String projectName) throws Exception {
- // Create the feature project in the workspace
- IProject project = ProjectUtils.createProject(projectName);
- ADLProjectUtils.configureProjectAsFeature(project);
-
- // The bundle where the feature is stored
- Bundle sourceBundle = Activator.getDefault().getBundle();
-
- // Copy the feature.xml in the project
- String featureXml = "feature.xml";
- String featureXmlPath = FEATURES_RESOURCES_PATH + projectName + "/" + featureXml;
- PapyrusProjectUtils.copyIFile(featureXmlPath, sourceBundle, project, featureXml);
-
- IFeature feature = ADL4EclipseUtils.getFeature(project);
-
- assertNotNull("The IFeature is null", feature);
-
- // Create the adapters
- ADL4EclipseUtils.populateReversibleFactory();
-
- ReversibleProject reversibleFeature = ReversibleFactory.getInstance().getFeature(projectName);
-
- assertNotNull("Reversible feature is null", reversibleFeature);
-
- reversibleProjects.put(reversibleFeature.getId(), reversibleFeature);
-
- return reversibleFeature;
- }
-
- /**
- * Creates a plug-in project from a projectName that corresponds to a
- * template in the resources/templatePlugins folder. The template must have
- * the same name and must contain the META-INF/MANIFEST.MF file.
- *
- * @param projectName The name of the folder in the
- * resources/templatePlugins containing the META-INF/MANIFEST.MF
- * file.
- * @throws Exception
- */
- protected ReversibleProject createReversiblePlugin(String projectName) throws Exception {
- // Create the plug-in project in the workspace
- IProject project = ProjectUtils.createProject(projectName);
- ADLProjectUtils.configureProjectAsPlugin(project);
-
- // The bundle where the feature is stored
- Bundle sourceBundle = Activator.getDefault().getBundle();
-
- // Copy the MANIFEST.MF in the project
- String manifestFileName = "META-INF/MANIFEST.MF";
- String manifestPath = PLUGINS_RESOURCES_PATH + projectName + "/" + manifestFileName;
- PapyrusProjectUtils.copyIFile(manifestPath, sourceBundle, project, manifestFileName);
-
- IBundleProjectDescription projectDescription = ADL4EclipseUtils.getProjectDescription(project);
-
- assertNotNull("The IBundleProjectDescription is null", projectDescription);
-
- // Create the adapters
- ADL4EclipseUtils.populateReversibleFactory();
-
- ReversibleProject reversiblePlugin = ReversibleFactory.getInstance().getPlugin(projectName);
-
- assertNotNull("Reversible plug-in is null", reversiblePlugin);
-
- reversibleProjects.put(reversiblePlugin.getId(), reversiblePlugin);
-
- return reversiblePlugin;
- }
-
- /**
- * Executes the reverse on the list of reversible projects that were
- * created.
- *
- * @param depth
- */
- protected void executeReverse(int depth) {
- // TODO: Set reverse settings properties
- ReverseSettings reverseSettings = new ReverseSettings();
- reverseSettings.setReverseDepth(depth);
-
- RecordingCommand cmd = new CompleteArchitectureSnapshotCommand(domain,
- rootModel,
- new HashSet<>(reversibleProjects.values()),
- reverseSettings);
-
- domain.getCommandStack().execute(cmd);
- }
-
- /**
- * Clears the workspace by deleting every projects.
- */
- @After
- public void clearWorkspace() {
- try {
- ProjectUtils.removeAllProjectFromTheWorkspace();
- } catch (CoreException e) {
- Assert.fail(e.getMessage());
- }
- }
-
- @Override
- protected String getSourcePath() {
- return MODEL_RESOURCES_PATH;
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/Activator.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/Activator.java
deleted file mode 100644
index 857ddee7137..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/Activator.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests;
-
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.papyrus.adl4eclipse.tests"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- @Override
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- @Override
- 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;
- }
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestEmptyWorkspace.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestEmptyWorkspace.java
deleted file mode 100644
index 74345b8856a..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestEmptyWorkspace.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertTrue;
-
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.List;
-
-import org.eclipse.emf.transaction.RecordingCommand;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.papyrus.adltool.ADL4EclipseUtils;
-import org.eclipse.papyrus.adltool.command.CompleteArchitectureSnapshotCommand;
-import org.eclipse.papyrus.adltool.designer.ReverseSettings;
-import org.eclipse.papyrus.adltool.reversible.project.ReversibleProject;
-import org.junit.Assert;
-import org.junit.Test;
-
-/**
- * This test case checks the static methods "getWorkspacePlugins" and
- * "getWorkspaceFeatures" of the ADL4EclipseUtils. It also checks if
- * the right exception is thrown when the list of plug-in or feature to
- * reverse is null or empty.
- */
-public class TestEmptyWorkspace extends AbstractADLTest {
-
- @Test
- public void testNoPluginInWorkspace() {
- List<ReversibleProject> workspaceBundles = new ArrayList<>();
- workspaceBundles.addAll(ADL4EclipseUtils.getWorkspacePlugins());
-
- assertTrue("The workspace should be empty", workspaceBundles.isEmpty());
- }
-
- @Test
- public void testNoFeatureInWorkspace() {
- List<ReversibleProject> workspaceFeatures = new ArrayList<>();
- workspaceFeatures.addAll(ADL4EclipseUtils.getWorkspaceFeatures());
-
- assertTrue("The workspace should not have any feature", workspaceFeatures.isEmpty());
- }
-
- @Test(expected = IllegalArgumentException.class)
- public void testNoProjectToReverse() {
- try {
- initModel();
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- ReverseSettings reverseSettings = new ReverseSettings();
-
- RecordingCommand snapshotCommand = new CompleteArchitectureSnapshotCommand(domain, rootModel, new HashSet<ReversibleProject>(), reverseSettings);
- domain.getCommandStack().execute(snapshotCommand);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureNoDuplicates.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureNoDuplicates.java
deleted file mode 100644
index c3a53aeddb9..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureNoDuplicates.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import java.util.List;
-
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.junit.Assert;
-import org.junit.Test;
-
-/**
- * This test case creates two Feature projects (the main feature and an empty feature).
- * The empty feature project will be included and set a required in the Feature project.
- * After the projects creation, the main feature will be reversed.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Feature (FEATURE_WITH_DUPLICATES_PROJECT_NAME)
- * - Feature (EMPTY_FEATURE_PROJECT_NAME)
- *
- */
-public class TestFeatureNoDuplicates extends AbstractADLTest {
-
- /**
- * Checks if the Empty feature does not appear twice in the Model Explorer.
- */
- @Test
- public void testNoDuplicates() {
- try {
- initModel();
- createReversibleFeature(EMPTY_FEATURE_PROJECT_NAME);
- createReversibleFeature(FEATURE_WITH_DUPLICATES_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
-
- // One element: The features package
-
- List<PackageableElement> features = rootModel.getPackagedElements();
-
- assertEquals("The features package should have 2 features", 2, features.size());
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureReverseTwice.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureReverseTwice.java
deleted file mode 100644
index 906d7c66af5..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureReverseTwice.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-public class TestFeatureReverseTwice extends AbstractADLTest {
-
- @Before
- public void initializeWorkspace() {
- try {
- initModel();
-
- // Create a feature with imported features
- createReversibleFeature(EMPTY_FEATURE_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testFeatureExists() {
- // Two elements: The feature
- assertEquals("The feature should be reversed", 1, rootModel.getPackagedElements().size());
-
- PackageableElement feature = rootModel.getPackagedElement(EMPTY_FEATURE_PROJECT_NAME);
-
- assertNotNull("The modeled feature should exist", feature);
- assertTrue("The element in the UML model should be a Component", feature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, feature.getAppliedStereotypes().size());
-
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the feature component", featureStereotype);
- }
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithImports.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithImports.java
deleted file mode 100644
index 6b6d2e6f93e..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithImports.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.List;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * This test case creates two Feature projects (the main feature and an empty feature).
- * The empty feature project will be set as a dependency for the Feature project.
- * After the projects creation, the main feature will be reversed.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Feature (FEATURE_WITH_REQUIRES_PROJECT_NAME)
- * - Feature (EMPTY_FEATURE_PROJECT_NAME)
- *
- */
-public class TestFeatureWithImports extends AbstractADLTest {
-
- @Before
- public void initializeWorkspace() {
- try {
- initModel();
-
- // Create an empty feature
- createReversibleFeature(EMPTY_FEATURE_PROJECT_NAME);
-
- // Create a feature with imported features
- createReversibleFeature(FEATURE_WITH_REQUIRES_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testTwoChildren() {
- List<PackageableElement> packageableElements = rootModel.getPackagedElements();
-
- // Two elements: The two features
- assertEquals("The root model should have 2 packaged elements", 2, packageableElements.size());
- }
-
- @Test
- public void testFeatureExists() {
- PackageableElement feature = rootModel.getPackagedElement(FEATURE_WITH_REQUIRES_PROJECT_NAME);
-
- assertNotNull("The modeled feature should exist", feature);
- assertTrue("The element in the UML model should be a Component", feature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, feature.getAppliedStereotypes().size());
-
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the feature component", featureStereotype);
- }
-
- @Test
- public void testIncludedFeatureExists() {
- PackageableElement includedFeature = rootModel.getPackagedElement(EMPTY_FEATURE_PROJECT_NAME);
-
- assertNotNull("The modeled included feature should exist", includedFeature);
- assertTrue("The included feature element in the UML model should be a Component", includedFeature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, includedFeature.getAppliedStereotypes().size());
-
- Stereotype featureStereotype = includedFeature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the included feature component", featureStereotype);
- }
-
- @Test
- public void testFeatureStereotype() {
- PackageableElement feature = rootModel.getPackagedElement(FEATURE_WITH_REQUIRES_PROJECT_NAME);
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- // Plug-ins
- Object plugins = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- assertEquals("The plug-in list size should be equals to 0", 0, ((List<?>) plugins).size());
-
- // Included features
- Object includedFeatures = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- assertEquals("The included feature list size should be equals to 1", 1, ((List<?>) includedFeatures).size());
-
- // ImportedFeatures
- Object importedFeatures = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- assertEquals("The imported feature list size should be equals to 0", 0, ((List<?>) importedFeatures).size());
- }
-
- @Test
- public void testImportedFeatureStereotype() {
- PackageableElement importedFeature = rootModel.getPackagedElement(EMPTY_FEATURE_PROJECT_NAME);
- Stereotype featureStereotype = importedFeature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- Object version = importedFeature.getValue(featureStereotype, "version");
- assertEquals("The imported feature version should correspond", "1.0.0.qualifier", version);
-
- Object label = importedFeature.getValue(featureStereotype, "label");
- assertEquals("The imported feature label should correspond", EMPTY_FEATURE_PROJECT_NAME, label);
-
- // Plug-ins
- Object plugins = importedFeature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- assertEquals("The plug-in list size should be equals to 0", 0, ((List<?>) plugins).size());
-
- // Included features
- Object includedFeatures = importedFeature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- assertEquals("The included feature list size should be equals to 0", 0, ((List<?>) includedFeatures).size());
-
- // ImportedFeatures
- Object importedFeatures = importedFeature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- assertEquals("The imported feature list size should be equals to 0", 0, ((List<?>) importedFeatures).size());
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithIncludes.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithIncludes.java
deleted file mode 100644
index c4a7da3626b..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithIncludes.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.List;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * This test case creates two Feature projects (the main feature and an empty feature).
- * The empty feature project will be included in the Feature project.
- * After the projects creation, the main feature will be reversed.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Features
- * - Feature (FEATURE_WITH_INCLUDES_PROJECT_NAME)
- * - Feature (EMPTY_FEATURE_PROJECT_NAME)
- *
- */
-public class TestFeatureWithIncludes extends AbstractADLTest {
-
- @Before
- public void initializeWorkspace() {
- try {
- initModel();
-
- // Create an empty feature
- createReversibleFeature(EMPTY_FEATURE_PROJECT_NAME);
-
- // Create a feature with included features
- createReversibleFeature(FEATURE_WITH_INCLUDES_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testTwoChildren() {
- List<PackageableElement> packageableElements = rootModel.getPackagedElements();
-
- // Two children: "Architecture" and "Platform" packages
- assertEquals("The root model should have 2 packaged elements", 2, packageableElements.size());
-
- assertTrue("The reversed project should be a Component", packageableElements.get(0) instanceof Component);
- assertTrue("The reversed project should be a Component", packageableElements.get(1) instanceof Component);
- }
-
- @Test
- public void testFeatureExists() {
- PackageableElement feature = rootModel.getPackagedElement(FEATURE_WITH_INCLUDES_PROJECT_NAME);
-
- assertNotNull("The modeled feature should exist", feature);
- assertTrue("The element in the UML model should be a Component", feature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, feature.getAppliedStereotypes().size());
-
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the feature component", featureStereotype);
- }
-
- @Test
- public void testIncludedFeatureExists() {
- PackageableElement includedFeature = rootModel.getPackagedElement(FEATURE_WITH_INCLUDES_PROJECT_NAME);
-
- assertNotNull("The modeled included feature should exist", includedFeature);
- assertTrue("The included feature element in the UML model should be a Component", includedFeature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, includedFeature.getAppliedStereotypes().size());
-
- Stereotype featureStereotype = includedFeature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the included feature component", featureStereotype);
- }
-
- @Test
- public void testFeatureStereotype() {
- PackageableElement feature = rootModel.getPackagedElement(FEATURE_WITH_INCLUDES_PROJECT_NAME);
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- // Plug-ins
- Object plugins = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- assertEquals("The plug-in list size should be equals to 0", 0, ((List<?>) plugins).size());
-
- // Included features
- Object includedFeatures = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- assertEquals("The included feature list size should be equals to 0", 0, ((List<?>) includedFeatures).size());
-
- // ImportedFeatures
- Object importedFeatures = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- assertEquals("The imported feature list size should be equals to 1", 1, ((List<?>) importedFeatures).size());
- }
-
- @Test
- public void testIncludedFeatureStereotype() {
- PackageableElement includedFeature = rootModel.getPackagedElement(EMPTY_FEATURE_PROJECT_NAME);
- Stereotype featureStereotype = includedFeature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- Object version = includedFeature.getValue(featureStereotype, "version");
- assertEquals("The imported feature version should correspond", "1.0.0.qualifier", version);
-
- Object label = includedFeature.getValue(featureStereotype, "label");
- assertEquals("The imported feature label should correspond", EMPTY_FEATURE_PROJECT_NAME, label);
-
- // Plug-ins
- Object plugins = includedFeature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- assertEquals("The plug-in list size should be equals to 0", 0, ((List<?>) plugins).size());
-
- // Included features
- Object includedFeatures = includedFeature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- assertEquals("The included feature list size should be equals to 0", 0, ((List<?>) includedFeatures).size());
-
- // ImportedFeatures
- Object importedFeatures = includedFeature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- assertEquals("The imported feature list size should be equals to 0", 0, ((List<?>) importedFeatures).size());
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithNoDependency.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithNoDependency.java
deleted file mode 100644
index 3c669dced2e..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithNoDependency.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.List;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * This test case creates one Feature project, reverses it and checks the model's values.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Feature (EMPTY_FEATURE_PROJECT_NAME)
- *
- */
-public class TestFeatureWithNoDependency extends AbstractADLTest {
-
- @Before
- public void initializeWorkspace() {
- try {
- initModel();
- // Create an empty feature
- createReversibleFeature(EMPTY_FEATURE_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testFeatureWithNoPlugin() {
- PackageableElement feature = rootModel.getPackagedElement(EMPTY_FEATURE_PROJECT_NAME);
-
- assertNotNull("The modeled feature should exist", feature);
- assertTrue("The element in the UML model should be a Component", feature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, feature.getAppliedStereotypes().size());
-
- Stereotype stereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the feature component", stereotype);
-
- // Description
- Object description = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_DESCRIPTION_ATT);
- assertEquals("The feature should have a description", "EmptyFeature description.", description);
-
- // Copyright
- Object copyright = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_COPYRIGHT_ATT);
- assertEquals("The feature should have a copyright", "EmptyFeature copyright.", copyright);
-
- // License
- Object license = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LICENSE_ATT);
- assertEquals("The feature should have a license", "EmptyFeature license.", license);
-
- // Provider
- Object provider = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PROVIDER_ATT);
- assertNull("The feature should not have any provider", provider);
-
- // URL
- Object url = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_URL_ATT);
- assertNull("The feature should not have any url", url);
-
- // Plug-ins
- Object plugins = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- assertEquals("The plug-in list size should be equals to 0", 0, ((List<?>) plugins).size());
-
- // Included features
- Object includedFeatures = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- assertEquals("The included feature list size should be equals to 0", 0, ((List<?>) includedFeatures).size());
-
- // ImportedFeatures
- Object importedFeatures = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- assertEquals("The imported feature list size should be equals to 0", 0, ((List<?>) importedFeatures).size());
-
- // Label
- Object label = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_LABEL_ATT);
- assertEquals("The feature label should correspond", EMPTY_FEATURE_PROJECT_NAME, label);
-
- // Id
- Object id = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_ID_ATT);
- assertEquals("The feature id should correspond", EMPTY_FEATURE_PROJECT_NAME, id);
-
- // Version
- Object version = feature.getValue(stereotype, ADL4Eclipse_Stereotypes.FEATURE_VERSION_ATT);
- assertEquals("The version should correspond", "1.0.0.qualifier", version);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithPlugin.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithPlugin.java
deleted file mode 100644
index 5f958eab3f2..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestFeatureWithPlugin.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.List;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * This test case creates an empty Plug-in project and a Feature project.
- * The Plug-in project will be packaged in the Feature project.
- * After the projects creation, the feature will be reversed.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Feature (FEATURE_WITH_PLUGINS_PROJECT_NAME)
- * - Plug-in (EMPTY_PLUGIN_PROJECT_NAME)
- */
-public class TestFeatureWithPlugin extends AbstractADLTest {
-
- @Before
- public void initializeWorkspace() {
- try {
- initModel();
- // Create an empty feature
- createReversiblePlugin(EMPTY_PLUGIN_PROJECT_NAME);
-
- // Create a feature with imported features
- createReversibleFeature(FEATURE_WITH_PLUGINS_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testTwoReversedProjects() {
- // Two elements: The feature and the plug-in
- assertEquals("The feature should be reversed", 2, rootModel.getPackagedElements().size());
- }
-
- @Test
- public void testFeatureExists() {
- PackageableElement feature = rootModel.getPackagedElement(FEATURE_WITH_PLUGINS_PROJECT_NAME);
-
- assertNotNull("The modeled feature should exist", feature);
- assertTrue("The element in the UML model should be a Component", feature instanceof Component);
- assertEquals("The feature should have one applied stereotype", 1, feature.getAppliedStereotypes().size());
-
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Feature stereotype should be applied to the feature component", featureStereotype);
- }
-
- @Test
- public void testPluginExists() {
- PackageableElement plugin = rootModel.getPackagedElement(EMPTY_PLUGIN_PROJECT_NAME);
-
- assertNotNull("The modeled plug-in should exist", plugin);
- assertTrue("The plug-in in the UML model should be a Component", plugin instanceof Component);
- assertEquals("The plug-in should have one applied stereotype", 1, plugin.getAppliedStereotypes().size());
-
- Stereotype pluginStereotype = plugin.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- assertNotNull("The Plug-in stereotype should be applied to the plugin component", pluginStereotype);
- }
-
- @Test
- public void testFeatureStereotype() {
- PackageableElement feature = rootModel.getPackagedElement(FEATURE_WITH_PLUGINS_PROJECT_NAME);
- Stereotype featureStereotype = feature.getApplicableStereotype(ADL4Eclipse_Stereotypes.FEATURE_STEREOTYPE);
-
- // Plug-ins
- Object plugins = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_PLUGINS_ATT);
- assertEquals("The plug-in list size should be equals to 1", 1, ((List<?>) plugins).size());
-
- // Included features
- Object includedFeatures = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_FEATURE_DEPENDENCIES_ATT);
- assertEquals("The included feature list size should be equals to 0", 0, ((List<?>) includedFeatures).size());
-
- // ImportedFeatures
- Object importedFeatures = feature.getValue(featureStereotype, ADL4Eclipse_Stereotypes.FEATURE_INCLUDED_FEATURES_ATT);
- assertEquals("The imported feature list size should be equals to 0", 0, ((List<?>) importedFeatures).size());
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginNoDuplicates.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginNoDuplicates.java
deleted file mode 100644
index 8f5ce8f35a8..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginNoDuplicates.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Test;
-
-/**
- * This test case creates two Plug-in projects (one empty).
- * The empty Plug-in project will be set as required in the main Plug-in project.
- * After the projects creation, the main Plug-in will be reversed.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * -Plugins
- * - Plug-in (PLUGIN_WITH_DUPLICATE_DEPS_PROJECT_NAME)
- * - Plug-in (EMPTY_PLUGIN_PROJECT_NAME)
- *
- */
-public class TestPluginNoDuplicates extends AbstractADLTest {
-
- /**
- * Checks if the Empty plug-in does not appear twice in the Model Explorer.
- */
- @Test
- public void testNoDuplicates() {
- try {
- initModel();
- createReversiblePlugin(EMPTY_PLUGIN_PROJECT_NAME);
- createReversiblePlugin(PLUGIN_WITH_DUPLICATE_DEPS_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
-
- // Two components: The empty and main plug-ins
- assertEquals("There should be only two element in the root uml model", 2, rootModel.getPackagedElements().size());
-
- PackageableElement mainPlugin = rootModel.getPackagedElement(PLUGIN_WITH_DUPLICATE_DEPS_PROJECT_NAME);
- PackageableElement emptyPlugin = rootModel.getPackagedElement(EMPTY_PLUGIN_PROJECT_NAME);
-
- assertNotNull("The main plug-in should exist", mainPlugin);
- assertNotNull("The empty plug-in should exist", emptyPlugin);
-
- Stereotype mainStereotype = mainPlugin.getAppliedStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
- Stereotype emptyStereotype = emptyPlugin.getApplicableStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
-
- assertNotNull("The main plug-in should have the Plugin stereotype", mainStereotype);
- assertNotNull("The empty plug-in should have the Plugin stereotype", emptyStereotype);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginReverseTwice.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginReverseTwice.java
deleted file mode 100644
index d40ffb18b88..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginReverseTwice.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-public class TestPluginReverseTwice extends AbstractADLTest {
-
- /**
- * Initializes the workspace by creating one Plug-in Project with no dependencies.
- */
- @Before
- public void initWorkspace() {
- try {
- initModel();
- createReversiblePlugin(EMPTY_PLUGIN_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testPluginWithNoDependency() {
- // No dependency means only 1 stereotyped component (the plug-in) in the UML model
- assertEquals("There should be only one element in the root uml model", 1, rootModel.getPackagedElements().size());
-
- PackageableElement plugin = rootModel.getPackagedElement(EMPTY_PLUGIN_PROJECT_NAME);
-
- assertNotNull("The plugin should be in the root model", plugin);
- assertTrue("The element in the UML model should be a Component", plugin instanceof Component);
- assertEquals("The plugin should have one applied stereotype", 1, plugin.getAppliedStereotypes().size());
-
- Stereotype stereotype = plugin.getAppliedStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
-
- assertNotNull("The Plugin stereotype should be applied to the model component", stereotype);
- }
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithDependency.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithDependency.java
deleted file mode 100644
index e7fe2c82b3e..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithDependency.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.papyrus.osgi.profile.OSGIStereotypes;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * This test case creates one Plug-in project with two dependencies.
- * After the project is created, the Plug-in will be reversed.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Plug-in (PLUGIN_WITH_DEPS_PROJECT_NAME)
- * - Bundle (org.eclipse.ui)
- * - Bundle (org.eclipse.core.runtime)
- *
- */
-public class TestPluginWithDependency extends AbstractADLTest {
-
- private static final String ECLIPSE_UI = "org.eclipse.ui";
- private static final String ECLIPSE_CORE_RUNTIME = "org.eclipse.core.runtime";
-
- @Before
- public void initializeWorkspace() {
- try {
- initModel();
- createReversiblePlugin(PLUGIN_WITH_DEPS_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testPluginWithDependencies() {
- // Three Components: The plug-in and the two dependencies
- assertEquals("The root uml model should have 3 packaged elements", 3, rootModel.getPackagedElements().size());
-
- // eclipse.ui
- PackageableElement element = rootModel.getPackagedElement(ECLIPSE_UI);
-
- assertTrue("The element " + ECLIPSE_UI + " in the UML model is not a Component", element instanceof Component);
- assertEquals("The element " + ECLIPSE_UI + " should have 1 applied stereotype", 1, element.getAppliedStereotypes().size());
-
- Stereotype stereotype = element.getAppliedStereotype(OSGIStereotypes.BUNDLE);
- assertNotNull("The Plugin stereotype has not been applied on element " + ECLIPSE_UI, stereotype);
-
- // eclipse.core.runtime
- element = rootModel.getPackagedElement(ECLIPSE_CORE_RUNTIME);
-
- assertTrue("The element " + ECLIPSE_CORE_RUNTIME + " in the UML model is not a Component", element instanceof Component);
- assertEquals("The element " + ECLIPSE_CORE_RUNTIME + " should have 1 applied stereotype", 1, element.getAppliedStereotypes().size());
-
- stereotype = element.getAppliedStereotype(OSGIStereotypes.BUNDLE);
- assertNotNull("The Plugin stereotype has not been applied on element " + ECLIPSE_UI, stereotype);
-
- // Plugin
- element = rootModel.getPackagedElement(PLUGIN_WITH_DEPS_PROJECT_NAME);
-
- assertTrue("The element " + PLUGIN_WITH_DEPS_PROJECT_NAME + " in the UML model is not a Component", element instanceof Component);
- assertEquals("The element " + PLUGIN_WITH_DEPS_PROJECT_NAME + " should have 1 applied stereotype", 1, element.getAppliedStereotypes().size());
-
- stereotype = element.getAppliedStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
- assertNotNull("The Plugin stereotype has not been applied on element " + ECLIPSE_UI, stereotype);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithExtension.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithExtension.java
deleted file mode 100644
index dc90305036f..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithExtension.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-public class TestPluginWithExtension extends AbstractADLTest {
-
- private static final String ECLIPSE_UI = "org.eclipse.ui";
-
- @Before
- public void initWorkspace() {
- try {
- initModel();
- createReversiblePlugin(PLUGIN_WITH_EXTENSION_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
-
- // TODO: Fix the org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array.
- // This is thrown because ADL4Eclipse uses PDE to retrieve extension points. See ADL4EclipseUtils.findExtensionPointsForPlugin(String)
- }
-
- @Test
- public void testPluginWithExtension() {
- /*
- // Four Components: The plug-in and the three dependencies
- assertEquals("The root uml model should have 4 packaged elements", 4, rootModel.getPackagedElements().size());
-
- PackageableElement bundleElement = rootModel.getPackagedElement(ECLIPSE_UI);
-
- assertTrue("The bundle is not a Component", bundleElement instanceof Component);
-
- Component eclipseUI = (Component) bundleElement;
- Stereotype bundleStereotype = eclipseUI.getAppliedStereotype(OSGIStereotypes.BUNDLE);
- assertNotNull("The bundle's stereotype is null", bundleStereotype);
-
- assertEquals("The bundle should have only one packaged element", 1, eclipseUI.getPackagedElements().size());
-
- PackageableElement extensionPoint = eclipseUI.getPackagedElements().get(0);
- assertTrue("The extension point is not a Component", extensionPoint instanceof Component);
-
- PackageableElement pluginElement = rootModel.getPackagedElement(PLUGIN_WITH_EXTENSION_PROJECT_NAME);
- assertTrue("The plug-in is not a Component", pluginElement instanceof Component);
-
- Component plugin = (Component) pluginElement;
- Stereotype pluginStereotype = plugin.getAppliedStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
- assertNotNull("The plug-in's stereotype is null", pluginStereotype);
-
- EList<Element> ownedElements = plugin.getOwnedElements();
- EList<Port> ownedPorts = plugin.getOwnedPorts();
-
- // The 3 dependencies and the 3 properties
- assertEquals("The plug-in should have six owned elements", 6, ownedElements.size());
- assertEquals("The plug-in should have one port", 1, ownedPorts.size());
-
- Port port = ownedPorts.get(0);
- assertEquals("The port type should be the extension point", extensionPoint, port.getType());
- */
- }
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithNoDependency.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithNoDependency.java
deleted file mode 100644
index b7c9f40f128..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithNoDependency.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.papyrus.osgi.profile.OSGIStereotypes;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-/**
- * This test case creates one Plug-in project, reverses it and checks the model's values.
- *
- * Expected Model Explorer after the reverse:
- *
- * - model
- * - Plugins
- * - Plug-in (EMPTY_PLUGIN_PROJECT_NAME)
- *
- */
-public class TestPluginWithNoDependency extends AbstractADLTest {
-
- /**
- * Initializes the workspace by creating one Plug-in Project with no dependencies.
- */
- @Before
- public void initWorkspace() {
- try {
- initModel();
- createReversiblePlugin(EMPTY_PLUGIN_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testPluginWithNoDependency() {
- // No dependency means only 1 stereotyped component (the plug-in) in the UML model
- assertEquals("There should be only one element in the root uml model", 1, rootModel.getPackagedElements().size());
-
- PackageableElement plugin = rootModel.getPackagedElement(EMPTY_PLUGIN_PROJECT_NAME);
-
- assertNotNull("The plugin should be in the root model", plugin);
- assertTrue("The element in the UML model should be a Component", plugin instanceof Component);
- assertEquals("The plugin should have one applied stereotype", 1, plugin.getAppliedStereotypes().size());
-
- Stereotype stereotype = plugin.getAppliedStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
-
- assertNotNull("The Plugin stereotype should be applied to the model component", stereotype);
-
- Object bundleActivator = plugin.getValue(stereotype, OSGIStereotypes.BUNDLE_ACTIVATOR_ATT);
- assertNull("The bundle activator should be null", bundleActivator);
-
- Object version = plugin.getValue(stereotype, OSGIStereotypes.BUNDLE_VERSION_ATT);
- assertEquals("The plugin version should correspond", "1.0.0.qualifier", version);
-
- Object symbolicName = plugin.getValue(stereotype, OSGIStereotypes.BUNDLE_SYMBOLICNAME_ATT);
- assertEquals("The symbolic name should correspond", EMPTY_PLUGIN_PROJECT_NAME, symbolicName);
-
- Object pluginName = plugin.getValue(stereotype, OSGIStereotypes.BUNDLE_NAME_ATT);
- assertEquals("The plugin name should correspond", EMPTY_PLUGIN_PROJECT_NAME, pluginName);
-
- Object requiredExecutionEnv = plugin.getValue(stereotype, OSGIStereotypes.BUNDLE_REQUIREDEXECUTIONENVIRONMENT_ATT);
- assertEquals("The required execution environment should correspond", "JavaSE-1.8", requiredExecutionEnv);
- }
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithPackages.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithPackages.java
deleted file mode 100644
index 54376242ab4..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestPluginWithPackages.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.papyrus.adl4eclipse.org.ADL4Eclipse_Stereotypes;
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.papyrus.osgi.profile.OSGIStereotypes;
-import org.eclipse.uml2.uml.Component;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.PackageableElement;
-import org.eclipse.uml2.uml.Stereotype;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-public class TestPluginWithPackages extends AbstractADLTest {
-
- @Before
- public void initWorkspace() {
- try {
- initModel();
- createReversiblePlugin(PLUGIN_WITH_PACKAGES_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- executeReverse(SIMPLE_REVERSE_DEPTH);
- }
-
- @Test
- public void testPluginWithPackages() {
- // One Components: The plug-in itself
- assertEquals("The root uml model should have 1 packaged elements", 1, rootModel.getPackagedElements().size());
-
- PackageableElement element = rootModel.getPackagedElement(PLUGIN_WITH_PACKAGES_PROJECT_NAME);
- assertTrue("The element " + PLUGIN_WITH_PACKAGES_PROJECT_NAME + " is not a component", element instanceof Component);
-
- Component plugin = (Component) element;
-
- Stereotype pluginStereotype = plugin.getAppliedStereotype(ADL4Eclipse_Stereotypes.PLUGIN_STEREOTYPE);
- assertNotNull("The plug-in's stereotype is null", pluginStereotype);
-
- // The reversed package and the dependency
- assertEquals("The plug-in should have two packaged element", 2, plugin.getPackagedElements().size());
-
- EList<PackageableElement> packagedElements = plugin.getPackagedElements();
-
- for (PackageableElement packageableElement : packagedElements) {
- if (packageableElement instanceof Dependency) {
- Stereotype depStereotype = packageableElement.getAppliedStereotype(OSGIStereotypes.PACKAGE_REFERENCE);
- assertNotNull("The dependency's stereotype is null", depStereotype);
- }
-
- if (packageableElement instanceof Package) {
- Stereotype packageStereotype = packageableElement.getAppliedStereotype(OSGIStereotypes.EXPORTED_PACKAGE_STEREOTYPE);
- assertNotNull("The package's stereotype is null", packageStereotype);
- }
- }
-
- // TODO: Check the stereotypes values
- }
-
-}
diff --git a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestReversible.java b/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestReversible.java
deleted file mode 100644
index 941b83da3d9..00000000000
--- a/tests/junit/extraplugins/adl4eclipse/org.eclipse.papyrus.adl4eclipse.tests/src/org/eclipse/papyrus/adl4eclipse/tests/testcases/TestReversible.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2015 CEA LIST.
- *
- * 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:
- * Thomas Daniellou (CEA LIST) - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.adl4eclipse.tests.testcases;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import org.eclipse.papyrus.adl4eclipse.tests.AbstractADLTest;
-import org.eclipse.papyrus.adltool.reversible.project.ReversibleProject;
-import org.junit.Assert;
-import org.junit.Before;
-import org.junit.Test;
-
-public class TestReversible extends AbstractADLTest {
- private ReversibleProject emptyPlugin;
- private ReversibleProject secondEmptyPlugin;
- private ReversibleProject pluginWithDependencies;
- private ReversibleProject emptyFeature;
-
- @Before
- public void setUp() {
- try {
- emptyPlugin = createReversiblePlugin(EMPTY_PLUGIN_PROJECT_NAME);
- secondEmptyPlugin = createReversiblePlugin(EMPTY_PLUGIN_PROJECT_NAME);
- pluginWithDependencies = createReversiblePlugin(PLUGIN_WITH_DEPS_PROJECT_NAME);
- emptyFeature = createReversibleFeature(EMPTY_FEATURE_PROJECT_NAME);
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
-
- assertNotNull("The reversible project is null", emptyPlugin);
- assertNotNull("The second reversible project is null", secondEmptyPlugin);
- assertNotNull("The reversible plugin with dependencies is null", pluginWithDependencies);
- assertNotNull("The reversible empty feature project is null", emptyFeature);
- }
-
- @Test
- public void testEquals() {
- assertTrue("The reversible projects are not equals", emptyPlugin.equals(secondEmptyPlugin));
- assertTrue("The reversible project not equals to itself", emptyPlugin.equals(emptyPlugin));
- assertFalse("The reversible empty project equals to the reversible plugin with dependencies", emptyPlugin.equals(pluginWithDependencies));
- assertFalse("The reversible project equals null", emptyPlugin.equals(null));
- assertFalse("The reversible empty project equals the reversible empty feature project", emptyPlugin.equals(emptyFeature));
- assertFalse("The reversible empty project is equals to is project name", emptyPlugin.equals(EMPTY_PLUGIN_PROJECT_NAME));
- }
-
- @Test
- public void testSet() {
- Set<ReversibleProject> set = new HashSet<>();
-
- assertTrue("The reversible project was not added to the set", set.add(emptyPlugin));
-
- assertFalse("A duplicate reversible project should not be added to the set", set.add(secondEmptyPlugin));
- assertEquals("The set size should be 1", 1, set.size());
-
- assertTrue("The reversible plugin with dependencies project was not added to the set", set.add(pluginWithDependencies));
- assertEquals("The set size should be 2", 2, set.size());
- }
-
-}

Back to the top