Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 66065 - Test to verify that EditorReferences are still working
Summary: Test to verify that EditorReferences are still working
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: Ines Khelifi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 20:46 EDT by Ines Khelifi CLA
Modified: 2005-05-31 16:23 EDT (History)
4 users (show)

See Also:


Attachments
Patch to test part references - views and editors (29.52 KB, patch)
2004-06-24 14:13 EDT, Ines Khelifi CLA
no flags Details | Diff
Updated patch (29.23 KB, patch)
2004-06-29 14:07 EDT, Ines Khelifi CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ines Khelifi CLA 2004-06-07 20:46:38 EDT
Write a test to verifiy Bug 64043.

"Need to verify that we are not defeating the editor reference support to avoid 
initializing unseen editors."
Comment 1 Ines Khelifi CLA 2004-06-24 14:13:08 EDT
Created attachment 12796 [details]
Patch to test part references - views and editors

I have added a "core-test" to the "ui" tests. I tested it on Windows using RC3
with the "releng" tools and it ran correctly. I also ran it on RC1 and it
failed (it generated a "partChangeAffectsZoom" exception, since RC1 did not
have the fix for Bug 64043).

I will run it on Linux to make sure everything is behaving correctly. I know
there is a problem on the Mac with the "WorkbenchAdvisor#eventLoopIdle(Display
display)", so I will log that as a bug (I don't believe the "ui" tests are ran
on the Mac yet?).

I also ensured that the test suite runs with all the plug-ins loaded and not
just the required ones. So there should not be any problems running the
headless mode application with the "releng" tools.
Comment 2 Ines Khelifi CLA 2004-06-24 14:16:42 EDT
Adding Nick to this bug since he has helped with the suite configuration. Let me
know if there is anything you would like changed/improved.
Comment 3 Ines Khelifi CLA 2004-06-25 14:24:31 EDT
I have tested the patch on Linux-GTK using RC3 with the "releng" tools and
ensured that the added tests were successful.
Comment 4 Nick Edgar CLA 2004-06-25 14:36:48 EDT
Let's release it after we declare 3.0.
Comment 5 Ines Khelifi CLA 2004-06-25 15:40:53 EDT
Sounds good.
Comment 6 Ines Khelifi CLA 2004-06-29 14:07:51 EDT
Created attachment 12885 [details]
Updated patch

Removed "getActiveWorkbenchWindow" from the utility class. Using
"configurer.getWindow()" instead.
Comment 7 Nick Edgar CLA 2004-06-29 14:12:41 EDT
Patch released.