re base code
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / unittests / utils / FactoryUtilsTest.java
1 package org.openecomp.sdc.be.unittests.utils;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.dao.graph.datatype.GraphEdge;
5 import org.openecomp.sdc.be.model.*;
6 import org.openecomp.sdc.be.resources.data.*;
7
8 import java.util.List;
9
10 public class FactoryUtilsTest {
11
12 //      private FactoryUtils createTestSubject() {
13 //              return FactoryUtils.Constants;
14 //      }
15
16         
17         @Test
18         public void testCreateVFWithRI() throws Exception {
19                 String riVersion = "";
20                 Resource result;
21
22                 // default test
23                 result = FactoryUtils.createVFWithRI(riVersion);
24         }
25
26         
27         @Test
28         public void testCreateVF() throws Exception {
29                 Resource result;
30
31                 // default test
32                 result = FactoryUtils.createVF();
33         }
34
35         
36         @Test
37         public void testCreateResourceByType() throws Exception {
38                 String resourceType = "";
39                 ResourceMetadataData result;
40
41                 // default test
42                 result = FactoryUtils.createResourceByType(resourceType);
43         }
44
45         
46         @Test
47         public void testAddComponentInstanceToVF() throws Exception {
48                 Resource vf = new Resource();
49                 ComponentInstance resourceInstance = null;
50
51                 // default test
52                 FactoryUtils.addComponentInstanceToVF(vf, resourceInstance);
53         }
54
55         
56         @Test
57         public void testCreateResourceInstance() throws Exception {
58                 ComponentInstance result;
59
60                 // default test
61                 result = FactoryUtils.createResourceInstance();
62         }
63
64         
65         @Test
66         public void testCreateResourceInstanceWithVersion() throws Exception {
67                 String riVersion = "";
68                 ComponentInstance result;
69
70                 // default test
71                 result = FactoryUtils.createResourceInstanceWithVersion(riVersion);
72         }
73
74         
75         @Test
76         public void testCreateCapabilityData() throws Exception {
77                 CapabilityData result;
78
79                 // default test
80                 result = FactoryUtils.createCapabilityData();
81         }
82
83         
84         @Test
85         public void testCreateRequirementData() throws Exception {
86                 RequirementData result;
87
88                 // default test
89                 result = FactoryUtils.createRequirementData();
90         }
91
92         
93         @Test
94         public void testConvertCapabilityDataToCapabilityDefinitionAddProperties() throws Exception {
95                 CapabilityData capData = new CapabilityData();
96                 CapabilityDefinition result;
97
98                 // default test
99                 result = FactoryUtils.convertCapabilityDataToCapabilityDefinitionAddProperties(capData);
100         }
101
102         
103         @Test
104         public void testCreateComponentInstancePropertyList() throws Exception {
105                 List<ComponentInstanceProperty> result;
106
107                 // default test
108                 result = FactoryUtils.createComponentInstancePropertyList();
109         }
110
111         
112         @Test
113         public void testConvertRequirementDataIDToRequirementDefinition() throws Exception {
114                 String reqDataId = "";
115                 RequirementDefinition result;
116
117                 // default test
118                 result = FactoryUtils.convertRequirementDataIDToRequirementDefinition(reqDataId);
119         }
120
121         
122         @Test
123         public void testCreateGraphEdge() throws Exception {
124                 GraphEdge result;
125
126                 // default test
127                 result = FactoryUtils.createGraphEdge();
128         }
129
130         
131         @Test
132         public void testCreateCapabilityInstData() throws Exception {
133                 CapabilityInstData result;
134
135                 // default test
136                 result = FactoryUtils.createCapabilityInstData();
137         }
138
139         
140         @Test
141         public void testCreatePropertyData() throws Exception {
142                 PropertyValueData result;
143
144                 // default test
145                 result = FactoryUtils.createPropertyData();
146         }
147
148         
149         @Test
150         public void testConvertCapabilityDefinitionToCapabilityData() throws Exception {
151                 PropertyDefinition propDef = new PropertyDefinition();
152                 PropertyData result;
153
154                 // default test
155                 result = FactoryUtils.convertCapabilityDefinitionToCapabilityData(propDef);
156         }
157
158         
159         @Test
160         public void testConvertCapabilityDataToCapabilityDefinitionRoot() throws Exception {
161                 CapabilityData capData = new CapabilityData();
162                 CapabilityDefinition result;
163
164                 // default test
165                 result = FactoryUtils.convertCapabilityDataToCapabilityDefinitionRoot(capData);
166         }
167 }