Skip to main content

Pls review updated fix for dynamic update of test panel.

3 replies [Last post]
bkurotsu
Offline
Joined: 2004-12-13

Minor update to allow the panel to track the actual object under execution. The test tree sometime has a temporary or previous copy.

Use case which was broken:
Click on test in tree (right panel shows that test). Right click it and run it. As it runs, click on a folder in the tree, then back on the running tests. At that last step, it will probably show the old, non-executing test result. This code change fixes that.

Note that an example test is also updated in this rev, it provides a way to test it, since tests usually execute too fast to observe.

https://jtharness.dev.java.net/source/browse/jtharness?rev=1562&view=rev

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bkurotsu
Offline
Joined: 2004-12-13

Thanks Dima!

bkurotsu
Offline
Joined: 2004-12-13

Integrated as rev 1568, but still needs review.

fda
Offline
Joined: 2005-05-27

Reviewed. Fix is ok.
I reproduced the problem on a JCK interactive test, the fix heals the issue.