Community
Participate
Working Groups
3.7 M1 and HEAD. 1. enable 'Show newly launched test in all JUnit views' 2. exit 3. start ==> preference is lost.
Created attachment 189037 [details] Fix Reading of the preference is correct. Storing of the preference is also correct (was only stored in AbstractUIPlugin#stop() -- I'm changing that to store it right from the preferences dialog). So what was wrong then? JunitPreferenceInitializer opted for too much migration and cleansed all jdt.junit preferences on every restart. This was no big deal as long as there were no new UI preferences, but now it's definitely wrong.
> Created attachment 189037 [details] [diff] > Fix The relevant fix was in JunitPreferenceInitializer. Kudos for the incomplete patch go to bug 294650. Fixed in HEAD.
Verified in N20110215-2000.