Class ChunkListTest

  • public class ChunkListTest
    extends java.lang.Object
    Unit and performance test for ChunkList.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void checkListClear​(int n)  
      (package private) void checkRandom​(java.util.Random random, org.apache.calcite.util.ChunkList<java.lang.Integer> list, java.util.List<java.lang.Integer> list2, int iterationCount)  
      void testChunkList()
      Unit test for ChunkList.
      void testClear()
      Clears lists of various sizes.
      void testIterator()
      Removing via an iterator.
      void testPerformance()  
      void testRandom()
      Unit test for ChunkList that applies random operations.
      • Methods inherited from class java.lang.Object

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

      • ChunkListTest

        public ChunkListTest()
    • Method Detail

      • testChunkList

        public void testChunkList()
        Unit test for ChunkList.
      • testClear

        public void testClear()
        Clears lists of various sizes.
      • checkListClear

        private void checkListClear​(int n)
      • testIterator

        public void testIterator()
        Removing via an iterator.
      • testRandom

        public void testRandom()
        Unit test for ChunkList that applies random operations.
      • checkRandom

        void checkRandom​(java.util.Random random,
                         org.apache.calcite.util.ChunkList<java.lang.Integer> list,
                         java.util.List<java.lang.Integer> list2,
                         int iterationCount)
      • testPerformance

        public void testPerformance()