| /** |
| */ |
| package org.eclipse.papyrus.layers.stackmodel.layers.tests; |
| |
| import junit.framework.TestCase; |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.papyrus.layers.stackmodel.layers.LayersFactory; |
| import org.eclipse.papyrus.layers.stackmodel.layers.PropertyIndex; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Property Index</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public class PropertyIndexTest extends TestCase { |
| |
| /** |
| * The fixture for this Property Index test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| protected PropertyIndex fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(PropertyIndexTest.class); |
| } |
| |
| /** |
| * Constructs a new Property Index test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| public PropertyIndexTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Property Index test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| protected void setFixture(PropertyIndex fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Property Index test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @generated |
| */ |
| protected PropertyIndex getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(LayersFactory.eINSTANCE.createPropertyIndex()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } // PropertyIndexTest |