Package org.djutils.data
Class TestListDataTable
- java.lang.Object
-
- org.djutils.data.TestListDataTable
-
public class TestListDataTable extends Object
TestListTable tests the functions of the ListTable, the Column and the Record.
Copyright (c) 2020-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description TestListDataTable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
tableCompare(ListDataTable table1, ListDataTable table2)
Compare the contents of two tables, where primitive content and wrapped primitive content (e.g., a double and a Double) are considered the same if the stored value is the same.void
testIllegalColumnTable()
Test column and table construction with wrong arguments.void
testIllegalRecordTable()
Test column and table construction with wrong value arguments.void
testListTable()
Test the ListTable, the Column and the Record.void
testSubclassListTable()
Test the ListTable, the Column and the Record.
-
-
-
Method Detail
-
testListTable
public void testListTable()
Test the ListTable, the Column and the Record.
-
testSubclassListTable
public void testSubclassListTable()
Test the ListTable, the Column and the Record.
-
tableCompare
public static void tableCompare(ListDataTable table1, ListDataTable table2)
Compare the contents of two tables, where primitive content and wrapped primitive content (e.g., a double and a Double) are considered the same if the stored value is the same.- Parameters:
table1
- the first tabletable2
- the second table
-
testIllegalColumnTable
public void testIllegalColumnTable()
Test column and table construction with wrong arguments.
-
testIllegalRecordTable
public void testIllegalRecordTable()
Test column and table construction with wrong value arguments.
-
-