Search in sources :

Example 1 with XtextResourceSetBasedProjectProvider

use of org.eclipse.xtext.common.types.xtext.ui.XtextResourceSetBasedProjectProvider in project xtext-eclipse by eclipse.

the class XtextResourceSetBasedProjectProviderTest method setUp.

@Before
public void setUp() throws Exception {
    resourceSet = new XtextResourceSet();
    mockProjectProvider = new MockJavaProjectProvider();
    resourceSet.setClasspathURIContext(mockProjectProvider.getJavaProject(null));
    projectProvider = new XtextResourceSetBasedProjectProvider();
}
Also used : XtextResourceSet(org.eclipse.xtext.resource.XtextResourceSet) MockJavaProjectProvider(org.eclipse.xtext.common.types.access.jdt.MockJavaProjectProvider) XtextResourceSetBasedProjectProvider(org.eclipse.xtext.common.types.xtext.ui.XtextResourceSetBasedProjectProvider) Before(org.junit.Before)

Aggregations

MockJavaProjectProvider (org.eclipse.xtext.common.types.access.jdt.MockJavaProjectProvider)1 XtextResourceSetBasedProjectProvider (org.eclipse.xtext.common.types.xtext.ui.XtextResourceSetBasedProjectProvider)1 XtextResourceSet (org.eclipse.xtext.resource.XtextResourceSet)1 Before (org.junit.Before)1