3cba1f9e57ed9041449d5daf4bfba1ac5cca3cef
[ccsdk/cds.git] /
1 /*\r
2  *  Copyright © 2017-2018 AT&T Intellectual Property.\r
3  *\r
4  *  Licensed under the Apache License, Version 2.0 (the "License");\r
5  *  you may not use this file except in compliance with the License.\r
6  *  You may obtain a copy of the License at\r
7  *\r
8  *      http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  *  Unless required by applicable law or agreed to in writing, software\r
11  *  distributed under the License is distributed on an "AS IS" BASIS,\r
12  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  *  See the License for the specific language governing permissions and\r
14  *  limitations under the License.\r
15  */\r
16 \r
17 package org.onap.ccsdk.apps.blueprintsprocessor;\r
18 \r
19 \r
20 import org.junit.Assert;\r
21 import org.junit.Before;\r
22 import org.junit.Test;\r
23 import org.junit.runner.RunWith;\r
24 import org.springframework.beans.factory.annotation.Autowired;\r
25 import org.springframework.context.ApplicationContext;\r
26 import org.springframework.test.context.ContextConfiguration;\r
27 import org.springframework.test.context.junit4.SpringRunner;\r
28 \r
29 /**\r
30  * BlueprintProcessorApplicationTest\r
31  *\r
32  * @author Brinda Santh\r
33  * DATE : 8/14/2018\r
34  */\r
35 \r
36 @RunWith(SpringRunner.class)\r
37 @ContextConfiguration(classes = BlueprintProcessorApplication.class)\r
38 //@SpringBootTest(classes = BlueprintProcessorApplication.class,\r
39 //        webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)\r
40 public class BlueprintProcessorApplicationTest {\r
41 \r
42     @Autowired\r
43     private ApplicationContext context;\r
44 \r
45     @Before\r
46     public void setUp() {\r
47 \r
48     }\r
49 \r
50     @Test\r
51     public void testSample(){\r
52         Assert.assertNotNull("Failed to create Application Context ", context);\r
53     }\r
54 \r
55 }\r