vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

The log for encapsulate field does not take changes in the refactoring dialog into account #275

Closed reprogrammer closed 13 years ago

reprogrammer commented 13 years ago

In issue #270, we captured invocations of the encapsulate field. But, I noticed that the log does not change if the user changes a few parameters in the refactoring dialog. Perhaps the input page is not synchronized with the underlying refactoring object.

reprogrammer commented 13 years ago

The problem seems to be in the SWTBot tests, because CodingSpectator captures the right logs when I run in it in the plug-in development mode and perform the tests manually. I think SWTBot is not manipulating the input page of the refactoring properly. Surprisingly, the SWTBot test shows the change in the radio button in the UI, but, the refactoring is completely unaware of it.

reprogrammer commented 13 years ago

I asked a question about this issue on stackoverflow.com and forwarded it to the SWTBot forum.