Package base.compressedfiles
Class CompressedFilesTest
java.lang.Object
base.compressedfiles.CompressedFilesTest
public class CompressedFilesTest
extends java.lang.Object
Test the compressed files package.
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Oct 25, 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields Modifier and Type Field Description TemporaryFolder
testDir
Temporary directory that should be deleted by Junit at end of test. -
Constructor Summary
Constructors Constructor Description CompressedFilesTest()
-
Method Summary
Modifier and Type Method Description void
testWriter()
Test the Writer class.void
writeAndReadTests()
Test writes and read back the resulting file.
-
Field Details
-
testDir
Temporary directory that should be deleted by Junit at end of test.
-
-
Constructor Details
-
CompressedFilesTest
public CompressedFilesTest()
-
-
Method Details
-
testWriter
public final void testWriter() throws java.io.IOExceptionTest the Writer class.- Throws:
java.io.IOException
- if that happens uncaught; this test has failed
-
writeAndReadTests
public final void writeAndReadTests() throws java.io.IOExceptionTest writes and read back the resulting file.- Throws:
java.io.IOException
- if that happens uncaught; this test has failed
-