Search in sources :

Example 1 with PrimitiveMirror

use of org.eclipse.xtext.common.types.access.impl.PrimitiveMirror in project xtext-eclipse by eclipse.

the class JdtTypeProviderTest method testCreateMirror_02.

@Test
public void testCreateMirror_02() {
    URI uri = URI.createURI("java:/Primitives");
    IMirror mirror = typeProvider.createMirror(uri);
    assertNotNull(mirror);
    assertTrue(mirror instanceof PrimitiveMirror);
}
Also used : IMirror(org.eclipse.xtext.common.types.access.IMirror) PrimitiveMirror(org.eclipse.xtext.common.types.access.impl.PrimitiveMirror) URI(org.eclipse.emf.common.util.URI) Test(org.junit.Test)

Aggregations

URI (org.eclipse.emf.common.util.URI)1 IMirror (org.eclipse.xtext.common.types.access.IMirror)1 PrimitiveMirror (org.eclipse.xtext.common.types.access.impl.PrimitiveMirror)1 Test (org.junit.Test)1