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