blob: ee5463744dd3325a774a2f02175354991e461673 (
plain)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
package org.onap.vid.asdc.beans.tosca;
import java.util.Collection;
import java.util.Map;
import org.junit.Test;
public class ToscaModelTest {
private ToscaModel createTestSubject() {
return new ToscaModel();
}
@Test
public void testGetMetadata() throws Exception {
ToscaModel testSubject;
ToscaMetadata result;
// default test
testSubject = createTestSubject();
result = testSubject.getMetadata();
}
@Test
public void testSetMetadata() throws Exception {
ToscaModel testSubject;
ToscaMetadata metadata = null;
// default test
testSubject = createTestSubject();
testSubject.setMetadata(metadata);
}
@Test
public void testGettosca_definitions_version() throws Exception {
ToscaModel testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.gettosca_definitions_version();
}
@Test
public void testSettosca_definitions_version() throws Exception {
ToscaModel testSubject;
String tosca_definitions_version = "";
// default test
testSubject = createTestSubject();
testSubject.settosca_definitions_version(tosca_definitions_version);
}
@Test
public void testGettopology_template() throws Exception {
ToscaModel testSubject;
TopologyTemplate result;
// default test
testSubject = createTestSubject();
result = testSubject.gettopology_template();
}
@Test
public void testSettopology_template() throws Exception {
ToscaModel testSubject;
TopologyTemplate topology_template = null;
// default test
testSubject = createTestSubject();
testSubject.settopology_template(topology_template);
}
@Test
public void testGetDescription() throws Exception {
ToscaModel testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getDescription();
}
@Test
public void testSetDescription() throws Exception {
ToscaModel testSubject;
String description = "";
// default test
testSubject = createTestSubject();
testSubject.setDescription(description);
}
@Test
public void testGetImports() throws Exception {
ToscaModel testSubject;
Collection<Map<String, Map<String, String>>> result;
// default test
testSubject = createTestSubject();
result = testSubject.getImports();
}
@Test
public void testSetImports() throws Exception {
ToscaModel testSubject;
Collection<Map<String, Map<String, String>>> imports = null;
// default test
testSubject = createTestSubject();
testSubject.setImports(imports);
}
@Test
public void testGetnode_types() throws Exception {
ToscaModel testSubject;
Map<String, Object> result;
// default test
testSubject = createTestSubject();
result = testSubject.getnode_types();
}
@Test
public void testSetnode_types() throws Exception {
ToscaModel testSubject;
Map<String, Object> node_types = null;
// default test
testSubject = createTestSubject();
testSubject.setnode_types(node_types);
}
}
|