Class GraphComponentTest

    • Field Detail

      • satelliteDockedSpy

        protected java.util.concurrent.atomic.AtomicBoolean satelliteDockedSpy
      • satelliteVisibleSpy

        protected java.util.concurrent.atomic.AtomicBoolean satelliteVisibleSpy
    • Constructor Detail

      • GraphComponentTest

        public GraphComponentTest()
    • Method Detail

      • showUndockedSatelliteViewer

        protected void showUndockedSatelliteViewer()
      • testSetDockedSatelliteVisible

        public void testSetDockedSatelliteVisible()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testShowDockedSatelliteViewer

        public void testShowDockedSatelliteViewer()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testShowUndockedSatelliteViewer

        public void testShowUndockedSatelliteViewer()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSetGraphViewStale

        public void testSetGraphViewStale()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSetStatusMessage

        public void testSetStatusMessage()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTwinkleVertex

        public void testTwinkleVertex()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSetVertexFocused

        public void testSetVertexFocused()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testVertexLocationsGetInitialized

        public void testVertexLocationsGetInitialized()
      • testEdgeSizesGetInitialized

        public void testEdgeSizesGetInitialized()
      • testSetGraphPerspective

        public void testSetGraphPerspective()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testKeyEventDelivery

        public void testKeyEventDelivery()
      • testMouseEvent_HeaderDragEditableVertex

        public void testMouseEvent_HeaderDragEditableVertex()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMouseEvent_InternalDragEditableVertex

        public void testMouseEvent_InternalDragEditableVertex()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • capture

        public void capture​(javax.swing.JComponent c,
                            java.lang.String name)
                     throws java.lang.Exception
        Description copied from class: AbstractDockingTest
        Creates and writes to file an image of the given component. The file will be written to the reports directory (this differs depending upon how the test was run), nested inside a directory structure of the form {test class name}/{test name}. A console statement will be written indicating the location of the written file.
        Overrides:
        capture in class AbstractDockingTest
        Parameters:
        c - the component to capture
        name - the file name suffix
        Throws:
        java.lang.Exception - if there is any issue capturing the component
      • testDragNonEditableVertex

        public void testDragNonEditableVertex()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRefreshButton

        public void testRefreshButton()
      • testShowSatelliteButton

        public void testShowSatelliteButton()