| # | Test case | Description |
| 1 | Code Folding |
- Try to activate and deactivate folding in general.
- Try to activate and deactivate various code foldings.
- Repeatedly open a java file in editor with various options.
|
|
| RESULT: | Check if folding is activated and deactivated properly. Check if individual folding settings are propagated to editor. |
|
| 2 | Code Completion |
- Test all code completion options in both activated and deactivated states.
|
|
| RESULT: | All changes should be visible when using code completion. |
|
| 3 | Indentation |
- Try to change all of the indentation options.
- Go to editor and check if all indetation changes are applied (only on new lines).
- Try to execute the reformat action from context menu.
- Go back to original settings.
- Repeat steps 2 and 3.
|
|
| RESULT: | Indentation should change on new lines or on whole source for reformat action. No side effects should appear. |
|
| 4 | Code Templates - Adding |
- Try to add a new code template for Java language.
- Try to add a code template with the same name to check that this is not allowed.
- Use the code template in editor.
|
|
| RESULT: | Adding a new code template should work properly. |
|
| 5 | Code Templates - Deleting |
- Try to delete the code template you defined in previous step.
|
|
| RESULT: | The code template should be removed from the list. |
|
| 6 | Code Templates - Editing |
- Try to edit some of the code templates.
- Check in editor that the changes were saved.
|
|
| RESULT: | Changes should be propagated to editor. |
|
| 7 | Code Templates - Different Languages |
- Try to define a code template for a diffent language, e.g. HTML.
- Verify that this template is not accessible in Java sources.
- Verify that this template is available in HTML sources.
|
|
| RESULT: | Code template should work only in languages for which it is defined. |
|
| 8 | Code Templates - Multiline |
- Try to define a multiline code template, such as an extended for() cycle.
- Change the template in the Expanded text window.
- Activate this template in source editor.
|
|
| RESULT: | Multiline code template should be displayed properly with correct formatting. |
|
| 9 | Macros - Adding |
- Try to add a new macro for Java language.
- Try to add a macro with the same name to check that this is not allowed.
- Use the macro in editor.
|
|
| RESULT: | Adding a new macro should work properly. |
|
| 10 | Macros - Deleting |
- Try to delete the macro you defined in previous step.
|
|
| RESULT: | The macro should be removed from the list. |
|
| 11 | Macros - Editing |
- Try to edit some of the macros.
- Check in editor that the changes were saved.
|
|
| RESULT: | Changes should be propagated to editor. |
|
| 12 | Macros - Different Languages |
- Try to define a macro for a diffent language, e.g. HTML.
- Verify that this macro is not accessible in Java sources.
- Verify that this macro is available in HTML sources.
|
|
| RESULT: | Macro should work only in languages for which it is defined. |
|