TS 67 EditorOptions
Test Specification: Editor Options
Author: Jiri Prox
Version: 6.7
Introduction: This test specification covers two panels in Options Dialog - Fonts&Colors and Keymap.
Setup: No specific steps are required
Test suite: Fonts & Colors - syntax
- All languages - default
- Open options dialog
- Go to Fonts & Colors, tab Syntax
- Select language All Languages, and category Default
- Change Font to Monospaced 14 Bold
- Change Foreground, Backaground, Effect and Effect color
- EXPECTED RESULT: All fonts is changed to the set valued, unless the values are not overridden in some specific category java keyword color stay unchanged, since is specified later.
- All language - comment
- Change color of comment in language All Languages
- Check several types of files (Java, HTML, XML ...)
- EXPECTED RESULT: The color of comment are changed correctly
- inherited color
- Select the color of Comment for all languages to 'Inherited'
- Change color for category Default
- EXPECTED RESULT: The color square next to label 'Inherited' should have color of Default element. When this value is selected the color of comment element is inherited from the superior element - 'default' in this case. After changing color of 'default' the color of 'comment' is changed as well
- Preview
- Select language All languages'
- Click on several places in preview
- EXPECTED RESULT: The proper category is selected
Test suite: Fonts & Colors - java specific syntax
Setup: Reset any changed which were made during previous testsuite by pressing 'Restore' button. After each test case, revert the changes. Open class TestClass_TS_67_EditorOptions.java
- Language specific color
- Select language Java
- Set color/fonts for Abstract Element
- EXPECTED RESULT: The abstract elements on lines 6, 9 and 10 are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Annotation declaration and Annotation Use
- EXPECTED RESULT: The annotation declaration on line 21 and annotation use at line 2 are colored according to set values
- Language specific color
- Select language Java
- Set color/fonts for Character
- EXPECTED RESULT: Character literal on line 38 is colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Class Use and Class Declaration
- EXPECTED RESULT: The all class usages (lines 40,42,46) and class declarations (3, 9, 13) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Comment
- EXPECTED RESULT: All comments (block and inline) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Constructor Use and Constructor Declaration
- EXPECTED RESULT: Constructor Use (line 47) and Constructor Declaration (line 50) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Deprecated Element
- EXPECTED RESULT: The rendering of deprecated elements are changed (lines 3,47)
- Language specific color
- Select language Java
- Set color/fonts for Enum Use and Enum Declaration
- EXPECTED RESULT: Enum Use (line 44) and Enum Declaration (line 16) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Field Declaration and Filed Use
- EXPECTED RESULT: The Field Declaration (lines 18, 23 - 26,32) and Filed Use (47) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Identifier
- EXPECTED RESULT: All identifiers are colored by specific color
- Language specific color
- Select language Java
- Set color/fonts for Interface Declaration and Interface Use
- EXPECTED RESULT: The Interface Declaration (line 5) and Interface Use (line 43) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Javadoc HTML tag
- EXPECTED RESULT: HTML tags in javadoc (line 28) has correct color
- Language specific color
- Select language Java
- Set color/fonts for Keyword and Keyword directive
- EXPECTED RESULT: All keywords (as public, void, class ...) and keyword directives (as return ...) are colored by specific color
- Language specific color
- Select language Java
- Set color/fonts for Local Variable Declaration and Local Variable Use
- EXPECTED RESULT: The Local Variable Declaration on lines 38, 40, 42 45 and Local Variable Use on line 46 are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Mark Occurrence
- Put cursor on 'method' on line 37
- EXPECTED RESULT: The occurrence on line 41 has correct color
- Language specific color
- Select language Java
- Set color/fonts for Method Declaration and Method Use
- EXPECTED RESULT: Method Declaration (6,10,37) and Method Use (41,46) are colored by specified color
- Language specific color
- Select language Java
- Set color/fonts for Number
- EXPECTED RESULT: Numbers (52,53) have correct color
- Language specific color
- Select language Java
- Set color/fonts for Operator and Separator
- {{{1}}}
- Language specific color
- Select language Java
- Set color/fonts for Package Private Element, Private Element, Protected Element and Public Element
- EXPECTED RESULT: See if elements with each of the access modifier have correct color
- Language specific color
- Select language Java
- Set color/fonts for Parameter Declaration and Parameter Use
- EXPECTED RESULT: Parameter Declaration (51) and Parameter Use (54) have correct color
- Language specific color
- Select language Java
- Set color/fonts for Static Element
- EXPECTED RESULT: Static Element (line 5, 16, 18, 21, 23, 43,44, 46) have correct color
- Language specific color
- Select language Java
- Set color/fonts for String, String Escape Sequence and String Escape Sequence (Invalid)
- EXPECTED RESULT: String (line 40), String Escape Sequence (\n on line 40) and invalid String Escape Sequence (\d on line 40) have correct color
- Language specific color
- Select language Java
- Set color/fonts for Unused Element
- EXPECTED RESULT: All unused private elements (25, 38, 43,44,52) have correct color
- Language specific color
- Select language Java
- Set color/fonts for Whitespace
- EXPECTED RESULT: All white spaces - space, tab - are colored by specified color (note that there are no visible color, so setting foreground color does nothing)
Test suite: Fonts & Colors - highlighting
-
- EXPECTED RESULT:
Test suite: Fonts & Colors - annotations
-
- EXPECTED RESULT:
Test suite: Fonts & Colors - profiles
-
- EXPECTED RESULT:
Test suite: Keymaps - setting shortcuts
-
- EXPECTED RESULT:
Test suite: Keymaps - profiles
-
- EXPECTED RESULT:
Attachments

