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