| /* |
| * Copyright (c) 2003, 2004 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Common Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/cpl-v10.html |
| * |
| * Contributors: |
| * IBM - Initial API and implementation |
| * |
| * $Id: ProfileImplTest.java,v 1.1 2004/04/29 14:56:47 khussey Exp $ |
| */ |
| package org.eclipse.uml2.impl.tests; |
| |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.uml2.UML2Factory; |
| import org.eclipse.uml2.impl.ProfileImpl; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Profile</b></em>'. |
| * <!-- end-user-doc --> |
| * <p> |
| * The following features are tested: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.impl.ProfileImpl#getOwnedStereotypes() <em>Owned Stereotype</em>}</li> |
| * <li>{@link org.eclipse.uml2.impl.ProfileImpl#getMetaclassReferences() <em>Metaclass Reference</em>}</li> |
| * <li>{@link org.eclipse.uml2.impl.ProfileImpl#getMetamodelReferences() <em>Metamodel Reference</em>}</li> |
| * </ul> |
| * </p> |
| * <p> |
| * The following operations are tested: |
| * <ul> |
| * <li>{@link org.eclipse.uml2.impl.ProfileImpl#getElementImports() <em>Get Element Imports</em>}</li> |
| * <li>{@link org.eclipse.uml2.impl.ProfileImpl#getPackageImports() <em>Get Package Imports</em>}</li> |
| * </ul> |
| * </p> |
| * @generated |
| */ |
| public class ProfileImplTest extends PackageImplTest { |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static final String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$ |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(ProfileImplTest.class); |
| } |
| |
| /** |
| * Constructs a new Profile test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public ProfileImplTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Returns the fixture for this Profile test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private ProfileImpl getFixture() { |
| return (ProfileImpl) fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| protected void setUp() throws Exception { |
| setFixture((ProfileImpl) UML2Factory.eINSTANCE.createProfile()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.uml2.impl.ProfileImpl#getOwnedStereotypes() <em>Owned Stereotype</em>}' feature getter. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.uml2.impl.ProfileImpl#getOwnedStereotypes() |
| * @generated |
| */ |
| public void testGetOwnedStereotypes() { |
| // TODO: implement this feature getter test method |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.uml2.impl.ProfileImpl#getMetaclassReferences() <em>Metaclass Reference</em>}' feature getter. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.uml2.impl.ProfileImpl#getMetaclassReferences() |
| * @generated |
| */ |
| public void testGetMetaclassReferences() { |
| // TODO: implement this feature getter test method |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.uml2.impl.ProfileImpl#getMetamodelReferences() <em>Metamodel Reference</em>}' feature getter. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.uml2.impl.ProfileImpl#getMetamodelReferences() |
| * @generated |
| */ |
| public void testGetMetamodelReferences() { |
| // TODO: implement this feature getter test method |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.uml2.impl.ProfileImpl#getElementImports() <em>Get Element Imports</em>}' getter operation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.uml2.impl.ProfileImpl#getElementImports() |
| * @generated |
| */ |
| public void testGetElementImports() { |
| // TODO: implement this getter operation test method |
| } |
| |
| /** |
| * Tests the '{@link org.eclipse.uml2.impl.ProfileImpl#getPackageImports() <em>Get Package Imports</em>}' getter operation. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.uml2.impl.ProfileImpl#getPackageImports() |
| * @generated |
| */ |
| public void testGetPackageImports() { |
| // TODO: implement this getter operation test method |
| } |
| |
| } //ProfileImplTest |