mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 23:52:23 +07:00
added assertion on attempt to remove ContentEntry obtained from another instance of ModuleRootModel
This commit is contained in:
@@ -753,7 +753,7 @@ public class DirectoryIndexTest extends IdeaTestCase {
|
||||
assertIteratedContent(fileIndex, Arrays.asList(fileRoot, fileSourceRoot, fileTestSourceRoot), null);
|
||||
|
||||
// removing file content root
|
||||
PsiTestUtil.removeContentEntry(myModule, contentEntry);
|
||||
PsiTestUtil.removeContentEntry(myModule, contentEntry.getFile());
|
||||
assertNotInProject(fileRoot);
|
||||
assertFalse(fileIndex.isInContent(fileRoot));
|
||||
assertFalse(fileIndex.isInSource(fileRoot));
|
||||
|
||||
Reference in New Issue
Block a user