diff options
Diffstat (limited to 'plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/tests/ServiceFactoryDescTest.java')
1 files changed, 76 insertions, 0 deletions
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/tests/ServiceFactoryDescTest.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/tests/ServiceFactoryDescTest.java new file mode 100644 index 00000000000..e87d151fe1a --- /dev/null +++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptorswithid/tests/ServiceFactoryDescTest.java @@ -0,0 +1,76 @@ +/** + */ +package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.tests; + +import junit.textui.TestRunner; + +import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServiceFactoryIdDesc; +import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptorswithid.ServicedescriptorswithidFactory; + +/** + * <!-- begin-user-doc --> + * A test case for the model object '<em><b>Service Factory Desc</b></em>'. + * <!-- end-user-doc --> + * + * @generated + */ +public class ServiceFactoryDescTest extends ServiceDescTest { + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public static void main(String[] args) { + TestRunner.run(ServiceFactoryDescTest.class); + } + + /** + * Constructs a new Service Factory Desc test case with the given name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public ServiceFactoryDescTest(String name) { + super(name); + } + + /** + * Returns the fixture for this Service Factory Desc test case. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + @Override + protected ServiceFactoryIdDesc getFixture() { + return (ServiceFactoryIdDesc) fixture; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see junit.framework.TestCase#setUp() + * @generated + */ + @Override + protected void setUp() throws Exception { + setFixture(ServicedescriptorswithidFactory.eINSTANCE.createServiceFactoryIdDesc()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see junit.framework.TestCase#tearDown() + * @generated + */ + @Override + protected void tearDown() throws Exception { + setFixture(null); + } + +} // ServiceFactoryDescTest |