| /** |
| */ |
| package esm.tests; |
| |
| import esm.EndState; |
| import esm.EsmFactory; |
| |
| import junit.textui.TestRunner; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>End State</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class EndStateTest extends StateTest |
| { |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) |
| { |
| TestRunner.run(EndStateTest.class); |
| } |
| |
| /** |
| * Constructs a new End State test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public EndStateTest(String name) |
| { |
| super(name); |
| } |
| |
| /** |
| * Returns the fixture for this End State test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| @Override |
| protected EndState getFixture() |
| { |
| return (EndState)fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| @Override |
| protected void setUp() throws Exception |
| { |
| setFixture(EsmFactory.eINSTANCE.createEndState()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| @Override |
| protected void tearDown() throws Exception |
| { |
| setFixture(null); |
| } |
| |
| } //EndStateTest |