/** * <copyright> * </copyright> * * $Id$ */ package org.eclipse.amalgam.tutorials.emf.droid.tests; import junit.framework.TestCase; import junit.textui.TestRunner; import org.eclipse.amalgam.tutorials.emf.droid.Action; import org.eclipse.amalgam.tutorials.emf.droid.DroidFactory; /** * <!-- begin-user-doc --> * A test case for the model object '<em><b>Action</b></em>'. * <!-- end-user-doc --> * @generated */ public class ActionTest extends TestCase { /** * The fixture for this Action test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Action fixture = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static void main(String[] args) { TestRunner.run(ActionTest.class); } /** * Constructs a new Action test case with the given name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ActionTest(String name) { super(name); } /** * Sets the fixture for this Action test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void setFixture(Action fixture) { this.fixture = fixture; } /** * Returns the fixture for this Action test case. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected Action getFixture() { return fixture; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#setUp() * @generated */ @Override protected void setUp() throws Exception { setFixture(DroidFactory.eINSTANCE.createAction()); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see junit.framework.TestCase#tearDown() * @generated */ @Override protected void tearDown() throws Exception { setFixture(null); } } //ActionTest