Class ClassIndexedSetTest


  • public class ClassIndexedSetTest
    extends Object
    Tests the ClassIndexedSet, using local Member interface as the underlying type.
    • Constructor Detail

      • ClassIndexedSetTest

        public ClassIndexedSetTest()
    • Method Detail

      • testDupInstance

        public void testDupInstance()
        Test failure of adding a duplicate instance.
      • testDupType

        public void testDupType()
        Test failure of adding a duplicate member type.
      • testDupTypeWithReplacement

        public void testDupTypeWithReplacement()
        Test success of adding a duplicate member type with replacement.
      • testGetType

        public void testGetType()
        Test getting member instance from set by type.
      • testRemove

        public void testRemove()
        Tests removing member from set by instance.
      • testClear

        public void testClear()
        Tests clearing the set.
      • testIterator

        public void testIterator()
        Tests proper iterator iterating behavior.
      • testIteratorRemove

        public void testIteratorRemove()
        Tests proper iterator remove() behavior.
      • testIteratorRemoveIllegal

        public void testIteratorRemoveIllegal()
        Tests proper iterator remove() behavior when called illegally.
      • testEqualsHash

        public void testEqualsHash()