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

Bug 337978

Summary: [Test] ValidatorTester must not return an Immutable context
Product: [Modeling] TMF Reporter: Christoph Kulla <christophkulla>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: unspecifiedFlags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Patch to create an modifiable context sven.efftinge: iplog+

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