Class FrameStackTests


  • public class FrameStackTests
    extends Object
    • Constructor Detail

      • FrameStackTests

        public FrameStackTests()
    • Method Detail

      • initialisedToContainOnlyGlobals

        public void initialisedToContainOnlyGlobals()
                                             throws Exception
        Throws:
        Exception
      • globalsCanBeAccessedEvenWhenThereAreProtectedLocalFrames

        public void globalsCanBeAccessedEvenWhenThereAreProtectedLocalFrames()
                                                                      throws Exception
        Throws:
        Exception
      • localsShadowGlobals

        public void localsShadowGlobals()
                                 throws Exception
        Throws:
        Exception
      • globalsAreAccessibleWhenShadowingVariablesAreRemoved

        public void globalsAreAccessibleWhenShadowingVariablesAreRemoved()
                                                                  throws Exception
        Throws:
        Exception
      • getGlobalIgnoresShadowing

        public void getGlobalIgnoresShadowing()
                                       throws Exception
        Throws:
        Exception
      • getLocalIgnoresShadowing

        public void getLocalIgnoresShadowing()
                                      throws Exception
        Throws:
        Exception
      • leaveGlobalRemovesGlobalVariables

        public void leaveGlobalRemovesGlobalVariables()
                                               throws Exception
        Throws:
        Exception
      • leaveGlobalDoesNotLeaveTheFinalGlobalFrame

        public void leaveGlobalDoesNotLeaveTheFinalGlobalFrame()
                                                        throws Exception
        Throws:
        Exception
      • leaveDoesNotLeaveGlobalFrames

        public void leaveDoesNotLeaveGlobalFrames()
                                           throws Exception
        Throws:
        Exception
      • removeVariableAffectsOnlyTopMostFrame

        public void removeVariableAffectsOnlyTopMostFrame()
                                                   throws Exception
        Throws:
        Exception