Class IndexedXMLObjectChildrenListTest


  • public class IndexedXMLObjectChildrenListTest
    extends Object
    Test case for IndexedXMLObjectChildrenList. Note that this test only tests those methods that modify the list because everything else is delegated to the XMLObjectChildrenList which has it's own test cases that works all the other methods.
    • Constructor Detail

      • IndexedXMLObjectChildrenListTest

        public IndexedXMLObjectChildrenListTest()
    • Method Detail

      • testAdd

        public void testAdd()
        Test the add method to make sure it creates the index correctly.
      • testSet

        public void testSet()
        Test the set method to make sure it removes items that have been replaced from the index.
      • testRemove

        public void testRemove()
        Test to ensure removed items are removed from the index.
      • testSublist

        public void testSublist()
        Tests the sublist functionality.
      • testSublistIndexOf

        public void testSublistIndexOf()
        Test sublist indexOf method.
      • testSublistLastIndexOf

        public void testSublistLastIndexOf()
        Test sublist lastIndexOf method.
      • testSublistClear

        public void testSublistClear()