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.

  1. Spellchecking in javadoc for method
    1. 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;
}
    1. Put the cursor over "public ..." and enter "/**" and push "enter".
    2. Valid Javadoc is generated for this method.
    3. Now enter "This is mye javadoc" to the line where the "*" char is only.
    4. Invoke hints (click the mouse over hint bulb in the gutter or invoke it by short cut - ALT+Enter)
    5. 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:

  1. Spellchecker options
    1. Open "Options" dialog. Switch to "Miscellaneous" section -> "Spellchecker" tab
    2. 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.


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo