blob: c1910762b48ffa054b9aafa03e0fa2f194e9a9dc [file] [log] [blame]
/*
* Copyright (c) 2003, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: ExtensionEndTest.java,v 1.2 2005/04/20 19:00:46 khussey Exp $
*/
package org.eclipse.uml2.tests;
import junit.textui.TestRunner;
import org.eclipse.uml2.ExtensionEnd;
import org.eclipse.uml2.UML2Factory;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Extension End</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following operations are tested:
* <ul>
* <li>{@link org.eclipse.uml2.ExtensionEnd#getType() <em>Get Type</em>}</li>
* <li>{@link org.eclipse.uml2.ExtensionEnd#setType(org.eclipse.uml2.Type) <em>Set Type</em>}</li>
* </ul>
* </p>
* @generated
*/
public class ExtensionEndTest extends PropertyTest {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static final String copyright = "Copyright (c) 2003, 2005 IBM Corporation and others."; //$NON-NLS-1$
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(ExtensionEndTest.class);
}
/**
* Constructs a new Extension End test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ExtensionEndTest(String name) {
super(name);
}
/**
* Returns the fixture for this Extension End test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private ExtensionEnd getFixture() {
return (ExtensionEnd)fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
protected void setUp() throws Exception {
setFixture(UML2Factory.eINSTANCE.createExtensionEnd());
}
/**
* <!-- 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.ExtensionEnd#getType() <em>Get Type</em>}' getter operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.uml2.ExtensionEnd#getType()
* @generated
*/
public void testGetType() {
// TODO: implement this getter operation test method
// Ensure that you remove @generated or mark it @generated NOT
}
/**
* Tests the '{@link org.eclipse.uml2.ExtensionEnd#setType(org.eclipse.uml2.Type) <em>Set Type</em>}' setter operation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.uml2.ExtensionEnd#setType(org.eclipse.uml2.Type)
* @generated
*/
public void testSetType() {
// TODO: implement this setter operation test method
// Ensure that you remove @generated or mark it @generated NOT
}
} //ExtensionEndImplTest