use of com.intellij.psi.impl.include.FileIncludeManager in project intellij-community by JetBrains.
the class FilePathResolveTest method testResolveFileReference.
public void testResolveFileReference() throws Exception {
configureByFile(BASE_PATH + "C.java", BASE_PATH);
FileIncludeManager fileIncludeManager = FileIncludeManager.getManager(getProject());
PsiFileSystemItem item = fileIncludeManager.resolveFileInclude(new FileIncludeInfo("x/MyFile.txt"), getFile());
assertNotNull(item);
assertEquals("MyFile.txt", item.getName());
}
Aggregations