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

Bug 348484

Summary: Runtime GMFGraph tests are failing under the modeling (non Tycho) build
Product: [Modeling] GMF-Tooling Reporter: Michael Golubev <borlander>
Component: CoreAssignee: Michael Golubev <borlander>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: mistria
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
correctly generated code for failing testFlowLayout none

Description Michael Golubev CLA 2011-06-06 19:15:49 EDT
The failure logs are avaialble here: http://modeling.eclipse.org/modeling/gmp/gmf-tooling/downloads/drops//2.4.0/N201106061733/testresults/xml/org.eclipse.gmf.tests_linux.gtk.xml

Exactly the same tests not failing under the Tycho build and when running from local workspace. 

All 7 failures are for checking the foreground color of the generated figures: no matter what is the value of the color set in model, the runtime color is always black (RGB {0, 0, 0}).
Comment 1 Michael Golubev CLA 2011-06-06 19:21:30 EDT
I've verified that the generated code is the same under the build and for local runs (attached).
So, it explicitly contains the setting of the color like this: 

	/**
	 * @generated
	 */
	static final Color THIS_FORE = new Color(null, 0, 0, 255);
    
	this.setForegroundColor(THIS_FORE);

So this is the problem with test checker not with the code being tested.
Comment 2 Michael Golubev CLA 2011-06-06 19:23:40 EDT
Created attachment 197470 [details]
correctly generated code for failing testFlowLayout
Comment 3 Michael Golubev CLA 2012-05-30 01:27:47 EDT
batch update: Verified in RC2