Class TestEngine

  • All Implemented Interfaces:
    Runnable

    public class TestEngine
    extends Object
    implements Runnable
    Converts test File's to TestCase's and runs them.
    Version:
    1.7
    • Constructor Detail

      • TestEngine

        public TestEngine()
        Creates a TestEngine.
    • Method Detail

      • setTestFiles

        public void setTestFiles​(List<File> testFiles)
        Sets the File's that contain the tests.
      • setTestCaseIndexToRun

        public void setTestCaseIndexToRun​(int testCaseIndexToRun)
      • getExceptionCount

        public int getExceptionCount()
      • getFailedCount

        public int getFailedCount()
      • getPassedCount

        public int getPassedCount()
      • getParseExceptionCount

        public int getParseExceptionCount()
      • isRunning

        public boolean isRunning()
        Returns whether the TestEngine is running any TestCase's.
      • getTestCount

        public int getTestCount()
        Returns the total number of tests.
      • getTestCaseCount

        public int getTestCaseCount()
      • getParsingProblems

        public List getParsingProblems()
      • getStart

        public Date getStart()
      • getEnd

        public Date getEnd()
      • clearParsingProblems

        public void clearParsingProblems()
      • run

        public void run()
        Specified by:
        run in interface Runnable