TS 70 SpellCheck
SpellChecker test specification
Author: Peter Pis
Version: 7.0
Last update: 03/03/2010
Introduction: This is test specification for spellcheck support in NetBeans. It provides action for spell checking words used in javadoc, available as hints.
Contents |
Test suite: SpellChecker functionality
Purpose: This testsuite is focused on valid javadoc spellchecking
Setup:
Comments: Spelling hints are provided only for lines in javadoc where parameters are used.
- Spellchecking in javadoc for method
- Open "javadoc.ClassB" and enter new method in it:
public static int compute(String s, int i, Integer number, Object o) throws Exception {
return 1;
}
- Put the cursor over "public ..." and enter "/**" and push "enter".
- Valid Javadoc is generated for this method.
- Now enter "This is mye javadoc" to the line where the "*" char is only.
- Invoke hints (click the mouse over hint bulb in the gutter or invoke it by short cut - ALT+Enter)
- There should be listed hints suggesting "Change "mye" to "my"" and "Add <mye> to project's dictionary", "Add <mye> to your private dictionary".
- EXPECTED RESULT: Verify all actions provided by hint. "Change" action should change the misspelled word, or adding the word into the appropriate dictionary. "Project's" scope - the word will be used for current project, other projects will not understand that word. "Private" scope - all projects opened will understand that word.
Test suite: SpellChecker options
Purpose: This testsuite is focused on spellchecker options
Setup:
Comments:
- Spellchecker options
- Open "Options" dialog. Switch to "Miscellaneous" section -> "Spellchecker" tab
- There should be "Dictionaries" area with "Add" and "Remove" button for adding/removing registered dictionaries. "Default Locale" should be preset appropriately with system environment.
- EXPECTED RESULT: Setting changed should be reflected immediately.
Attachments
