Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323912 - Mwe2Runner should give access to the workflow context
Summary: Mwe2Runner should give access to the workflow context
Status: RESOLVED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-29 14:16 EDT by Christoph Kulla CLA
Modified: 2011-05-20 05:08 EDT (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments
Patch which gives access to the context. (2.25 KB, patch)
2010-08-29 14:27 EDT, Christoph Kulla CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.