Class UnionTest

    • Constructor Detail

      • UnionTest

        public UnionTest()
        Constructor for UnionTest.
        Parameters:
        arg0 -
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAdd

        public void testAdd()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAdd2

        public void testAdd2()
      • testGetComponent

        public void testGetComponent()
      • testGetComponents

        public void testGetComponents()
      • testInsert

        public void testInsert()
      • testGetName

        public void testGetName()
      • testCloneRetainIdentity

        public void testCloneRetainIdentity()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCopyDontRetain

        public void testCopyDontRetain()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDelete

        public void testDelete()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIsPartOf

        public void testIsPartOf()
      • testReplaceWith

        public void testReplaceWith()
      • testCyclingProblem

        public void testCyclingProblem()
      • testCyclicDependencyProblem1

        public void testCyclicDependencyProblem1()
        Test that a structure can't be added to itself.
      • testCyclicDependencyProblem2

        public void testCyclicDependencyProblem2()
        Test that a structure array can't be added to the same structure.
      • testCyclicDependencyProblem3

        public void testCyclicDependencyProblem3()
        Test that a typedef of a union can't be added to the union.
      • testCyclicDependencyProblem4

        public void testCyclicDependencyProblem4()
        Test that a union can't contain another union that contains it.
      • testCyclicDependencyProblem5

        public void testCyclicDependencyProblem5()
        Test that a union can't contain another union that contains a typedef to it.
      • testCyclicDependencyProblem6

        public void testCyclicDependencyProblem6()
        Test that a union can't contain a structure that contains that union.
      • testCyclicDependencyProblem7

        public void testCyclicDependencyProblem7()
        Test that a structure can't contain a typedef of a union that contains that structure.
      • testNoCyclicDependencyProblemForStructurePointer

        public void testNoCyclicDependencyProblemForStructurePointer()
        Test that a structure can contain a pointer in it to the same structure.
      • testNoCyclicDependencyProblemForTypedefPointer

        public void testNoCyclicDependencyProblemForTypedefPointer()
        Test that a union can contain a pointer in it to a typedef of the same union.
      • testNoCyclicDependencyProblemForArrayPointer

        public void testNoCyclicDependencyProblemForArrayPointer()
        Test that a union can contain a pointer in it to a typedef of the same union.