Package org.djutils.data
Class TestTsvTable
- java.lang.Object
-
- org.djutils.data.TestTsvTable
-
public class TestTsvTable extends Object
TestTsvData tests writing and reading of a TSV file, and checks that all data is read back correctly into the TableCopyright (c) 2020-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description TestTsvTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testReadWriteTSV()
test reading and writing of a TSV file.void
testReadWriteTsvNulls()
test reading and writing of a TSV file with "missing values" coded as null values.void
testReadWriteTsvUnits()
test reading and writing of a TSV file with columns that treat units in different ways.void
testReadWriteZippedTsv()
test reading and writing of a zipped TSV file.
-
-
-
Method Detail
-
testReadWriteTSV
public void testReadWriteTSV() throws IOException, TextSerializationException
test reading and writing of a TSV file.- Throws:
IOException
- on errorTextSerializationException
- on unknown data type for (de)serialization
-
testReadWriteZippedTsv
public void testReadWriteZippedTsv() throws IOException, TextSerializationException
test reading and writing of a zipped TSV file.- Throws:
IOException
- on errorTextSerializationException
- on unknown data type for (de)serialization
-
testReadWriteTsvNulls
public void testReadWriteTsvNulls() throws IOException, TextSerializationException
test reading and writing of a TSV file with "missing values" coded as null values.- Throws:
IOException
- on errorTextSerializationException
- on unknown data type for (de)serialization
-
testReadWriteTsvUnits
public void testReadWriteTsvUnits() throws IOException, TextSerializationException
test reading and writing of a TSV file with columns that treat units in different ways.- Throws:
IOException
- on errorTextSerializationException
- on unknown data type for (de)serialization
-
-