1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.commons.compress.archivers.arj;
20
21 import static org.junit.jupiter.api.Assertions.assertNotNull;
22
23 import org.apache.commons.compress.archivers.arj.ArjArchiveEntry.HostOs;
24 import org.junit.jupiter.api.Test;
25
26 public class CoverageTest {
27
28 @Test
29 public void testCallLFHToString() {
30 final LocalFileHeader lfh = new LocalFileHeader();
31 assertNotNull(lfh.toString());
32 }
33
34 @Test
35 public void testHeaderInstances() {
36 assertNotNull(new LocalFileHeader.FileTypes());
37 assertNotNull(new LocalFileHeader.Methods());
38 assertNotNull(new LocalFileHeader.Flags());
39 assertNotNull(new MainHeader.Flags());
40 }
41
42 @Test
43 public void testHostOsInstance() {
44 final HostOs hostOs = new HostOs();
45 assertNotNull(hostOs);
46 }
47
48 }