Closed GoogleCodeExporter closed 9 years ago
The behavior of Xtext has changed here from 2.0.0 to 2.0.1.
A workaround is to call the DSL's StandaloneSetup.doSetup() in a @Befor method:
{{{
@Before
public void before () {
super.before(); // important to call super here, are choose a different method name
MyDslStandaloneSetup.doSetup();
}}}
Original comment by karsten....@googlemail.com
on 2 Sep 2011 at 11:45
The bug has been detected and will be reported to Xtext.
As a workaround the class XtextRunner2 has been introduced with version 0.9.2.
Use this class in @RunWith to avoid the bug.
Version 0.9.2 has been provisioned to the release repository.
Original comment by karsten....@googlemail.com
on 30 Sep 2011 at 10:15
Original issue reported on code.google.com by
de.abg.r...@gmail.com
on 31 Aug 2011 at 9:59