public class StatusPanelextends JPanel
Swing-free status panel; the display methods are no-ops and only the stop flag is tracked.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Compiler generated constant that is not related to current classes' specific functionality.
      See Also:
    • _iTestsCompleted

      private int _iTestsCompleted
      Tests finished so far.
    • _iTestsNum

      private int _iTestsNum
      Tests the run will perform.
    • _bStop

      private boolean _bStop
      Set to stop the test run.
  • Constructor Details

    • StatusPanel

      public StatusPanel(int iParamTestsNum, String sParamEnableMultiple)
      Explicit no-arg body; the parameters are unused in this swing-free build.
      Parameters:
      iParamTestsNum - total number of tests scheduled to be run
      sParamEnableMultiple - string indicating whether multiple tests have been scheduled
  • Method Details

    • setTestNoLabelText

      private void setTestNoLabelText()
      Set Test number being run.
    • wantToStop

      public boolean wantToStop()
      Get intention to stop tests.
      Returns:
      boolean indicating intention to stop or not
    • endTest

      public void endTest()
      End the currently running test Cannot be restarted.
    • setText

      public void setText(String sParamText)
      Sets a string explaining progress of tests.
      Parameters:
      sParamText - String status of test-run