My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 141: Add 'showPopupMenu' to JTableHeaderFixture.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  Alex.Ruiz.05
Closed:  Jun 2008
Cc:  Alex.Ruiz.05
Type-Enhancement
Priority-High
Milestone-Release1.0
OpSys-All
Module-fest-swing


Sign in to add a comment
 
Reported by Alex.Ruiz.05, May 27, 2008
Recently discovered FEST, seems to be a very simple way of testing
swing apps! Haven't gotten that far though and just got stuck on a
problem: I have a table with a popup-menu attached to the header (used
for dynamically add/remove columns) that I would like to access in
order to test that functionality. I haven't figured out how to do it
though. I assume the showPopupMenu() is used for that but there is no
such method of JTableHeaderFixture. Am I or FEST missing something? :)
 
Comment 1 by b...@tontos.nu, May 30, 2008
Another feature that would be nice: Getting the names of the columns in the header. 
I'm not 100% familiar with the syntax used throughout fest, but something like 
window.getTable().tableHeader().column(n).requireValue(expected) or similar instead 
of going via window.getTable().target.getTableHeader() etc. 
Other methods for verifying cell properties are also interesting. In short I suppose 
JTableCellFixture and JTableHeaderFixture should have pretty much the same API.

Feel free to modify my ideas to the FEST way of thinking - I'm still a newbie! :)

Thanks!
Comment 2 by Alex.Ruiz.05, Jun 18, 2008
Added methods 'showPopupMenuAt(int)' and 'showPopupMenuAt(String)' to
JTableHeaderFixture.
Status: Fixed
Comment 3 by Alex.Ruiz.05, Nov 30, 2008
Set the module as a label, instead of being part of the title.
Summary: Add 'showPopupMenu' to JTableHeaderFixture.
Labels: Module-fest-swing
Sign in to add a comment

Hosted by Google Code