blob: 8b954b207a6e0fc9511e7b2e32b5d8e7309ef983 [file] [log] [blame]
/**
*/
package org.eclipse.papyrus.layers.stackmodel.layers.tests;
import junit.textui.TestRunner;
import org.eclipse.papyrus.layers.stackmodel.layers.IntType;
import org.eclipse.papyrus.layers.stackmodel.layers.LayersFactory;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Int Type</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class IntTypeTest extends TypeTest {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public static void main(String[] args) {
TestRunner.run(IntTypeTest.class);
}
/**
* Constructs a new Int Type test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public IntTypeTest(String name) {
super(name);
}
/**
* Returns the fixture for this Int Type test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
protected IntType getFixture() {
return (IntType) fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(LayersFactory.eINSTANCE.createIntType());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} // IntTypeTest