use of com.intellij.ui.EditorNotificationsImpl in project intellij-community by JetBrains.
the class NonProjectFileAccessTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
EditorNotifications notifications = new EditorNotificationsImpl(getProject());
((ComponentManagerImpl) getProject()).registerComponentInstance(EditorNotifications.class, notifications);
NonProjectFileWritingAccessProvider.enableChecksInTests(getProject());
ProjectManagerEx.getInstanceEx().blockReloadingProjectOnExternalChanges();
}
Aggregations