| Summary: | [Generate Getters and Setters] Wizard can proceed and generate a change even if nothing selected | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc-André Laperle <malaperle> |
| Component: | cdt-refactoring | Assignee: | Sergey Prigogin <eclipse.sprigogin> |
| Status: | VERIFIED FIXED | QA Contact: | Sergey Prigogin <eclipse.sprigogin> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0.1 | ||
| Target Milestone: | 8.0.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed together with bug 367391. Verified in 8.0.2 RC1. |
Tested with 8.0.1 and master (2011-12-21) class TestClass { int foo; }; 1. Invoke Generate Getters and Setters but make sure 'foo' is not in the text selection 2. When the wizard opens, nothing should be selected. The Next and Finish buttons are enabled but they should be disabled since there is nothing to generate. Click Next anyway. 3. Some code gets generated: the line "public:" is inserted.