Created attachment 133093 [details]
The current HintTest.run() method runs the whole hint class, which is useful if the class contains alternative triggers for the same hint.
It's not that useful if a class contains a number of small hints; it may be difficult to provide a test data, which trigger exactly just the tested hint. run(Class hintClazz, String hintId) could solve that issue, running just hint(s) whose metadata id matches the argument.
See the attached diff for proposed changes.
Implemented in http://hg.netbeans.org/jet-main/rev/68f9c98c8bc4