Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrschnekenbu2011-04-29 09:16:50 +0000
committerrschnekenbu2011-04-29 09:16:50 +0000
commitf6749dafcad1723b3a1d03d14602e28388cada74 (patch)
tree768e8d7f097058f3249ce2263745bf50b7cef1cd /tests
parent56122bcd4e00cc8a8eb067121edfd6d55d35c4c2 (diff)
downloadorg.eclipse.papyrus-f6749dafcad1723b3a1d03d14602e28388cada74.tar.gz
org.eclipse.papyrus-f6749dafcad1723b3a1d03d14602e28388cada74.tar.xz
org.eclipse.papyrus-f6749dafcad1723b3a1d03d14602e28388cada74.zip
Move the plugin from incoming folder to its final destination folder
Diffstat (limited to 'tests')
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.classpath7
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.project28
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/META-INF/MANIFEST.MF21
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/about.html28
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/build.properties9
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.properties8
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.xml7
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/CoreQueriesConfigurationSet.querySet11
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/Test1.configuration6
-rw-r--r--tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/TestModel.uml4
10 files changed, 129 insertions, 0 deletions
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.classpath b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.classpath
new file mode 100644
index 00000000000..45f024e850e
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.project b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.project
new file mode 100644
index 00000000000..1ea070c1cb1
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.core.queries.configuration.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.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/META-INF/MANIFEST.MF b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..f4d2f89e225
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-Name: %pluginName
+Bundle-ClassPath: .
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: %providerName
+Bundle-ManifestVersion: 2
+Bundle-Localization: plugin
+Bundle-SymbolicName: org.eclipse.papyrus.core.queries.configuration.tests;singleton:=true
+Bundle-ActivationPolicy: lazy
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.papyrus.core.queries.configuration;visibility:=reexport,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.facet.infra.query;visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;visibility:=reexport,
+ org.junit;visibility:=reexport,
+ org.eclipse.papyrus.core.queries;bundle-version="0.7.1",
+ org.eclipse.papyrus.core.queries.test;bundle-version="0.7.0",
+ org.eclipse.uml2.uml,
+ org.eclipse.emf.facet.infra.query.core
+Bundle-Version: 0.8.0.qualifier
+
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/about.html b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/about.html
new file mode 100644
index 00000000000..82d49bf5f81
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/build.properties b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/build.properties
new file mode 100644
index 00000000000..1f509768200
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/build.properties
@@ -0,0 +1,9 @@
+bin.includes = .,\
+ META-INF/,\
+ plugin.properties,\
+ plugin.xml,\
+ about.html,\
+ resource/
+output.. = bin/
+jars.compile.order = .
+source.. = src/
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.properties b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.properties
new file mode 100644
index 00000000000..bd13decb697
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.properties
@@ -0,0 +1,8 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+pluginName = QueryConfiguration Tests
+providerName = www.example.org
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.xml b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.xml
new file mode 100644
index 00000000000..786991d95b2
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/plugin.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension point="org.eclipse.emf.facet.infra.query.registration">
+ <modelqueryset file="resource/CoreQueriesConfigurationSet.querySet"/>
+ </extension>
+</plugin>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/CoreQueriesConfigurationSet.querySet b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/CoreQueriesConfigurationSet.querySet
new file mode 100644
index 00000000000..7225ab2929b
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/CoreQueriesConfigurationSet.querySet
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="CoreQueriesConfigurationSet" description="Query Set for testing plugin core queries configuration">
+ <associatedMetamodels href="http://www.eclipse.org/uml2/3.0.0/UML#/"/>
+ <queries xsi:type="query:JavaModelQuery" name="IsNamed" description="test - test if the name of the element is equal to the specified name" implementationClassName="org.eclipse.papyrus.core.queries.test.modisco.queries.IsNamed">
+ <returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/3.0.0/UML#//Boolean"/>
+ <scope href="http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement"/>
+ <parameters name="name">
+ <type xsi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/3.0.0/UML#//String"/>
+ </parameters>
+ </queries>
+</query:ModelQuerySet>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/Test1.configuration b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/Test1.configuration
new file mode 100644
index 00000000000..b3a1cee35e0
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/Test1.configuration
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration:ModiscoQueryConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:configuration="http://www.eclipse.org/papyrus/core/queries/0.7" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" query="query:JavaModelQuery CoreQueriesConfigurationSet.querySet#IsNamed">
+ <parameterValues parameter="CoreQueriesConfigurationSet.querySet#name">
+ <valueInstance xsi:type="uml:LiteralString" name="TestModel"/>
+ </parameterValues>
+</configuration:ModiscoQueryConfiguration>
diff --git a/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/TestModel.uml b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/TestModel.uml
new file mode 100644
index 00000000000..a8dc6187e2b
--- /dev/null
+++ b/tests/junit/plugins/core/org.eclipse.papyrus.core.queries.configuration.tests/resource/TestModel.uml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Package xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:uml="http://www.eclipse.org/uml2/3.0.0/UML" xmi:id="_MAhnwdFqEd-ebcflpb1o4w" name="TestModel">
+ <packagedElement xmi:type="uml:Class" xmi:id="_OXxL8NFqEd-ebcflpb1o4w" name="TestClass"/>
+</uml:Package>

Back to the top