uidesigner/com.nokia.sdt.emf.dm.tests/src/com/nokia/sdt/emf/dm/tests/IPropertyValueTest.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.IPropertyValue;
cawthron
parents:
diff changeset
    11
cawthron
parents:
diff changeset
    12
import junit.framework.TestCase;
cawthron
parents:
diff changeset
    13
import junit.textui.TestRunner;
cawthron
parents:
diff changeset
    14
cawthron
parents:
diff changeset
    15
/**
cawthron
parents:
diff changeset
    16
 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    17
 * A test case for the model object '<em><b>IProperty Value</b></em>'.
cawthron
parents:
diff changeset
    18
 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    19
 * <p>
cawthron
parents:
diff changeset
    20
 * The following features are tested:
cawthron
parents:
diff changeset
    21
 * <ul>
cawthron
parents:
diff changeset
    22
 *   <li>{@link com.nokia.sdt.emf.dm.IPropertyValue#getValue() <em>Value</em>}</li>
cawthron
parents:
diff changeset
    23
 * </ul>
cawthron
parents:
diff changeset
    24
 * </p>
cawthron
parents:
diff changeset
    25
 * @generated
cawthron
parents:
diff changeset
    26
 */
cawthron
parents:
diff changeset
    27
public class IPropertyValueTest extends TestCase {
cawthron
parents:
diff changeset
    28
	/**
cawthron
parents:
diff changeset
    29
	 * The fixture for this IProperty Value test case.
cawthron
parents:
diff changeset
    30
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    31
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    32
	 * @generated
cawthron
parents:
diff changeset
    33
	 */
cawthron
parents:
diff changeset
    34
	protected IPropertyValue fixture = null;
cawthron
parents:
diff changeset
    35
cawthron
parents:
diff changeset
    36
	/**
cawthron
parents:
diff changeset
    37
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    38
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    39
	 * @generated
cawthron
parents:
diff changeset
    40
	 */
cawthron
parents:
diff changeset
    41
	public static void main(String[] args) {
cawthron
parents:
diff changeset
    42
		TestRunner.run(IPropertyValueTest.class);
cawthron
parents:
diff changeset
    43
	}
cawthron
parents:
diff changeset
    44
cawthron
parents:
diff changeset
    45
	/**
cawthron
parents:
diff changeset
    46
	 * Constructs a new IProperty Value test case with the given name.
cawthron
parents:
diff changeset
    47
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    48
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    49
	 * @generated
cawthron
parents:
diff changeset
    50
	 */
cawthron
parents:
diff changeset
    51
	public IPropertyValueTest(String name) {
cawthron
parents:
diff changeset
    52
		super(name);
cawthron
parents:
diff changeset
    53
	}
cawthron
parents:
diff changeset
    54
cawthron
parents:
diff changeset
    55
	/**
cawthron
parents:
diff changeset
    56
	 * Sets the fixture for this IProperty Value test case.
cawthron
parents:
diff changeset
    57
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    58
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    59
	 * @generated
cawthron
parents:
diff changeset
    60
	 */
cawthron
parents:
diff changeset
    61
	protected void setFixture(IPropertyValue fixture) {
cawthron
parents:
diff changeset
    62
		this.fixture = fixture;
cawthron
parents:
diff changeset
    63
	}
cawthron
parents:
diff changeset
    64
cawthron
parents:
diff changeset
    65
	/**
cawthron
parents:
diff changeset
    66
	 * Returns the fixture for this IProperty Value test case.
cawthron
parents:
diff changeset
    67
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    68
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    69
	 * @generated
cawthron
parents:
diff changeset
    70
	 */
cawthron
parents:
diff changeset
    71
	private IPropertyValue getFixture() {
cawthron
parents:
diff changeset
    72
		return fixture;
cawthron
parents:
diff changeset
    73
	}
cawthron
parents:
diff changeset
    74
cawthron
parents:
diff changeset
    75
	/**
cawthron
parents:
diff changeset
    76
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    77
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    78
	 * @see junit.framework.TestCase#setUp()
cawthron
parents:
diff changeset
    79
	 * @generated
cawthron
parents:
diff changeset
    80
	 */
cawthron
parents:
diff changeset
    81
	protected void setUp() throws Exception {
cawthron
parents:
diff changeset
    82
		setFixture(DmFactory.eINSTANCE.createIPropertyValue());
cawthron
parents:
diff changeset
    83
	}
cawthron
parents:
diff changeset
    84
cawthron
parents:
diff changeset
    85
	/**
cawthron
parents:
diff changeset
    86
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    87
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    88
	 * @see junit.framework.TestCase#tearDown()
cawthron
parents:
diff changeset
    89
	 * @generated
cawthron
parents:
diff changeset
    90
	 */
cawthron
parents:
diff changeset
    91
	protected void tearDown() throws Exception {
cawthron
parents:
diff changeset
    92
		setFixture(null);
cawthron
parents:
diff changeset
    93
	}
cawthron
parents:
diff changeset
    94
cawthron
parents:
diff changeset
    95
	/**
cawthron
parents:
diff changeset
    96
	 * Tests the '{@link com.nokia.sdt.emf.dm.IPropertyValue#getValue() <em>Value</em>}' feature getter.
cawthron
parents:
diff changeset
    97
	 * <!-- begin-user-doc -->
cawthron
parents:
diff changeset
    98
	 * <!-- end-user-doc -->
cawthron
parents:
diff changeset
    99
	 * @see com.nokia.sdt.emf.dm.IPropertyValue#getValue()
cawthron
parents:
diff changeset
   100
	 * @generated
cawthron
parents:
diff changeset
   101
	 */
cawthron
parents:
diff changeset
   102
	public void testGetValue() {
cawthron
parents:
diff changeset
   103
		// TODO: implement this feature getter test method
cawthron
parents:
diff changeset
   104
		// Ensure that you remove @generated or mark it @generated NOT
cawthron
parents:
diff changeset
   105
		fail();
cawthron
parents:
diff changeset
   106
	}
cawthron
parents:
diff changeset
   107
cawthron
parents:
diff changeset
   108
} //IPropertyValueTest