Community
Participate
Working Groups
I20110124-1345. OpenFromClipboardTests causes NPEs and test failures.
The test works fine when ran in isolation. It causes problems when run from org.eclipse.jdt.debug.tests.AutomatedSuite. I will take a look.
Created attachment 187609 [details] fix There were 2 problems - The test was not added to AutomatedSuite correctly - Once this was done, the tests were failing at OpenFromClipboardAction.executeRunnable(IRunnableWithProgress) line 408. This is because debug tests are not run in UI thread (see javadoc of DebugSuite.run(...))
Thanks Deepak. The patch is good. I added a comment why we need to use #suite() in AutomatedSuite. Committed to HEAD and released into I20110126-0800.
Verified in I20110126-0800: all JDT Debug tests passed.