Documentation of 'org.hsqldb.test.TestDataStructures' Java class
TestDataStructures
org.hsqldb.test

Class TestDataStructures

  • All Implemented Interfaces:
    junit.framework.Test


    public class TestDataStructures
    extends junit.framework.TestCase
    Randomly excutes methods on the HsqlList data structures and compares the results with equivalent calls on the java vector class.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TestDataStructures(java.lang.String s)
      Creates a new instance of TestDataStructures
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void compareLists(HsqlArrayList arrayList, HsqlDeque linkedList, java.util.Vector vector)
      Compare contents of lists to the vector.
      static void main(java.lang.String[] args) 
      void printListCommandsCalled(java.util.Vector commands)
      Prints the list of commands called so far
      void testGrowth() 
      void testLists()
      Runs a test on the hsqldb lists
      void testSpeed() 
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestDataStructures

        public TestDataStructures(java.lang.String s)
        Creates a new instance of TestDataStructures
    • Method Detail

      • testLists

        public void testLists()
        Runs a test on the hsqldb lists
      • compareLists

        public void compareLists(HsqlArrayList arrayList,
                                 HsqlDeque linkedList,
                                 java.util.Vector vector)
        Compare contents of lists to the vector. Print out stuff if they are inconsistent and exit.
      • printListCommandsCalled

        public void printListCommandsCalled(java.util.Vector commands)
        Prints the list of commands called so far
      • testGrowth

        public void testGrowth()
      • testSpeed

        public void testSpeed()
      • main

        public static void main(java.lang.String[] args)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.