Class TestCenterPanel.TestSuite

  • Enclosing class:
    TestCenterPanel

    public class TestCenterPanel.TestSuite
    extends java.lang.Object
    Object for controlling test suite execution.
    • Field Detail

      • results

        protected Testcase[] results
        The results of the testcases.
      • running

        protected boolean running
        Flag indicating that the test suite is running.
      • aborted

        protected boolean aborted
        Flag indicating that the test suite has been aborted.
      • starttime

        protected long starttime
        The timepoint when the test execution was started.
    • Constructor Detail

      • TestSuite

        public TestSuite​(Tuple2<java.lang.String,​IResourceIdentifier>[] names)
        Create a new test suite for the given test cases.
    • Method Detail

      • isRunning

        public boolean isRunning()
        Check if the test suite is running.
      • isAborted

        public boolean isAborted()
        Check if the test suite has been aborted.
      • getTestcaseNames

        public Tuple2<java.lang.String,​IResourceIdentifier>[] getTestcaseNames()
        Get the testcase names array.
      • getTestcases

        public Testcase[] getTestcases()
        Get the testcase array. Same size as names array, but some entries may be null if not yet performed.
      • getStartTime

        public long getStartTime()
        Get the start time.
      • start

        public void start()
        Start the execution of the test suite.
      • abort

        public void abort()
        Abort the execution of the test suite.
      • startNextTestcases

        protected void startNextTestcases()
        Start the next testcases (if any).