Community
Participate
Working Groups
build I20050330 The new API described in bug 85373 needs to have tests in the RCP test suite. See bug 85373 comment 37 and 38. Matt, would you be able to do this for M6 or M7?
Yes, I have one in the works now, almost complete, I agreed to this in 85373. I would say okay for M6 but looks like you have specified M7 already. Please advise, I can post the patch today.
Extra tests can go in pretty well any time, so if it's ready, please attach. Thanks.
Created attachment 19371 [details] first pass at unit test for save/restore API This could be better. I could consolidate the life cycle tests into one test and the test for the save on demand API should check for something other than a null window. It should modify some aspect of the Window state, save, restore, and check for those modifications.
What fun, eh? When was the last time you got to create a triply-nested local class? ;-)
The patch looks fine to me. MvM, could you review as well?
Looks good. I would be helpful for me to see a few more comments - class comment - what does this class do what does it test? - life cycle comments - now saving the state - now restore the state and try to create etc...
The code has been committed. Matthew, it would still be nice to have a nicer commented version of the test etc... when you get a chance.
verified in HEAD