Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 128242

Summary: Re-enable LocalOptimizerTests in org.eclipse.draw2d.test
Product: [Tools] GEF Reporter: Steven R. Shaw <steveshaw>
Component: GEF-Legacy GEF (MVC)Assignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, hudsonr, nyssen
Version: 3.2   
Target Milestone: 3.6.0 (Helios) M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Steven R. Shaw CLA 2006-02-16 11:41:56 EST
Recent internal api changes broke compilation of LocalOptimizerTests.  Probably need to redesign the test to be done at the DirectedGraph level instead.
Comment 1 Alexander Nyßen CLA 2010-04-09 08:06:48 EDT
Adopted test case to new changed API by using reflection to access not accessible fields. Access to a LocalOptimizer instance (which is needed for the tests) is now performed indirectly by using a DirectedGraphLayout and removing all other steps from it.
Comment 2 Anthony Hunter CLA 2010-04-09 11:11:29 EDT
Do not forget to update the copyright header to 2010 to indicate a change made in 2010.
Comment 3 Alexander Nyßen CLA 2010-04-09 11:15:01 EDT
Done.