re base code
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / common / util / ZipUtilTest.java
1 package org.openecomp.sdc.common.util;
2
3 import org.junit.Test;
4
5 import java.util.Map;
6
7 public class ZipUtilTest {
8
9         // private ZipUtil createTestSubject() {
10         // return new ZipUtil();
11         // }
12
13         @Test
14         public void testReadZip() throws Exception {
15                 byte[] zipAsBytes = new byte[] { ' ' };
16                 Map<String, byte[]> result;
17
18                 // default test
19                 result = ZipUtil.readZip(zipAsBytes);
20         }
21
22         @Test
23         public void testMain() throws Exception {
24                 String[] args = new String[] { "" };
25
26                 // default test
27                 ZipUtil.main(args);
28         }
29
30         @Test
31         public void testZipBytes() throws Exception {
32                 byte[] input = new byte[] { ' ' };
33                 byte[] result;
34
35                 // default test
36                 result = ZipUtil.zipBytes(input);
37         }
38
39         @Test
40         public void testUnzip() throws Exception {
41                 byte[] zipped = new byte[] { ' ' };
42                 byte[] result;
43
44                 // default test
45                 result = ZipUtil.unzip(zipped);
46         }
47 }