| /** |
| * <copyright> |
| * </copyright> |
| * |
| * $Id: IconTypeTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $ |
| */ |
| package org.eclipse.jst.j2ee.common.tests; |
| |
| import junit.framework.TestCase; |
| |
| import junit.textui.TestRunner; |
| |
| import org.eclipse.jst.j2ee.common.CommonFactory; |
| import org.eclipse.jst.j2ee.common.IconType; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A test case for the model object '<em><b>Icon Type</b></em>'. |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public class IconTypeTest extends TestCase { |
| /** |
| * The fixture for this Icon Type test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected IconType fixture = null; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public static void main(String[] args) { |
| TestRunner.run(IconTypeTest.class); |
| } |
| |
| /** |
| * Constructs a new Icon Type test case with the given name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| public IconTypeTest(String name) { |
| super(name); |
| } |
| |
| /** |
| * Sets the fixture for this Icon Type test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| protected void setFixture(IconType fixture) { |
| this.fixture = fixture; |
| } |
| |
| /** |
| * Returns the fixture for this Icon Type test case. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| private IconType getFixture() { |
| return fixture; |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#setUp() |
| * @generated |
| */ |
| protected void setUp() throws Exception { |
| setFixture(CommonFactory.eINSTANCE.createIconType()); |
| } |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see junit.framework.TestCase#tearDown() |
| * @generated |
| */ |
| protected void tearDown() throws Exception { |
| setFixture(null); |
| } |
| |
| } //IconTypeTest |