Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361355 - [serializer] fix remaining bugs unveiled by o.e.xtext.tests
Summary: [serializer] fix remaining bugs unveiled by o.e.xtext.tests
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 04:37 EDT by Moritz Eysholdt CLA
Modified: 2011-10-19 05:59 EDT (History)
0 users

See Also:


Attachments

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