TS 70 SpellCheck

(Difference between revisions)
(Created page with '==SpellCheck test specification== '''Author:''' [mailto:Peter.Pis@Sun.COM Peter Pis] <br> '''Version:''' 7.0 <br> '''Last update:''' 03/03/2010 <br> '''Introduction:''' This is …')
Line 7: Line 7:
__TOC__
__TOC__
-
====Test suite: Spell Check====
+
====Test suite: SpellChecker functionality====
Purpose: This testsuite is focused on valid javadoc spellchecking <br>
Purpose: This testsuite is focused on valid javadoc spellchecking <br>
Setup:  <br>
Setup:  <br>
Line 22: Line 22:
## Now enter "This is mye javadoc" to the line where the "*" char is only.
## 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)
## Invoke hints (click the mouse over hint bulb in the gutter or invoke it by short cut - ALT+Enter)
-
## There should be listed some hints suggesting e.g. "Change "mye" to "my"" and "Add <mye> to project's dictionary", "Add <mye> to your private dictionary".
+
## There should be listed hints suggesting "Change "mye" to "my"" and "Add <mye> to project's dictionary", "Add <mye> to your private dictionary".
-
#* {{result|EXPECTED RESULT: Verify all possibilities provided by hint. "Change" action should change the misspelled word, or adding the word into the appropriate dictionary.}}
+
#* {{result|EXPECTED RESULT: Verify all actions provided by hint. "Change" action should change the misspelled word, or adding the word into the appropriate dictionary.}}
-
 
+
 +
<br>
 +
====Test suite: SpellChecker options====
 +
Purpose: This testsuite is focused on spellchecker options <br>
 +
Setup:  <br>
 +
Comments:  <br>
 +
# {{testcase|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.
 +
#* {{result|EXPECTED RESULT: Setting changed should be reflected immediately.}}
 +
 +
 
{{attachments|
{{attachments|
* [[Media:JavaDoc_TS_70_JavaDoc.zip]]}}
* [[Media:JavaDoc_TS_70_JavaDoc.zip]]}}

Revision as of 14:07, 3 March 2010

SpellCheck 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.


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