Class 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 Detail

      • testDir

        public TemporaryFolder testDir
        Temporary directory that should be deleted by Junit at end of test.
    • Constructor Detail

      • CompressedFilesTest

        public CompressedFilesTest()
    • 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