use of com.intellij.mock.MockPsiManager in project android by JetBrains.
the class GradleRenderErrorContributorTest method createResultWithBrokenClass.
private RenderResult createResultWithBrokenClass() {
PsiFile file = new MockPsiFile(new MockPsiManager(myProject));
file.putUserData(ModuleUtilCore.KEY_MODULE, myModule);
RenderResult result = RenderResult.createBlank(file);
result.getLogger().addBrokenClass("com.google.Class", new Exception());
return result;
}
Aggregations