public class StatusPanelextends JPanel
Swing-free status panel; the display methods are no-ops and only the stop flag is tracked.
  • 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

    • 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