de3c1ed58ae2944d1a4da2cff602c013f19de0bd
[aaf/authz.git] / authz-service / src / test / java / com / att / authz / service / JU_AuthAPI.java
1 /*******************************************************************************\r
2  * ============LICENSE_START====================================================\r
3  * * org.onap.aai\r
4  * * ===========================================================================\r
5  * * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
6  * * Copyright © 2017 Amdocs\r
7  * * ===========================================================================\r
8  * * Licensed under the Apache License, Version 2.0 (the "License");\r
9  * * you may not use this file except in compliance with the License.\r
10  * * You may obtain a copy of the License at\r
11  * * \r
12  *  *      http://www.apache.org/licenses/LICENSE-2.0\r
13  * * \r
14  *  * Unless required by applicable law or agreed to in writing, software\r
15  * * distributed under the License is distributed on an "AS IS" BASIS,\r
16  * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
17  * * See the License for the specific language governing permissions and\r
18  * * limitations under the License.\r
19  * * ============LICENSE_END====================================================\r
20  * *\r
21  * * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
22  * *\r
23  ******************************************************************************/\r
24 package com.att.authz.service;\r
25 \r
26 import static org.junit.Assert.*;\r
27 \r
28 import java.util.Properties;\r
29 \r
30 import org.junit.Before;\r
31 import org.junit.Test;\r
32 \r
33 import com.att.authz.cadi.DirectAAFUserPass;\r
34 import com.att.authz.env.AuthzEnv;\r
35 import com.att.authz.facade.AuthzFacade_2_0;\r
36 import com.att.dao.aaf.hl.Question;\r
37 \r
38 public class JU_AuthAPI {\r
39         \r
40         public AuthAPI authAPI;\r
41         AuthzEnv env;\r
42         private static final String ORGANIZATION = "Organization.";\r
43         private static final String DOMAIN = "openecomp.org";\r
44 \r
45     public Question question;\r
46     private AuthzFacade_2_0 facade;\r
47     private AuthzFacade_2_0 facade_XML;\r
48     private DirectAAFUserPass directAAFUserPass;\r
49     public Properties props;\r
50         @Before\r
51         public void setUp(){\r
52                 try {\r
53                         authAPI = new AuthAPI(env);\r
54                 } catch (Exception e) {\r
55                         // TODO Auto-generated catch block\r
56                         e.printStackTrace();\r
57                 }\r
58         }\r
59         \r
60         @Test\r
61         public void testStartDME2(Properties props){\r
62                 try {\r
63                         authAPI.startDME2(props);\r
64                 } catch (Exception e) {\r
65                         // TODO Auto-generated catch block\r
66                         e.printStackTrace();\r
67                 }\r
68                 \r
69                 //assertTrue(true);\r
70                 \r
71         }\r
72 \r
73 \r
74         \r
75 \r
76 }\r