Package org.djutils.data
Class TestTsvTable
java.lang.Object
org.djutils.data.TestTsvTable
TestTsvData tests writing and reading of a TSV file, and checks that all data is read back correctly into the Table
Copyright (c) 2020-2024 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
test reading and writing of a TSV file.void
test reading and writing of a TSV file with "missing values" coded as null values.void
test reading and writing of a TSV file with columns that treat units in different ways.void
test reading and writing of a zipped TSV file.
-
Constructor Details
-
TestTsvTable
public TestTsvTable()
-
-
Method Details
-
testReadWriteTSV
test reading and writing of a TSV file.- Throws:
IOException
- on errorTextSerializationException
- on unknown data type for (de)serialization
-
testReadWriteZippedTsv
test reading and writing of a zipped TSV file.- Throws:
IOException
- on errorTextSerializationException
- on unknown data type for (de)serialization
-
testReadWriteTsvNulls
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
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
-