Class StatusPanel


public class StatusPanel
extends JPanel
Class that displays status of tests being run. It also provides methods to set status message, record intention to stop tests, and to fetch the status of whether the test is to be stopped.
  • Constructor Details

    • StatusPanel

      public StatusPanel​(int iParamTestsNum, String sParamEnableMultiple)
      private JLabel _labelTestNum = new JLabel(); private JButton _buttonStop; private JProgressBar _progressBarObj = new JProgressBar();
  • 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