Added oparent to sdc main
[sdc.git] / asdctool / src / test / java / org / openecomp / sdc / asdctool / enums / SchemaZipFileEnumTest.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.asdctool.enums;
22
23 import org.junit.After;
24 import org.junit.Before;
25 import org.junit.Test;
26
27 public class SchemaZipFileEnumTest {
28
29         private SchemaZipFileEnum testSubject;
30         private String result;
31
32         @Before
33         public void setUp() {
34                 testSubject = createTestSubject();
35         }
36
37         @After
38         public void tearDown() {
39                 testSubject = null;
40                 result = null;
41         }
42
43
44         private SchemaZipFileEnum createTestSubject() {
45                 return SchemaZipFileEnum.DATA;
46         }
47
48         @Test
49         public void testGetFileName() throws Exception {
50                 SchemaZipFileEnum testSubject;
51                 String result;
52
53                 // default test
54                 testSubject = createTestSubject();
55                 result = testSubject.getFileName();
56         }
57
58         @Test
59         public void testGetSourceFolderName() throws Exception {
60                 SchemaZipFileEnum testSubject;
61                 String result;
62
63                 // default test
64                 testSubject = createTestSubject();
65                 result = testSubject.getSourceFolderName();
66         }
67
68
69         @Test
70         public void testGetSourceFileName() throws Exception {
71                 SchemaZipFileEnum testSubject;
72                 String result;
73
74                 // default test
75                 testSubject = createTestSubject();
76                 result = testSubject.getSourceFileName();
77         }
78
79         @Test
80         public void testGetCollectionTitle() throws Exception {
81                 SchemaZipFileEnum testSubject;
82                 String result;
83
84                 // default test
85                 testSubject = createTestSubject();
86                 result = testSubject.getCollectionTitle();
87         }
88
89         @Test
90         public void testGetImportFileList() throws Exception {
91                 SchemaZipFileEnum testSubject;
92                 String[] result;
93
94                 // default test
95                 testSubject = createTestSubject();
96                 result = testSubject.getImportFileList();
97         }
98
99 }