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