| /** |
| */ |
| package org.eclipse.osbp.ecview.semantic.uimodel.tests; |
| |
| import junit.framework.TestCase; |
| |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.osbp.ecview.semantic.uimodel.UiModelFactory; |
| import org.eclipse.osbp.ecview.semantic.uimodel.UiPathSegment; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Ui Path Segment</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class UiPathSegmentTest extends TestCase { |
| |
| /** |
| * The fixture for this Ui Path Segment test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected UiPathSegment fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(UiPathSegmentTest.class); |
| } |
| |
| /** |
| * Constructs a new Ui Path Segment test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public UiPathSegmentTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Ui Path Segment test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(UiPathSegment fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Ui Path Segment test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected UiPathSegment getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(UiModelFactory.eINSTANCE.createUiPathSegment()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } //UiPathSegmentTest |