7d3eca8f166793eb03b8445fd7485b02ff66caac
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / ElementServletTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.be.servlets;
22
23 import java.util.List;
24
25 import javax.servlet.http.HttpServletRequest;
26 import javax.ws.rs.core.Response;
27
28 import org.junit.Test;
29 import org.openecomp.sdc.be.datatypes.enums.OriginTypeEnum;
30
31 public class ElementServletTest {
32
33         private ElementServlet createTestSubject() {
34                 return new ElementServlet();
35         }
36
37         
38         @Test
39         public void testGetComponentCategories() throws Exception {
40                 ElementServlet testSubject;
41                 String componentType = "";
42                 String userId = "";
43                 HttpServletRequest request = null;
44                 Response result;
45
46                 // default test
47                 testSubject = createTestSubject();
48                 
49         }
50
51         
52         @Test
53         public void testGetAllCategories() throws Exception {
54                 ElementServlet testSubject;
55                 HttpServletRequest request = null;
56                 String userId = "";
57                 Response result;
58
59                 // default test
60                 testSubject = createTestSubject();
61                 
62         }
63
64         
65         @Test
66         public void testCreateComponentCategory() throws Exception {
67                 ElementServlet testSubject;
68                 String componentType = "";
69                 String data = "";
70                 HttpServletRequest request = null;
71                 String userId = "";
72                 Response result;
73
74                 // default test
75                 testSubject = createTestSubject();
76                 
77         }
78
79         
80         @Test
81         public void testDeleteComponentCategory() throws Exception {
82                 ElementServlet testSubject;
83                 String categoryUniqueId = "";
84                 String componentType = "";
85                 HttpServletRequest request = null;
86                 String userId = "";
87                 Response result;
88
89                 // default test
90                 testSubject = createTestSubject();
91                 
92         }
93
94         
95         @Test
96         public void testCreateComponentSubCategory() throws Exception {
97                 ElementServlet testSubject;
98                 String componentType = "";
99                 String categoryId = "";
100                 String data = "";
101                 HttpServletRequest request = null;
102                 String userId = "";
103                 Response result;
104
105                 // default test
106                 testSubject = createTestSubject();
107                 
108         }
109
110         
111         @Test
112         public void testDeleteComponentSubCategory() throws Exception {
113                 ElementServlet testSubject;
114                 String categoryUniqueId = "";
115                 String subCategoryUniqueId = "";
116                 String componentType = "";
117                 HttpServletRequest request = null;
118                 String userId = "";
119                 Response result;
120
121                 // default test
122                 testSubject = createTestSubject();
123                 
124         }
125
126         
127         @Test
128         public void testCreateComponentGrouping() throws Exception {
129                 ElementServlet testSubject;
130                 String componentType = "";
131                 String grandParentCategoryId = "";
132                 String parentSubCategoryId = "";
133                 String data = "";
134                 HttpServletRequest request = null;
135                 String userId = "";
136                 Response result;
137
138                 // default test
139                 testSubject = createTestSubject();
140                 
141         }
142
143         
144         @Test
145         public void testDeleteComponentGrouping() throws Exception {
146                 ElementServlet testSubject;
147                 String grandParentCategoryUniqueId = "";
148                 String parentSubCategoryUniqueId = "";
149                 String groupingUniqueId = "";
150                 String componentType = "";
151                 HttpServletRequest request = null;
152                 String userId = "";
153                 Response result;
154
155                 // default test
156                 testSubject = createTestSubject();
157                 
158         }
159
160         
161         @Test
162         public void testGetTags() throws Exception {
163                 ElementServlet testSubject;
164                 HttpServletRequest request = null;
165                 String userId = "";
166                 Response result;
167
168                 // default test
169                 testSubject = createTestSubject();
170                 
171         }
172
173         
174         @Test
175         public void testGetPropertyScopes() throws Exception {
176                 ElementServlet testSubject;
177                 HttpServletRequest request = null;
178                 String userId = "";
179                 Response result;
180
181                 // default test
182                 testSubject = createTestSubject();
183                 
184         }
185
186         
187         @Test
188         public void testGetArtifactTypes() throws Exception {
189                 ElementServlet testSubject;
190                 HttpServletRequest request = null;
191                 String userId = "";
192                 Response result;
193
194                 // default test
195                 testSubject = createTestSubject();
196                 
197         }
198
199         
200         @Test
201         public void testGetConfiguration() throws Exception {
202                 ElementServlet testSubject;
203                 HttpServletRequest request = null;
204                 String userId = "";
205                 Response result;
206
207                 // default test
208                 testSubject = createTestSubject();
209                 
210         }
211
212         
213         @Test
214         public void testGetFollowedResourcesServices() throws Exception {
215                 ElementServlet testSubject;
216                 HttpServletRequest request = null;
217                 String userId = "";
218                 Response result;
219
220                 // default test
221                 testSubject = createTestSubject();
222                 
223         }
224
225         
226         @Test
227         public void testGetCatalogComponents() throws Exception {
228                 ElementServlet testSubject;
229                 HttpServletRequest request = null;
230                 String userId = "";
231                 List<OriginTypeEnum> excludeTypes = null;
232                 Response result;
233
234                 // default test
235                 testSubject = createTestSubject();
236                 
237         }
238
239         
240         @Test
241         public void testDeleteMarkedResources() throws Exception {
242                 ElementServlet testSubject;
243                 String componentType = "";
244                 HttpServletRequest request = null;
245                 Response result;
246
247                 // default test
248                 testSubject = createTestSubject();
249                 
250         }
251
252         
253         @Test
254         public void testGetListOfCsars() throws Exception {
255                 ElementServlet testSubject;
256                 HttpServletRequest request = null;
257                 Response result;
258
259                 // default test
260                 testSubject = createTestSubject();
261                 
262         }
263 }