Issue Details (XML | Word | Printable)

Key: FEST-115
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Alex Ruiz
Reporter: Alex Ruiz
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FEST

Add 'requireSelection(int)' to ItemGroupFixture (JComboBoxFixture and JListFixture)

Created: 27/Apr/09 07:25 AM   Updated: 30/Apr/09 12:46 AM   Resolved: 28/Apr/09 10:31 PM
Return to search
Component/s: Swing
Affects Version/s: FEST-Swing 1.1
Fix Version/s: FEST-Swing 1.2a1

Time Tracking:
Not Specified


 Description  « Hide

From Jeanette:

A minor point I have been wondering about: why is there no requireSelection(int) on ItemGroupFixture? Feels like an omission as it introduces a slight asymmetry in the API

select(String) <--> requireSelection(String)
select(int) <--> requireSelection(int)

with that in place, the first assert could have been folded into the fluent sentence.



Alex Ruiz made changes - 28/Apr/09 09:55 PM
Field Original Value New Value
Remaining Estimate 0 minutes [ 0 ]
Original Estimate 0 minutes [ 0 ]
Summary Adde 'requireSelection(int)' to ItemGroupFixture Add 'requireSelection(int)' to ItemGroupFixture
Alex Ruiz made changes - 28/Apr/09 10:07 PM
Status Open [ 1 ] In Progress [ 3 ]
Alex Ruiz made changes - 28/Apr/09 10:08 PM
Description From Jeanette,

A minor point I have been wondering about: why is there no {{requireSelection(int)}} on {{ItemGroupFixture}}? Feels like an omission as it introduces a slight asymetry in the API

select(String) <--> requireSelection(String)
select(int) <--> requireSelection(int)

with that in place, the first assert could have been folded into the fluent sentence.
From Jeanette:

A minor point I have been wondering about: why is there no {{requireSelection(int)}} on {{ItemGroupFixture}}? Feels like an omission as it introduces a slight asymmetry in the API

select(String) <--> requireSelection(String)
select(int) <--> requireSelection(int)

with that in place, the first assert could have been folded into the fluent sentence.
Alex Ruiz made changes - 28/Apr/09 10:31 PM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]
Alex Ruiz made changes - 30/Apr/09 12:46 AM
Summary Add 'requireSelection(int)' to ItemGroupFixture Add 'requireSelection(int)' to ItemGroupFixture (JComboBoxFixture and JListFixture)