use of org.eclipse.xtext.common.types.access.jdt.MockJavaProjectProvider in project xtext-eclipse by eclipse.
the class JavaElementFinderTest method setUp.
@Before
public void setUp() throws Exception {
resourceSet = new ResourceSetImpl();
projectProvider = new MockJavaProjectProvider();
projectProvider.setUseSource(true);
typeProvider = new JdtTypeProvider(projectProvider.getJavaProject(resourceSet), resourceSet);
elementFinder = new JavaElementFinder();
elementFinder.setProjectProvider(projectProvider);
}
Aggregations