Search in sources :

Example 1 with VcsRepositoryCreator

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();
}
Also used : MockAbstractVcs(com.intellij.openapi.vcs.changes.committed.MockAbstractVcs) VcsRepositoryCreator(com.intellij.dvcs.repo.VcsRepositoryCreator) VcsRepositoryManager(com.intellij.dvcs.repo.VcsRepositoryManager) CountDownLatch(java.util.concurrent.CountDownLatch)

Aggregations

VcsRepositoryCreator (com.intellij.dvcs.repo.VcsRepositoryCreator)1 VcsRepositoryManager (com.intellij.dvcs.repo.VcsRepositoryManager)1 MockAbstractVcs (com.intellij.openapi.vcs.changes.committed.MockAbstractVcs)1 CountDownLatch (java.util.concurrent.CountDownLatch)1