Refactoring Consolidation Service
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / ArtifactServletTest.java
1 package org.openecomp.sdc.be.servlets;
2
3 import javax.servlet.http.HttpServletRequest;
4 import javax.ws.rs.core.Response;
5
6 import org.junit.Test;
7
8
9 public class ArtifactServletTest {
10
11         private ArtifactServlet createTestSubject() {
12                 return new ArtifactServlet();
13         }
14
15         
16         @Test
17         public void testLoadArtifact() throws Exception {
18                 ArtifactServlet testSubject;
19                 String resourceId = "";
20                 String data = "";
21                 HttpServletRequest request = null;
22                 Response result;
23
24                 // default test
25                 testSubject = createTestSubject();
26                 
27         }
28
29         
30         @Test
31         public void testUpdateArtifact() throws Exception {
32                 ArtifactServlet testSubject;
33                 String resourceId = "";
34                 String artifactId = "";
35                 String data = "";
36                 HttpServletRequest request = null;
37                 Response result;
38
39                 // default test
40                 testSubject = createTestSubject();
41                 
42         }
43
44         
45         @Test
46         public void testDeleteArtifact() throws Exception {
47                 ArtifactServlet testSubject;
48                 String resourceId = "";
49                 String artifactId = "";
50                 HttpServletRequest request = null;
51                 Response result;
52
53                 // default test
54                 testSubject = createTestSubject();
55                 
56         }
57
58         
59         @Test
60         public void testLoadInformationArtifact() throws Exception {
61                 ArtifactServlet testSubject;
62                 String serviceId = "";
63                 String data = "";
64                 HttpServletRequest request = null;
65                 Response result;
66
67                 // default test
68                 testSubject = createTestSubject();
69                 
70         }
71
72         
73         @Test
74         public void testUpdateInformationArtifact() throws Exception {
75                 ArtifactServlet testSubject;
76                 String serviceId = "";
77                 String artifactId = "";
78                 String data = "";
79                 HttpServletRequest request = null;
80                 Response result;
81
82                 // default test
83                 testSubject = createTestSubject();
84                 
85         }
86
87         
88         @Test
89         public void testUpdateApiArtifact() throws Exception {
90                 ArtifactServlet testSubject;
91                 String serviceId = "";
92                 String artifactId = "";
93                 String data = "";
94                 HttpServletRequest request = null;
95                 String userId = "";
96                 String origMd5 = "";
97                 Response result;
98
99                 // default test
100                 testSubject = createTestSubject();
101                 
102         }
103
104         
105         @Test
106         public void testDeleteApiArtifact() throws Exception {
107                 ArtifactServlet testSubject;
108                 String serviceId = "";
109                 String artifactId = "";
110                 HttpServletRequest request = null;
111                 String userId = "";
112                 String origMd5 = "";
113                 Response result;
114
115                 // default test
116                 testSubject = createTestSubject();
117                 
118         }
119
120         
121         @Test
122         public void testDeleteInformationalArtifact() throws Exception {
123                 ArtifactServlet testSubject;
124                 String serviceId = "";
125                 String artifactId = "";
126                 HttpServletRequest request = null;
127                 Response result;
128
129                 // default test
130                 testSubject = createTestSubject();
131                 
132         }
133
134         
135         @Test
136         public void testDownloadServiceArtifactBase64() throws Exception {
137                 ArtifactServlet testSubject;
138                 String serviceId = "";
139                 String artifactId = "";
140                 HttpServletRequest request = null;
141                 Response result;
142
143                 // default test
144                 testSubject = createTestSubject();
145                 
146         }
147
148         
149         @Test
150         public void testDownloadResourceArtifactBase64() throws Exception {
151                 ArtifactServlet testSubject;
152                 String resourceId = "";
153                 String artifactId = "";
154                 HttpServletRequest request = null;
155                 Response result;
156
157                 // default test
158                 testSubject = createTestSubject();
159                 
160         }
161
162         
163         @Test
164         public void testDownloadResourceInstanceArtifactBase64() throws Exception {
165                 ArtifactServlet testSubject;
166                 String containerComponentType = "";
167                 String componentId = "";
168                 String componentInstanceId = "";
169                 String artifactId = "";
170                 HttpServletRequest request = null;
171                 Response result;
172
173                 // default test
174                 testSubject = createTestSubject();
175                 
176         }
177
178         
179         @Test
180         public void testLoadArtifactToInterface() throws Exception {
181                 ArtifactServlet testSubject;
182                 String resourceId = "";
183                 String interfaceType = "";
184                 String operation = "";
185                 String userId = "";
186                 String origMd5 = "";
187                 String data = "";
188                 HttpServletRequest request = null;
189                 Response result;
190
191                 // default test
192                 testSubject = createTestSubject();
193                 
194         }
195
196         
197         @Test
198         public void testDeleteArtifactToInterface() throws Exception {
199                 ArtifactServlet testSubject;
200                 String resourceId = "";
201                 String interfaceType = "";
202                 String operation = "";
203                 String artifactId = "";
204                 HttpServletRequest request = null;
205                 Response result;
206
207                 // default test
208                 testSubject = createTestSubject();
209                 
210         }
211
212         
213         @Test
214         public void testUpdateArtifactToInterface() throws Exception {
215                 ArtifactServlet testSubject;
216                 String resourceId = "";
217                 String interfaceType = "";
218                 String operation = "";
219                 String artifactId = "";
220                 String userId = "";
221                 String origMd5 = "";
222                 HttpServletRequest request = null;
223                 String data = "";
224                 Response result;
225
226                 // default test
227                 testSubject = createTestSubject();
228                 
229         }
230
231         
232         @Test
233         public void testUpdateRIArtifact() throws Exception {
234                 ArtifactServlet testSubject;
235                 String containerComponentType = "";
236                 String componentId = "";
237                 String componentInstanceId = "";
238                 String artifactId = "";
239                 String data = "";
240                 HttpServletRequest request = null;
241                 Response result;
242
243                 // default test
244                 testSubject = createTestSubject();
245                 
246         }
247
248         
249         @Test
250         public void testUpdateComponentInstanceArtifact() throws Exception {
251                 ArtifactServlet testSubject;
252                 String userId = "";
253                 String origMd5 = "";
254                 String containerComponentType = "";
255                 String componentId = "";
256                 String componentInstanceId = "";
257                 String artifactId = "";
258                 String data = "";
259                 HttpServletRequest request = null;
260                 Response result;
261
262                 // default test
263                 testSubject = createTestSubject();
264                 
265         }
266
267         
268         @Test
269         public void testLoadComponentInstanceArtifact() throws Exception {
270                 ArtifactServlet testSubject;
271                 String userId = "";
272                 String origMd5 = "";
273                 String containerComponentType = "";
274                 String componentId = "";
275                 String componentInstanceId = "";
276                 String data = "";
277                 HttpServletRequest request = null;
278                 Response result;
279
280                 // default test
281                 testSubject = createTestSubject();
282                 
283         }
284
285         
286         @Test
287         public void testDeleteComponentInstanceArtifact() throws Exception {
288                 ArtifactServlet testSubject;
289                 String userId = "";
290                 String origMd5 = "";
291                 String containerComponentType = "";
292                 String componentId = "";
293                 String componentInstanceId = "";
294                 String artifactId = "";
295                 String data = "";
296                 HttpServletRequest request = null;
297                 Response result;
298
299                 // default test
300                 testSubject = createTestSubject();
301                 
302         }
303
304         
305         @Test
306         public void testGetComponentArtifacts() throws Exception {
307                 ArtifactServlet testSubject;
308                 String containerComponentType = "";
309                 String componentId = "";
310                 String artifactGroupType = "";
311                 HttpServletRequest request = null;
312                 Response result;
313
314                 // default test
315                 testSubject = createTestSubject();
316                 
317         }
318
319         
320         @Test
321         public void testGetComponentInstanceArtifacts() throws Exception {
322                 ArtifactServlet testSubject;
323                 String containerComponentType = "";
324                 String componentId = "";
325                 String componentInstanceId = "";
326                 String artifactGroupType = "";
327                 HttpServletRequest request = null;
328                 Response result;
329
330                 // default test
331                 testSubject = createTestSubject();
332                 
333         }
334
335         
336
337 }