Package com.e1c.g5.v8.fastzip.entry.fs
Class FsEntryTest
- java.lang.Object
-
- com.e1c.g5.v8.fastzip.entry.fs.FsEntryTest
-
public class FsEntryTest extends Object
Tests forFsFzipEntryRegistry
and serialization of its entry descriptors.
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.TemporaryFolder
temporaryFolder
-
Constructor Summary
Constructors Constructor Description FsEntryTest(boolean mmapped)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Collection<Object[]>
getParameters()
void
setUp()
void
testCreateDescriptorFileDoesNotExist()
void
testCreateDirectoryDescriptor()
void
testCreateOutOfRootDescriptor()
void
testCreatePartitionedFileDescriptor()
void
testCreateRootDescriptor()
void
testCreateSimpleFileDescriptor()
void
testReadDirectory()
void
testSerializeDirectoryDescriptor()
void
testSerializePartialFileDescriptor()
void
testSerializeSimpleFileDescriptor()
-
-
-
Method Detail
-
setUp
public void setUp() throws IOException
- Throws:
IOException
-
testCreateRootDescriptor
public void testCreateRootDescriptor() throws IOException
- Throws:
IOException
-
testCreateOutOfRootDescriptor
public void testCreateOutOfRootDescriptor() throws IOException
- Throws:
IOException
-
testCreateDescriptorFileDoesNotExist
public void testCreateDescriptorFileDoesNotExist() throws IOException
- Throws:
IOException
-
testCreateDirectoryDescriptor
public void testCreateDirectoryDescriptor() throws IOException
- Throws:
IOException
-
testCreateSimpleFileDescriptor
public void testCreateSimpleFileDescriptor() throws IOException
- Throws:
IOException
-
testCreatePartitionedFileDescriptor
public void testCreatePartitionedFileDescriptor() throws IOException
- Throws:
IOException
-
testSerializeSimpleFileDescriptor
public void testSerializeSimpleFileDescriptor() throws IOException
- Throws:
IOException
-
testSerializePartialFileDescriptor
public void testSerializePartialFileDescriptor() throws IOException
- Throws:
IOException
-
testSerializeDirectoryDescriptor
public void testSerializeDirectoryDescriptor() throws IOException
- Throws:
IOException
-
testReadDirectory
public void testReadDirectory() throws IOException
- Throws:
IOException
-
getParameters
public static Collection<Object[]> getParameters()
-
-