Search in sources :

Example 11 with XtextStandaloneSetup

use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.

the class XtextResourceDescriptionTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    with(new XtextStandaloneSetup());
}
Also used : XtextStandaloneSetup(org.eclipse.xtext.XtextStandaloneSetup)

Example 12 with XtextStandaloneSetup

use of org.eclipse.xtext.XtextStandaloneSetup in project xtext-core by eclipse.

the class XtextSerializerTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    with(new XtextStandaloneSetup());
    getInjector().injectMembers(this);
}
Also used : XtextStandaloneSetup(org.eclipse.xtext.XtextStandaloneSetup)

Aggregations

XtextStandaloneSetup (org.eclipse.xtext.XtextStandaloneSetup)12 Injector (com.google.inject.Injector)3 IssuesImpl (org.eclipse.emf.mwe.core.issues.IssuesImpl)2 Test (org.junit.Test)2 Binder (com.google.inject.Binder)1 WorkflowContextDefaultImpl (org.eclipse.emf.mwe.core.WorkflowContextDefaultImpl)1 NullProgressMonitor (org.eclipse.emf.mwe.core.monitor.NullProgressMonitor)1 Grammar (org.eclipse.xtext.Grammar)1 IResourceFactory (org.eclipse.xtext.resource.IResourceFactory)1 IResourceServiceProvider (org.eclipse.xtext.resource.IResourceServiceProvider)1 ReducedXtextResourceValidator (org.eclipse.xtext.xtext.ReducedXtextResourceValidator)1