/** * 2014 Urs Zeidler */ package de.urszeidler.eclipse.shr5.tests; import junit.framework.TestCase; import junit.textui.TestRunner; import de.urszeidler.eclipse.shr5.SensorFunction; import de.urszeidler.eclipse.shr5.Shr5Factory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Sensor Function</b></em>'. * <!-- end-user-doc --> * @generated */ public class SensorFunctionTest extends TestCase { /** * The fixture for this Sensor Function test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected SensorFunction fixture = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static void main(String[] args) { TestRunner.run(SensorFunctionTest.class); } /** * Constructs a new Sensor Function test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SensorFunctionTest(String name) { super(name); } /** * Sets the fixture for this Sensor Function test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(SensorFunction fixture) { this.fixture = fixture; } /** * Returns the fixture for this Sensor Function test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected SensorFunction getFixture() { return fixture; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#setUp() * @generated */ @Override protected void setUp() throws Exception { setFixture(Shr5Factory.eINSTANCE.createSensorFunction()); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#tearDown() * @generated */ @Override protected void tearDown() throws Exception { setFixture(null); } } //SensorFunctionTest