Package base.compressedfiles
Class CompressedFilesTest
- java.lang.Object
-
- base.compressedfiles.CompressedFilesTest
-
public class CompressedFilesTest extends 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testWriter()
Test the Writer class.void
writeAndReadTests()
Test writes and read back the resulting file.
-
-
-
Field Detail
-
testDir
public TemporaryFolder testDir
Temporary directory that should be deleted by Junit at end of test.
-
-
Method Detail
-
testWriter
public final void testWriter() throws IOException
Test the Writer class.- Throws:
IOException
- if that happens uncaught; this test has failed
-
writeAndReadTests
public final void writeAndReadTests() throws IOException
Test writes and read back the resulting file.- Throws:
IOException
- if that happens uncaught; this test has failed
-
-