Interface ICCTestcase
- All Superinterfaces:
ICCBase,ICCConstants
- All Known Subinterfaces:
ICCImportTestcase
Represents a test or testcase
This interface is used to query a testcase
- Since:
- 3.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCConstants
ICCConstants.COVERAGE_LEVEL, ICCConstants.COVERAGE_VIEW -
Field Summary
Fields inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCConstants
DATE_FORMAT, LANG_A, LANG_ALP_ASM, LANG_B, LANG_C, LANG_CL_400, LANG_COBOL, LANG_COBOL_COPYBOOK, LANG_CPP, LANG_FORTRAN, LANG_GCJ, LANG_JAVA, LANG_JAVASCRIPT, LANG_OPM_RPG, LANG_PLI, LANG_PLX, LANG_PLX86, LANG_RPG, LANG_SYSTEM, LANG_UNKNOWN, LANG_UPC, LANG_X10, LANGUAGE_DISPLAY_NAMES, RESULT_ERROR, RESULT_OK, RESULT_WARNING -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the elapsed time associated with this testcaseReturns a "key" that uniquely identifies a CC collection enginegetLevel()Return the coverage level for this resultintResult 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 faillongTestcase start timegetTag()Returns the tag or tags associated with this testcase if it exists Tags are separated by a commabooleanReturns true if the testcase was successful NOTE: if testcase result data is not available the test is considered to have been successfulMethods inherited from interface com.ibm.debug.pdt.codecoverage.core.results.ICCBase
addEncodedMessage, addMessage, addMessage, getDecodedMessages, getDecodedMessages, getID, getMessages, getName, getProperties, getProperty, getProperty, isMessage, isProperty, setName, setProperty, updateProperty
-
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
ICCConstants.COVERAGE_LEVEL 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
-