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

Bug 323912

Summary: Mwe2Runner should give access to the workflow context
Product: [Modeling] EMFT Reporter: Christoph Kulla <christophkulla>
Component: MWEAssignee: Project Inbox <emft-mwe-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: unspecifiedFlags: sven.efftinge: indigo+
Target Milestone: M2   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Patch which gives access to the context. sven.efftinge: iplog+

Description Christoph Kulla CLA 2010-08-29 14:16:19 EDT
Build Identifier: 

The current implementation of Mwe2Runner does not give access to the workflow context. Especially in unit tests you need access to the context to pass in data or check results. Therefore the Mwe2Runner should be extended to give access to the workflow context.

Reproducible: Always
Comment 1 Christoph Kulla CLA 2010-08-29 14:27:57 EDT
Created attachment 177691 [details]
Patch which gives access to the context.
Comment 2 Sven Efftinge CLA 2010-08-30 03:14:24 EDT
I've changed the patch a bit, such that the workflow context isn't referenced state, but is passed to the run methods.