diff options
author | Lorenzo Bettini | 2014-07-03 19:08:46 +0000 |
---|---|---|
committer | Lorenzo Bettini | 2014-07-03 19:08:46 +0000 |
commit | 3e01deaaf681026f9340c044f8e43433800f666f (patch) | |
tree | 8842d0570798b4491b35f8a3a975ead36b7eaf9d /tests | |
parent | 0a89e11e17d2c949be3504d18e590d2c00cd2c68 (diff) | |
download | org.eclipse.emf-parsley-3e01deaaf681026f9340c044f8e43433800f666f.tar.gz org.eclipse.emf-parsley-3e01deaaf681026f9340c044f8e43433800f666f.tar.xz org.eclipse.emf-parsley-3e01deaaf681026f9340c044f8e43433800f666f.zip |
project tests.pde.utils
This contains the Java class for loading the target platform during
swtbot tests in the tycho build
Change-Id: I6a679a3fc4e7997a586101994f373a4ba2c7bac5
Diffstat (limited to 'tests')
10 files changed, 105 insertions, 4 deletions
diff --git a/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.classpath b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.classpath new file mode 100644 index 000000000..ad32c83a7 --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.classpath @@ -0,0 +1,7 @@ +<?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.6"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.project b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.project new file mode 100644 index 000000000..b92c19e7b --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.emf.parsley.tests.pde.utils</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/org.eclipse.emf.parsley.tests.pde.utils.kepler/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..c537b6306 --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/META-INF/MANIFEST.MF b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/META-INF/MANIFEST.MF new file mode 100644 index 000000000..106e25375 --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Emf Parsley Tests PDE Utils +Bundle-SymbolicName: org.eclipse.emf.parsley.tests.pde.utils +Bundle-Version: 0.1.1.qualifier +Bundle-Vendor: Eclipse Modeling Project +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Require-Bundle: org.eclipse.pde.core;bundle-version="3.9.1";visibility:=reexport, + org.eclipse.core.runtime;bundle-version="3.9.100", + org.eclipse.core.resources;bundle-version="3.8.101" +Export-Package: org.eclipse.emf.parsley.tests.pde.utils diff --git a/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/about.html b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/about.html new file mode 100644 index 000000000..c258ef55d --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/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, 2006</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). 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, "Program" 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 ("Redistributor") 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>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/build.properties b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/build.properties new file mode 100644 index 000000000..34d2e4d2d --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/pom.xml b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/pom.xml new file mode 100644 index 000000000..819963ad4 --- /dev/null +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project> + <modelVersion>4.0.0</modelVersion> + + <parent> + <relativePath>../../releng/org.eclipse.emf.parsley.parent/pom.xml</relativePath> + <groupId>org.eclipse.emf.parsley</groupId> + <artifactId>org.eclipse.emf.parsley.parent</artifactId> + <version>0.1.1-SNAPSHOT</version> + </parent> + + <artifactId>org.eclipse.emf.parsley.tests.pde.utils</artifactId> + <packaging>eclipse-plugin</packaging> + +</project>
\ No newline at end of file diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/PDETargetPlatformUtils.java b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/src/org/eclipse/emf/parsley/tests/pde/utils/PDETargetPlatformUtils.java index a50e6fb30..a9df53e67 100644 --- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/PDETargetPlatformUtils.java +++ b/tests/org.eclipse.emf.parsley.tests.pde.utils.kepler/src/org/eclipse/emf/parsley/tests/pde/utils/PDETargetPlatformUtils.java @@ -1,3 +1,4 @@ +package org.eclipse.emf.parsley.tests.pde.utils; /******************************************************************************* * Copyright (c) 2013 RCP Vision (http://www.rcp-vision.com) and others. * All rights reserved. This program and the accompanying materials @@ -8,7 +9,7 @@ * Contributors: * Lorenzo Bettini - Initial contribution and API *******************************************************************************/ -package org.eclipse.emf.parsley.tests.utils; + import java.io.File; import java.util.ArrayList; diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/META-INF/MANIFEST.MF b/tests/org.eclipse.emf.parsley.tests.swtbot/META-INF/MANIFEST.MF index e5d811c59..3049b9484 100644 --- a/tests/org.eclipse.emf.parsley.tests.swtbot/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.emf.parsley.tests.swtbot/META-INF/MANIFEST.MF @@ -23,8 +23,8 @@ Require-Bundle: org.eclipse.swtbot.go;bundle-version="2.2.1", org.eclipse.emf.parsley.editors, org.eclipse.emf.parsley.tests.models, org.objectweb.asm;bundle-version="5.0.1", - org.eclipse.pde.core;bundle-version="3.9.0", - org.eclipse.ui.editors;bundle-version="3.5.0" + org.eclipse.ui.editors;bundle-version="3.5.0", + org.eclipse.emf.parsley.tests.pde.utils Bundle-Activator: org.eclipse.emf.parsley.tests.EmfParsleyTestsActivator Export-Package: org.eclipse.emf.parsley.tests, org.eclipse.emf.parsley.tests.editors, diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyAbstractTests.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyAbstractTests.java index c30ea6a6c..491b43211 100644 --- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyAbstractTests.java +++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyAbstractTests.java @@ -40,7 +40,7 @@ import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.ecore.resource.ResourceSet; import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl; import org.eclipse.emf.parsley.examples.library.Library; -import org.eclipse.emf.parsley.tests.utils.PDETargetPlatformUtils; +import org.eclipse.emf.parsley.tests.pde.utils.PDETargetPlatformUtils; import org.eclipse.emf.parsley.tests.views.LibraryEmfView; import org.eclipse.emf.parsley.util.ActionBarsUtils; import org.eclipse.jface.action.IStatusLineManager; |