TreeViewers with Lazy Decorators [message #1708098] |
Sun, 13 September 2015 01:18  |
Eclipse User |
|
|
|
Hi,
I just recorded my first test case but when I replay it it fails because it can't find a specific tree item. I have the
feeling that it's related to the fact that the tree viewer (i.e., Project Explorer) uses lazy label decoration. When I
recorded the test case I was slow enough so that the label decorator had already decorated the tree item, i.e., added a
brown suffix text. The recorder has recorded the decorated label text, including the decoration suffix. But when the
test is replayed that's so quick that the lazy label decorator didn't have a chance to decorate the item, hence it still
has a different label than in the recorded script. Any ideas how to solve this?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04434 seconds