| /***************************************************************************** |
| * Copyright (c) 2017 CEA LIST and others. |
| * |
| * |
| * 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: |
| * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Initial API and implementation |
| * |
| *****************************************************************************/ |
| |
| package org.eclipse.papyrus.interoperability.sysml14.sysml.tests.tests; |
| |
| |
| import org.eclipse.papyrus.interoperability.sysml14.sysml.tests.Activator; |
| import org.eclipse.papyrus.junit.framework.classification.FailingTest; |
| import org.eclipse.papyrus.junit.utils.rules.PluginResource; |
| import org.junit.Before; |
| import org.junit.Test; |
| |
| /** |
| * This allows to test the interoperability QvTo transformation from SysML1.1 to SysML1.4 for the semantic (UML). |
| */ |
| @PluginResource("resources/ExpectedResult/Semantic/Semantic_converted.di") // the name of the expected model must be the same than the name of the old Papyrus project |
| public class ImportSysML11SemanticTest extends AbstractImportSysMLModelTests { |
| |
| /** |
| * The name of the Papyrus project to import. |
| */ |
| public static final String SYSML11_SEMANTIC_MODEL_NAME = "Semantic";// $NON-NLS-0$ |
| |
| /** |
| * The name of the created project. |
| */ |
| public static final String PROJECT_NAME = "Semantic_testMigration"; // $NON-NLS-0$ |
| |
| /** |
| * The source path of the semantic model folder. |
| */ |
| private static final String SOURCE_PATH = "resources/InitialModels/Semantic/"; // $NON-NLS-0$ |
| |
| /** |
| * This allows to initialize the test. |
| * |
| * @throws Exception |
| * The caught exception. |
| */ |
| @Before |
| public void initTest() throws Exception { |
| super.initTest(PROJECT_NAME, SYSML11_SEMANTIC_MODEL_NAME, SOURCE_PATH, Activator.getDefault().getBundle()); |
| } |
| |
| /** |
| * For this class, the transformation notation model must be failing because no notation element is available. |
| * {@inheritDoc} |
| * |
| * @see org.eclipse.papyrus.uml.m2m.qvto.tests.tools.tests.AbstractImportModelTests#checkTransformedNotationModel() |
| */ |
| @Override |
| @Test |
| @FailingTest |
| public void checkTransformedNotationModel() { |
| super.checkTransformedNotationModel(); |
| } |
| |
| } |