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