Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-ui-dev] Test plan

JDT UI/Text/Search/Compare: test plan for the M3 build

Quick fix / Quick assist (Dirk / Jennifer)

Quick fix features:
- Add unimplemented methods
- Add throws statements, add catch clock to existing
- Remove unneeded catch block
- Create new methods
...

Quick assist features:
- Create local variable (CTRL + 1 on a expression statement)
- Convert catch block to throws statement  (CTRL + 1 on a catch block)
- Local (linked) rename (CTRL + 1 on a variable, method or type name)
Tests:
- Source code corner cases
- Cursor position after quick fix invocation
- Use CTRL + 1 when cursor not at problem location
- performance: Time to show up, time to apply
- Look at preview

Preferences: (Adam / Rori)

- Task tags
- Project specific compiler settings
- Members Sort order
- Editor: Problem indication, Behavior, Hovers
Tests:
- Validation on modification
- Apply without reopen/restart views
- Understandable option label names
- Test associated feature


Refactoring1: (Kai / Rori)

- Promote Local Variable to Field
- Convert Anonymous Class to Nested Class
- Extract Constant
- Change Method Signature
- Move to Top Level
Tests:
- Source corner cases
- Test error cases: E.g. examples that result in name clashes
- Understandable descriptions/errors
- Work on unsaved files


Refactoring2: (Dani / Claude)

- Extract Interface
- Use Supertype where possible
- Inline constant
- Inline method
- Inline local variable
Tests:
- Source corner cases
- Test error cases: E.g. examples that result in name clashes
- Understandable descriptions/errors
- Work on unsaved files


JUnit: (Dani / Jennifer)

- JUnit 3.8.1 support
- PDE JUnit: Different workspace setups (external projects)
- support to find and navigate to tests that reference a particular type or
method. The action is in "Navigate>Go To>Referring Tests".


Editor: (Martin / Adam)

- link-like navigation for declarations (Ctrl key)
- go into top level type in Java outline
- Java Editor hovers (see preference pages)
- Goto Matching Bracket action to Java editor (Ctrl+Shift+P)
- Javadoc comment auto indentation
- Smart paste (indent on paste)
- 'F2' on hovers to make them sticky
- Resizable code assist


Package Explorer: (Kai / Martin)

- Flat / Hierarchical layout
- Fold packages in hierarchical layout (preference page)
Tests:
- Refreshing: Delete CU, remove CU, rename CU to none CU
- Images: refresh on modifications
- Usability



Back to the top