Class NodeListSpliteratorTest

    • Method Detail

      • init

        public void init()
        Sets up an array of nodes and a NodeList returning that array.
      • characteristicsTest

        public void characteristicsTest()
        Is NodeListSpliterator.characteristics() returning the correct characteristics?
      • simpleTest

        public void simpleTest()
        Does the NodeListSpliterator.tryAdvance(java.util.function.Consumer) return all NodeList elements, in correct order?
      • splitTest

        public void splitTest()
        Does NodeListSpliterator.trySplit() split up correctly, leaving two spliterators containing half of the NodeList each?
      • fullSplitTest

        public void fullSplitTest()
        Does NodeListSpliterator.trySplit() split up correctly to the limits?
      • streamTest

        public void streamTest()
        Does the NodeListSpliterator.stream() method return a stream containing all remaining elements?