Class TestDescription


  • public class TestDescription
    extends Object
    • Method Detail

      • getTestedMethod

        public IOpenMethod getTestedMethod()
      • getParametersNames

        public String[] getParametersNames()
      • hasDescription

        public boolean hasDescription()
      • getDescription

        public String getDescription()
      • isExpectedResultDefined

        public boolean isExpectedResultDefined()
      • getExpectedResult

        public Object getExpectedResult()
      • isExpectedErrorDefined

        public boolean isExpectedErrorDefined()
      • getExpectedError

        public Object getExpectedError()
      • isRuntimeContextDefined

        public boolean isRuntimeContextDefined()
      • getId

        public String getId()
        Returns an ID of the test case. The ID is get from _id_ column or generated on index base.
      • hasId

        public boolean hasId()
      • setIndex

        public void setIndex​(int index)
      • getIndex

        public int getIndex()
      • isEmptyOrNewStyleErrorDescription

        public boolean isEmptyOrNewStyleErrorDescription()
        Checks if test description has only one error column with _error_ header.
        Returns:
        true or false