Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337978 - [Test] ValidatorTester must not return an Immutable context
Summary: [Test] ValidatorTester must not return an Immutable context
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 10:03 EST by Christoph Kulla CLA
Modified: 2017-09-19 17:46 EDT (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments
Patch to create an modifiable context (1.33 KB, patch)
2011-02-23 10:13 EST, 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 2011-02-23 10:03:22 EST
Build Identifier: Xtext 2.0 head 

When using the ValidatorTester together with the NamesAreUniqueValidator  you run into exceptions. The NamesAreUniqueValidator modifies the context, but the ValiatorTester creates an ImmutableContext which leads to the exceptions. The ValidatorTester should return a modifiable context.

Reproducible: Always
Comment 1 Christoph Kulla CLA 2011-02-23 10:13:23 EST
Created attachment 189602 [details]
Patch to create an modifiable context
Comment 2 Sven Efftinge CLA 2011-03-29 00:22:24 EDT
pushed to master
Comment 3 Karsten Thoms CLA 2017-09-19 17:35:24 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:46:23 EDT
Closing all bugs that were set to RESOLVED before Neon.0