Search in sources :

Example 1 with DefaultImpl

use of org.eclipse.xtext.naming.IQualifiedNameConverter.DefaultImpl in project xtext-core by eclipse.

the class QualifiedNameTest method testBug354473.

@Test
public void testBug354473() {
    DefaultImpl impl = new IQualifiedNameConverter.DefaultImpl();
    QualifiedName name = impl.toQualifiedName(".");
    ImportNormalizer normalizer = new ImportNormalizer(QualifiedName.create("Test"), true, false);
    assertNull(normalizer.resolve(name));
}
Also used : ImportNormalizer(org.eclipse.xtext.scoping.impl.ImportNormalizer) DefaultImpl(org.eclipse.xtext.naming.IQualifiedNameConverter.DefaultImpl) Test(org.junit.Test)

Aggregations

DefaultImpl (org.eclipse.xtext.naming.IQualifiedNameConverter.DefaultImpl)1 ImportNormalizer (org.eclipse.xtext.scoping.impl.ImportNormalizer)1 Test (org.junit.Test)1