use of com.intellij.dvcs.repo.VcsRepositoryCreator in project intellij-community by JetBrains.
the class VcsRepositoryManagerTest method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
cd(myProjectRoot);
myVcs = new MockAbstractVcs(myProject);
myProjectLevelVcsManager = (ProjectLevelVcsManagerImpl) ProjectLevelVcsManager.getInstance(myProject);
myProjectLevelVcsManager.registerVcs(myVcs);
READY_TO_READ = new CountDownLatch(1);
CONTINUE_MODIFY = new CountDownLatch(1);
myMockCreator = createMockRepositoryCreator();
ExtensionPoint<VcsRepositoryCreator> point = getExtensionPoint();
point.registerExtension(myMockCreator);
myGlobalRepositoryManager = new VcsRepositoryManager(myProject, myProjectLevelVcsManager);
myGlobalRepositoryManager.initComponent();
}
Aggregations