Package org.btrplace.safeplace.testing
Class DefectHooks
java.lang.Object
org.btrplace.safeplace.testing.DefectHooks
public final class DefectHooks extends Object
A utility class to predefine hooks when a defect is reported
- Author:
- Fabien Hermenier
-
Field Summary
Fields Modifier and Type Field Description static Consumer<TestCaseResult>
failedAssertion
A hook that use an assertion to signal the defectstatic Consumer<TestCaseResult>
ignore
A hook that ignore the defectstatic Consumer<TestCaseResult>
print
A hook that print the defect and continue.static Consumer<TestCaseResult>
testNgFailure
A hook that uses testng to signal a defect. -
Method Summary
-
Field Details
-
ignore
A hook that ignore the defect -
print
A hook that print the defect and continue. -
failedAssertion
A hook that use an assertion to signal the defect -
testNgFailure
A hook that uses testng to signal a defect.
-