Interface ICCTestcase

All Superinterfaces:
ICCBase, ICCConstants
All Known Subinterfaces:
ICCImportTestcase

public interface ICCTestcase extends ICCBase, ICCConstants
Represents a test or testcase This interface is used to query a testcase
Since:
3.1
  • Method Details

    • getTag

      String getTag()
      Returns the tag or tags associated with this testcase if it exists Tags are separated by a comma
      Returns:
      tag or null
    • getEngineKey

      String getEngineKey()
      Returns a "key" that uniquely identifies a CC collection engine
      Returns:
      a unique engine key
    • getElapsedTime

      long getElapsedTime()
      Returns the elapsed time associated with this testcase
      Returns:
      elapsed time in milliseconds
    • getStartTime

      long getStartTime()
      Testcase start time
      Returns:
      start time - use Date to derive a date from this value
    • getLevel

      Return the coverage level for this result
      Returns:
      ICCConstants.COVERAGE_LEVEL
    • isSuccessful

      boolean isSuccessful()
      Returns true if the testcase was successful NOTE: if testcase result data is not available the test is considered to have been successful
      Returns:
      true if testcase was successful
      Since:
      7.0
    • getResult

      int getResult()
      Result from running the testcase NOTE: a value of zero is considered a success, any other value is considered a fail Callers can use this result to determine the severity of the fail
      Returns:
      testcase result
      Since:
      7.0