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