diff options
Diffstat (limited to 'plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/tests/DescriptorsTest.java')
-rw-r--r-- | plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/tests/DescriptorsTest.java | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/tests/DescriptorsTest.java b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/tests/DescriptorsTest.java new file mode 100644 index 00000000000..5fbdeceb7d6 --- /dev/null +++ b/plugins/infra/core/serviceregistry/org.eclipse.papyrus.infra.core.serviceregistry.tests/src/org/eclipse/papyrus/infra/core/serviceregistry/servicedescriptors/tests/DescriptorsTest.java @@ -0,0 +1,131 @@ +/** + */ +package org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.tests; + +import junit.framework.TestCase; +import junit.textui.TestRunner; + +import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors; +import org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.ServicedescriptorsFactory; + +/** + * <!-- begin-user-doc --> + * A test case for the model object '<em><b>Descriptors</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following operations are tested: + * <ul> + * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getRegistryDesc(java.lang.String) <em>Get Registry Desc</em>}</li> + * <li>{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getServiceSetDesc(java.lang.String) <em>Get Service Set Desc</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DescriptorsTest extends TestCase { + + /** + * The fixture for this Descriptors test case. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + protected Descriptors fixture = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public static void main(String[] args) { + TestRunner.run(DescriptorsTest.class); + } + + /** + * Constructs a new Descriptors test case with the given name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + public DescriptorsTest(String name) { + super(name); + } + + /** + * Sets the fixture for this Descriptors test case. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + protected void setFixture(Descriptors fixture) { + this.fixture = fixture; + } + + /** + * Returns the fixture for this Descriptors test case. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @generated + */ + protected Descriptors getFixture() { + return fixture; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see junit.framework.TestCase#setUp() + * @generated + */ + @Override + protected void setUp() throws Exception { + setFixture(ServicedescriptorsFactory.eINSTANCE.createDescriptors()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see junit.framework.TestCase#tearDown() + * @generated + */ + @Override + protected void tearDown() throws Exception { + setFixture(null); + } + + /** + * Tests the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getRegistryDesc(java.lang.String) <em>Get Registry Desc</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getRegistryDesc(java.lang.String) + * @generated + */ + public void testGetRegistryDesc__String() { + // TODO: implement this operation test method + // Ensure that you remove @generated or mark it @generated NOT + fail(); + } + + /** + * Tests the '{@link org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getServiceSetDesc(java.lang.String) <em>Get Service Set Desc</em>}' operation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * + * @see org.eclipse.papyrus.infra.core.serviceregistry.servicedescriptors.Descriptors#getServiceSetDesc(java.lang.String) + * @generated + */ + public void testGetServiceSetDesc__String() { + // TODO: implement this operation test method + // Ensure that you remove @generated or mark it @generated NOT + fail(); + } + +} // DescriptorsTest |