uidesigner/com.nokia.sdt.emf.dm.tests/src/com/nokia/sdt/emf/dm/tests/ISourceGenMappingStateTest.java
author timkelly
Mon, 06 Apr 2009 14:15:39 -0500
changeset 52 e26ecc088f24
parent 2 d760517a8095
permissions -rw-r--r--
Add tests for regressing bug 8804.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
/**
cawthron
parents:
diff changeset
     2
 * <copyright>
cawthron
parents:
diff changeset
     3
 * </copyright>
cawthron
parents:
diff changeset
     4
 *
cawthron
parents:
diff changeset
     5
 * $Id$
cawthron
parents:
diff changeset
     6
 */
cawthron
parents:
diff changeset
     7
package com.nokia.sdt.emf.dm.tests;
cawthron
parents:
diff changeset
     8
cawthron
parents:
diff changeset
     9
import com.nokia.sdt.emf.dm.DmFactory;
cawthron
parents:
diff changeset
    10
import com.nokia.sdt.emf.dm.ISourceGenMappingState;
cawthron
parents:
diff changeset
    11
cawthron
parents:
diff changeset
    12
import junit.framework.TestCase;
cawthron
parents:
diff changeset
    13
cawthron
parents:
diff changeset
    14
import junit.textui.TestRunner;
cawthron
parents:
diff changeset
    15
cawthron
parents:
diff changeset
    16
/**
cawthron
parents:
diff changeset
    17
 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    18
 * A test case for the model object '<em><b>ISource Gen Mapping State</b></em>'.
cawthron
parents:
diff changeset
    19
 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    20
 * @generated
cawthron
parents:
diff changeset
    21
 */
cawthron
parents:
diff changeset
    22
public class ISourceGenMappingStateTest extends TestCase {
cawthron
parents:
diff changeset
    23
	/**
cawthron
parents:
diff changeset
    24
	 * The fixture for this ISource Gen Mapping State test case.
cawthron
parents:
diff changeset
    25
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    26
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    27
	 * @generated
cawthron
parents:
diff changeset
    28
	 */
cawthron
parents:
diff changeset
    29
	protected ISourceGenMappingState fixture = null;
cawthron
parents:
diff changeset
    30
cawthron
parents:
diff changeset
    31
	/**
cawthron
parents:
diff changeset
    32
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    33
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    34
	 * @generated
cawthron
parents:
diff changeset
    35
	 */
cawthron
parents:
diff changeset
    36
	public static void main(String[] args) {
cawthron
parents:
diff changeset
    37
		TestRunner.run(ISourceGenMappingStateTest.class);
cawthron
parents:
diff changeset
    38
	}
cawthron
parents:
diff changeset
    39
cawthron
parents:
diff changeset
    40
	/**
cawthron
parents:
diff changeset
    41
	 * Constructs a new ISource Gen Mapping State test case with the given name.
cawthron
parents:
diff changeset
    42
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    43
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    44
	 * @generated
cawthron
parents:
diff changeset
    45
	 */
cawthron
parents:
diff changeset
    46
	public ISourceGenMappingStateTest(String name) {
cawthron
parents:
diff changeset
    47
		super(name);
cawthron
parents:
diff changeset
    48
	}
cawthron
parents:
diff changeset
    49
cawthron
parents:
diff changeset
    50
	/**
cawthron
parents:
diff changeset
    51
	 * Sets the fixture for this ISource Gen Mapping State test case.
cawthron
parents:
diff changeset
    52
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    53
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    54
	 * @generated
cawthron
parents:
diff changeset
    55
	 */
cawthron
parents:
diff changeset
    56
	protected void setFixture(ISourceGenMappingState fixture) {
cawthron
parents:
diff changeset
    57
		this.fixture = fixture;
cawthron
parents:
diff changeset
    58
	}
cawthron
parents:
diff changeset
    59
cawthron
parents:
diff changeset
    60
	/**
cawthron
parents:
diff changeset
    61
	 * Returns the fixture for this ISource Gen Mapping State test case.
cawthron
parents:
diff changeset
    62
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    63
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    64
	 * @generated
cawthron
parents:
diff changeset
    65
	 */
cawthron
parents:
diff changeset
    66
	private ISourceGenMappingState getFixture() {
cawthron
parents:
diff changeset
    67
		return fixture;
cawthron
parents:
diff changeset
    68
	}
cawthron
parents:
diff changeset
    69
cawthron
parents:
diff changeset
    70
	/**
cawthron
parents:
diff changeset
    71
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    72
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    73
	 * @see junit.framework.TestCase#setUp()
cawthron
parents:
diff changeset
    74
	 * @generated
cawthron
parents:
diff changeset
    75
	 */
cawthron
parents:
diff changeset
    76
	protected void setUp() throws Exception {
cawthron
parents:
diff changeset
    77
		setFixture(DmFactory.eINSTANCE.createISourceGenMappingState());
cawthron
parents:
diff changeset
    78
	}
cawthron
parents:
diff changeset
    79
cawthron
parents:
diff changeset
    80
	/**
cawthron
parents:
diff changeset
    81
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    82
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    83
	 * @see junit.framework.TestCase#tearDown()
cawthron
parents:
diff changeset
    84
	 * @generated
cawthron
parents:
diff changeset
    85
	 */
cawthron
parents:
diff changeset
    86
	protected void tearDown() throws Exception {
cawthron
parents:
diff changeset
    87
		setFixture(null);
cawthron
parents:
diff changeset
    88
	}
cawthron
parents:
diff changeset
    89
cawthron
parents:
diff changeset
    90
} //ISourceGenMappingStateTest