See: Description
Package | Description |
---|---|
org.netbeans.modules.java.hints.test.api |
java.hints.test API to create tests for the custom Java hints.
A method HintTestoptions
was added that allows to specify additional compiler options.
A method assertFixesNotPresent
was added to easily detect that fix is gone if e.g. some precondition is not met.
New method run(Class, String)
was added so that hint with a specific ID can be run, if the
class contains multiple hint implementations.
HintTest.HintWarning.applyFix
now enforces constraints for Inspect&Transform. Unless a hint
is marked as Options.QUERY
, Options.NO_BULK
or Kind.ACTION
,
the Fix
that is being applied is tested to be JavaFix
and repeatable,
which are the requirements of Inspect&Transform.
Added assertFixes method to HintWarning
XXX no answer for arch-usecases
|
The sources for the module are in the Apache Git repositories or in the GitHub repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.