| /** |
| * All rights reserved by Loetz GmbH und CoKG Heidelberg 2015. |
| * |
| * Contributors: |
| * Florian Pirchner - initial API and implementation |
| */ |
| package org.eclipse.osbp.ecview.extension.model.tests; |
| |
| import junit.framework.TestCase; |
| |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.osbp.ecview.extension.model.YECviewFactory; |
| import org.eclipse.osbp.ecview.extension.model.YSuspectInfo; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>YSuspect Info</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class YSuspectInfoTest extends TestCase { |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final String copyright = "All rights reserved by Loetz GmbH und CoKG Heidelberg 2015.\n\nContributors:\n Florian Pirchner - initial API and implementation"; |
| |
| /** |
| * The fixture for this YSuspect Info test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected YSuspectInfo fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(YSuspectInfoTest.class); |
| } |
| |
| /** |
| * Constructs a new YSuspect Info test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public YSuspectInfoTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this YSuspect Info test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(YSuspectInfo fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this YSuspect Info test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected YSuspectInfo getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception { |
| setFixture(YECviewFactory.eINSTANCE.createYSuspectInfo()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } //YSuspectInfoTest |