blob: 0c58870c7f4023e6c3cbba57bed829e6930d3ec4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
/**
* Copyright (c) 2015 Christian W. Damus 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:
* Christian W. Damus - Initial API and implementation
*
*
*/
package org.eclipse.papyrus.infra.viewpoints.configuration.tests;
import junit.framework.TestCase;
import junit.textui.TestRunner;
import org.eclipse.papyrus.infra.viewpoints.configuration.ConfigurationFactory;
import org.eclipse.papyrus.infra.viewpoints.configuration.PapyrusViewpoint;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Papyrus Viewpoint</b></em>'.
* <!-- end-user-doc -->
* @generated
*/
public class PapyrusViewpointTest extends TestCase {
/**
* The fixture for this Papyrus Viewpoint test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected PapyrusViewpoint fixture = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public static void main(String[] args) {
TestRunner.run(PapyrusViewpointTest.class);
}
/**
* Constructs a new Papyrus Viewpoint test case with the given name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PapyrusViewpointTest(String name) {
super(name);
}
/**
* Sets the fixture for this Papyrus Viewpoint test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(PapyrusViewpoint fixture) {
this.fixture = fixture;
}
/**
* Returns the fixture for this Papyrus Viewpoint test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected PapyrusViewpoint getFixture() {
return fixture;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#setUp()
* @generated
*/
@Override
protected void setUp() throws Exception {
setFixture(ConfigurationFactory.eINSTANCE.createPapyrusViewpoint());
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see junit.framework.TestCase#tearDown()
* @generated
*/
@Override
protected void tearDown() throws Exception {
setFixture(null);
}
} //PapyrusViewpointTest
|