Class TestEngine

  • All Implemented Interfaces:
    java.lang.Runnable

    public class TestEngine
    extends java.lang.Object
    implements java.lang.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​(java.util.List 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 java.util.List getParsingProblems()
      • getTestRuns

        public java.util.List getTestRuns()
      • getStart

        public java.util.Date getStart()
      • getEnd

        public java.util.Date getEnd()
      • clearParsingProblems

        public void clearParsingProblems()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable