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

Bug 361355

Summary: [serializer] fix remaining bugs unveiled by o.e.xtext.tests
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Moritz Eysholdt CLA 2011-10-19 04:37:37 EDT
I'm currently activating the serializer for all testcases/test languages in o.e.xtext.tests. For the most tests serialization succeeds, for some it doesn't. Sometimes the test setup is not proper for serialization (e.g. unassigned rule calls in the grammar, missing transient value service, etc.) and for some cases bugs in the serializer are unveiled. Here, I'll list which test cases unveil potential bugs.
Comment 1 Moritz Eysholdt CLA 2011-10-19 05:59:53 EDT
org.eclipse.xtext.parsetree.formatter.ElementMatcherTest.testRecursion()
- fails when all test cases are executed; it succeeds when executed individually

org.eclipse.xtext.parser.terminalrules.Bug292245Test
- missing whitespace

org.eclipse.xtext.linking.Bug287988Test.testInlinedActions_01()
org.eclipse.xtext.parsetree.reconstr.SerializationErrorTest
- node is not associated

org.eclipse.xtext.parsetree.reconstr.SimpleReconstrTest
- wrong state machine

org.eclipse.xtext.parser.antlr.AbstractBug301935Test
org.eclipse.xtext.parser.unorderedGroups.AbstractBacktrackingBug325745ParserTest
- caused by bug 346695

org.eclipse.xtext.parser.terminalrules.HiddensTest
- local hidden nodes?

org.eclipse.xtext.grammarinheritance.InheritanceTest.testSimple()
- CCE in GrammarAccess, maybe bug 347171

org.eclipse.xtext.resource.EObjectAtOffsetTest
- wrong order of tokens + missing whitespace