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-2020 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

    Modifier and Type Method Description
    static void tableCompare​(org.djutils.data.ListDataTable table1, org.djutils.data.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.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • 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​(org.djutils.data.ListDataTable table1, org.djutils.data.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 table
      table2 - 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.