Package de.hsh.graja.core.modules.junit
Class JunitModuleRunnerResult
java.lang.Object
de.hsh.graja.core.ModuleRunnerResult
de.hsh.graja.core.modules.junit.JunitModuleRunnerResult
- All Implemented Interfaces:
ContentLogger,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindSubResult(String key) This method is queried when logical results are created based on a complete module runner result.getOrCreateJUnitModuleRunnerSubResult(String className, String methodName) This method is called by callbacks during the JUnit execution.getType()booleanreturns true, if the test run failed on class level, i. e.voidsetClassFailure(String graderClassName) Methods inherited from class de.hsh.graja.core.ModuleRunnerResult
addItem, addLeadingCommentItem, addTrailingCommentItem, getCommentsPerPosition, getLeadingComment, getTrailingComment, isTimeout, prependLeadingCommentItems, registerCommentForCodeOriented, setTimeout
-
Constructor Details
-
JunitModuleRunnerResult
-
-
Method Details
-
getOrCreateJUnitModuleRunnerSubResult
public JunitModuleRunnerSubResult getOrCreateJUnitModuleRunnerSubResult(String className, String methodName) This method is called by callbacks during the JUnit execution.- Parameters:
className-methodName-
-
findSubResult
This method is queried when logical results are created based on a complete module runner result.- Parameters:
key-
-
setClassFailure
-
isClassLevelFailure
public boolean isClassLevelFailure()returns true, if the test run failed on class level, i. e. the junit runner was not able to run individual test methods in the grader.- Returns:
- true, if the test run failed on class level
-
getClassLevelFailureGraderClassNames
-
getSubResults
-
getType
- Specified by:
getTypein classModuleRunnerResult
-