|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=CLASS) @Documented public @interface KnownDefect
Annotation to be used when creating characterization tests. Characterization tests are commonly used when changing legacy code to document the current behavior of the system. Quite often, this behavior contains defects. To make the characterization test pass, it must be written to expect the defect. Use this annotation to mark code written in this manner so the defect is explicitly called out and does not get lost.
Optional Element Summary | |
---|---|
String |
value
Simple description of the defect annotated. |
public abstract String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |