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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • testDir

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

  • Method Details

    • testWriter

      public final void testWriter() throws java.io.IOException
      Test the Writer class.
      Throws:
      java.io.IOException - if that happens uncaught; this test has failed
    • writeAndReadTests

      public final void writeAndReadTests() throws java.io.IOException
      Test writes and read back the resulting file.
      Throws:
      java.io.IOException - if that happens uncaught; this test has failed