summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Wouters2014-04-04 10:19:14 (EDT)
committerLaurent Wouters2014-04-04 10:19:14 (EDT)
commita70ef131d9edbe047ff5cbd5b1fe6ff0be36f4ff (patch)
treed474e6dd05923e6208e2617d4291a9d70eaab147
parent90af37e90838672991715eb4cbb03a3504312ac1 (diff)
downloadorg.eclipse.papyrus-a70ef131d9edbe047ff5cbd5b1fe6ff0be36f4ff.zip
org.eclipse.papyrus-a70ef131d9edbe047ff5cbd5b1fe6ff0be36f4ff.tar.gz
org.eclipse.papyrus-a70ef131d9edbe047ff5cbd5b1fe6ff0be36f4ff.tar.bz2
[clean] Retiring org.eclipse.papyrus.infra.table.efacet.metamodel.testslast/org.eclipse.papyrus.infra.table.efacet.metamodel.tests
Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.classpath7
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.project28
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/META-INF/MANIFEST.MF16
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/build.properties4
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/org.eclipse.papyrus.infra.efacet.metamodel.tests.launch41
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/Activator.java66
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/AllTests.java25
-rw-r--r--deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/generatednot/PapyrusTableTest.java55
9 files changed, 0 insertions, 249 deletions
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.classpath b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.classpath
deleted file mode 100644
index 2d1a430..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.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/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.project b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.project
deleted file mode 100644
index db21277..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.infra.table.efacet.metamodel.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/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.settings/org.eclipse.jdt.core.prefs b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 44217f8..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.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.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/META-INF/MANIFEST.MF b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/META-INF/MANIFEST.MF
deleted file mode 100644
index 5a734c2..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,16 +0,0 @@
-Manifest-Version: 1.0
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.junit;bundle-version="4.10.0",
- org.eclipse.papyrus.infra.table.efacet.metamodel;bundle-version="0.10.1"
-Bundle-Vendor: Eclipse Modeling Project
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 0.10.1.qualifier
-Bundle-Name: Tests for Papyrus Table EFacet (Incubation)
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.infra.table.efacet.metamodel.tes
- ts.Activator
-Bundle-SymbolicName: org.eclipse.papyrus.infra.table.efacet.metamodel.
- tests
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/build.properties b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/build.properties
deleted file mode 100644
index 41eb6ad..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/org.eclipse.papyrus.infra.efacet.metamodel.tests.launch b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/org.eclipse.papyrus.infra.efacet.metamodel.tests.launch
deleted file mode 100644
index bef9f04..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/org.eclipse.papyrus.infra.efacet.metamodel.tests.launch
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig">
-<booleanAttribute key="append.args" value="true"/>
-<booleanAttribute key="askclear" value="false"/>
-<booleanAttribute key="automaticAdd" value="true"/>
-<booleanAttribute key="automaticValidate" value="false"/>
-<stringAttribute key="bootstrap" value=""/>
-<stringAttribute key="checked" value="[NONE]"/>
-<booleanAttribute key="clearConfig" value="true"/>
-<booleanAttribute key="clearws" value="true"/>
-<booleanAttribute key="clearwslog" value="false"/>
-<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
-<booleanAttribute key="default" value="true"/>
-<booleanAttribute key="includeOptional" value="true"/>
-<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/AllTests.java"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="1"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
-<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
-<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
-<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.papyrus.infra.table.efacet.metamodel.tests.AllTests"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.papyrus.infra.table.efacet.metamodel.tests"/>
-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dosgi.requiredJavaVersion=1.5 -Xms60m -Xmx1024m -DsuppressRawWhenUnchecked=true -XX:MaxPermSize=256M"/>
-<stringAttribute key="pde.version" value="3.3"/>
-<stringAttribute key="product" value="org.eclipse.platform.ide"/>
-<booleanAttribute key="run_in_ui_thread" value="true"/>
-<booleanAttribute key="show_selected_only" value="false"/>
-<stringAttribute key="templateConfig" value="${target_home}\configuration\config.ini"/>
-<booleanAttribute key="tracing" value="false"/>
-<booleanAttribute key="useCustomFeatures" value="false"/>
-<booleanAttribute key="useDefaultConfig" value="true"/>
-<booleanAttribute key="useDefaultConfigArea" value="false"/>
-<booleanAttribute key="useProduct" value="true"/>
-</launchConfiguration>
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/Activator.java b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/Activator.java
deleted file mode 100644
index c50b7c4..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/Activator.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/**
- * Copyright (c) 2012 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.efacet.metamodel.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.infra.table.efacet.metamodel.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(final 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(final 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/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/AllTests.java b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/AllTests.java
deleted file mode 100644
index 8f7db7f..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/AllTests.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Copyright (c) 2012 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- */
-
-package org.eclipse.papyrus.infra.table.efacet.metamodel.tests;
-
-import org.eclipse.papyrus.infra.table.efacet.metamodel.tests.generatednot.PapyrusTableTest;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-@RunWith(Suite.class)
-@SuiteClasses({ PapyrusTableTest.class })
-public class AllTests {
-
-}
diff --git a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/generatednot/PapyrusTableTest.java b/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/generatednot/PapyrusTableTest.java
deleted file mode 100644
index bfda82c..0000000
--- a/deprecated/TableEFacet/org.eclipse.papyrus.infra.table.efacet.metamodel.tests/src/org/eclipse/papyrus/infra/table/efacet/metamodel/tests/generatednot/PapyrusTableTest.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Copyright (c) 2012 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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- */
-package org.eclipse.papyrus.infra.table.efacet.metamodel.tests.generatednot;
-
-import org.eclipse.papyrus.infra.table.efacet.metamodel.papyrustable.FillingMode;
-import org.eclipse.papyrus.infra.table.efacet.metamodel.papyrustable.PapyrusTable;
-import org.eclipse.papyrus.infra.table.efacet.metamodel.papyrustable.PapyrustableFactory;
-import org.junit.Assert;
-import org.junit.Test;
-
-/**
- *
- * This class test the call of the methods which should be 'tagged generated NOT'
- *
- */
-public class PapyrusTableTest {
-
- @Test
- public void testIsUsingUser() {
- final PapyrusTable table = PapyrustableFactory.eINSTANCE.createPapyrusTable();
- table.setFillingMode(FillingMode.USER);
- Assert.assertEquals("The method PapyrusTable.isUsingUser doesn't return the wanted value", true, table.isUsingUser());
- Assert.assertEquals("The method PapyrusTable.isUsingContextFeature() doesn't return the wanted value", false, table.isUsingContextFeature());
- Assert.assertEquals("The method PapyrusTable.isUsingQueries() doesn't return the wanted value", false, table.isUsingQueries());
- }
-
- @Test
- public void testisUsingContextFeature() {
- final PapyrusTable table = PapyrustableFactory.eINSTANCE.createPapyrusTable();
- table.setFillingMode(FillingMode.CONTEXT_FEATURE);
- Assert.assertEquals("The method PapyrusTable.isUsingUser doesn't return the wanted value", false, table.isUsingUser());
- Assert.assertEquals("The method PapyrusTable.isUsingContextFeature() doesn't return the wanted value", true, table.isUsingContextFeature());
- Assert.assertEquals("The method PapyrusTable.isUsingQueries() doesn't return the wanted value", false, table.isUsingQueries());
- }
-
- @Test
- public void testIsUsingQueries() {
- final PapyrusTable table = PapyrustableFactory.eINSTANCE.createPapyrusTable();
- table.setFillingMode(FillingMode.QUERIES);
- Assert.assertEquals("The method PapyrusTable.isUsingUser doesn't return the wanted value", false, table.isUsingUser());
- Assert.assertEquals("The method PapyrusTable.isUsingContextFeature() doesn't return the wanted value", false, table.isUsingContextFeature());
- Assert.assertEquals("The method PapyrusTable.isUsingQueries() doesn't return the wanted value", true, table.isUsingQueries());
- }
-
-}