### AJDE Test Script

Structure Browser

- Select link node corresponding to code (nodes not in structure view): navigation should seek to the source line for the corresponding node, and the parent declaration should be selected in the structure view.
- seeking on compiler messages doesn't highlight, seeking on structure does and sets cursor in editor
- after successful compile task is removed
- JBuilder (and all?): save all happens before build

AJBrowser Script

Steps 3-6 apply should be re-tested in JBuilder and Forte seperately.

1. launch browser & manipulate config file set
   - with no config file passed as command line parameter: error message
   - open config file by browsing filesystem
     - browse and add
     - close config
     - close config: silent fail
     - compile: error message
   - with multiple config files passed as command line parameters
     - a file specified by its full path
     - a file specified by its relative path
     - non ".lst" file: file not added to configs list
     - a file with an incorrect suffix: not added to list
2. run
   - with no class selected: error dialog
   - with a non-main class selected: error dialog
   - with a correct main class selected
3. debug
   - with no class selected: error dialog
   - with a non-main class selected: error dialog
   - with a correct main class selected
4. compile
   - no config file present: error message
   - non-existing config file: error message
   - invalid config file: error dialog
     - incorrect entry: error message seeks to corresponding line
     - non-existing file: error message seeks to corresponding line
   - compile error-generating code: compiler error, failed build reported
     - seek to compiler message
     - recompile: messages pane disappears
   - compile warning-generating code: compiler warning, successful build reported
   - compile and generate compiler error: error message
   - compile and generate OutOfMemoryError: error message
   - compile and abort: aborted build reported
   - compile valid code: successful build reported
5. browse structure (expand this section)
   - test modes
     - global view
     - file view
     - split views
   - expand/collapse tree levels using slider
   - close and re-launch browser: previously saved structure tree should be present
6. edit ".lst" file
   - select for editing and verify integrity of package/file structure
   - select/deselect nodes and save
   - verify saves committed to disk
   - break ".lst" file on disk: error dialog
   - coverage: when compilation breaks
   - coverage: when aspectjrt.jar not present on classpath
7. user preferences
   - set options in "Properties" window
   - close and re-launch browser
   - verify properties
     - Build Options
       - non-standard options
8. error handler
   - verify that the error handler shows stack trace

AJDE/JBuilder

1. launch
   - AJDE startup message appears
   - no AJDE listeners are enabled until AJDE started (whitebox)
2. make new project
   - *any* combination of parameters to the new project wizard should work
   - add packages
   - add single files
3. start AJDE
4. repeat AJBrowser tests
5. inline annotations
   - line with a single annotation
   - line with multiple annotations

AJDE/Forte

1. launch
   - AJDE startup message appears
   - no AJDE listeners are enabled until AJDE started (whitebox)
2. make new project
   - *any* combination of parameters to the new project wizard should work
   - add packages
   - add single files
3. start AJDE
4. repeat AJBrowser tests