Added oparent to sdc main
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / servlets / ProductServletTest.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 javax.servlet.http.HttpServletRequest;
24 import javax.ws.rs.core.Response;
25
26 import org.junit.Test;
27
28 public class ProductServletTest {
29
30         private ProductServlet createTestSubject() {
31                 return new ProductServlet();
32         }
33
34         
35         @Test
36         public void testCreateProduct() throws Exception {
37                 ProductServlet testSubject;
38                 String data = "";
39                 HttpServletRequest request = null;
40                 String userId = "";
41                 Response result;
42
43                 // default test
44                 testSubject = createTestSubject();
45         }
46
47         
48         @Test
49         public void testGetProductById() throws Exception {
50                 ProductServlet testSubject;
51                 String productId = "";
52                 HttpServletRequest request = null;
53                 String userId = "";
54                 Response result;
55
56                 // default test
57                 testSubject = createTestSubject();
58         }
59
60         
61         @Test
62         public void testGetServiceByNameAndVersion() throws Exception {
63                 ProductServlet testSubject;
64                 String productName = "";
65                 String productVersion = "";
66                 HttpServletRequest request = null;
67                 String userId = "";
68                 Response result;
69
70                 // default test
71                 testSubject = createTestSubject();
72         }
73
74         
75         @Test
76         public void testDeleteProduct() throws Exception {
77                 ProductServlet testSubject;
78                 String productId = "";
79                 HttpServletRequest request = null;
80                 Response result;
81
82                 // default test
83                 testSubject = createTestSubject();
84         }
85
86         
87         @Test
88         public void testUpdateProductMetadata() throws Exception {
89                 ProductServlet testSubject;
90                 String productId = "";
91                 String data = "";
92                 HttpServletRequest request = null;
93                 String userId = "";
94                 Response result;
95
96                 // default test
97                 testSubject = createTestSubject();
98         }
99
100         
101         @Test
102         public void testValidateServiceName() throws Exception {
103                 ProductServlet testSubject;
104                 String productName = "";
105                 HttpServletRequest request = null;
106                 String userId = "";
107                 Response result;
108
109                 // default test
110                 testSubject = createTestSubject();
111         }
112 }