blob: 5dc8a769ca8ed15826b15c266de00af6cdf79100 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2015 Intecs.
* 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:
* Nicholas Pacini
*******************************************************************************/
package org.polarsys.chess.test.runtime.tests;
import org.eclipse.uml2.uml.Element;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.polarsys.chess.core.profiles.CHESSProfileManager;
import org.polarsys.chess.test.runtime.util.TestUtil;
public class TestApplyCHESSStereotype {
private Element model;
@Before
public void loadModel(){
model = TestUtil.loadTestModel("CHESSTestModels", "TestApplyCHESSStereotypeModel.uml");
}
@Test @Ignore
public void testApplyCHESSStereotype() {
CHESSProfileManager.applyCHESSStereotype(model);
Assert.assertTrue(model.getAppliedStereotype("CHESS::Core::CHESS") != null);
}
}