use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.
the class ToEcoreTrafoTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
with(new XtextStandaloneSetup());
EPackage.Registry.INSTANCE.put(AmetamodelPackage.eNS_URI, AmetamodelPackage.eINSTANCE);
}
use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.
the class SuperCallScopeTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
XtextStandaloneSetup _xtextStandaloneSetup = new XtextStandaloneSetup();
this.with(_xtextStandaloneSetup);
}
use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.
the class XtextLinkerTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
XtextStandaloneSetup _xtextStandaloneSetup = new XtextStandaloneSetup();
this.with(_xtextStandaloneSetup);
}
use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.
the class NodeModelUtilsTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
with(new XtextStandaloneSetup());
}
use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.
the class XtextFormatterTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
with(new XtextStandaloneSetup() {
@Override
public Injector createInjector() {
return Guice.createInjector(new org.eclipse.xtext.XtextRuntimeModule() {
@SuppressWarnings("unused")
public Class<? extends ILineSeparatorInformation> bindILineSeparatorInformation() {
return FormatterTestLineSeparatorInformation.class;
}
});
}
});
get(FormatterTestLineSeparatorInformation.class).setLineSeparator("\n");
}
Aggregations