mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[tests] Implement GitMockRepositoryManager
This commit is contained in:
@@ -59,6 +59,21 @@ public class GitMockRepositoryManager implements RepositoryManager<GitRepository
|
||||
return myRepositories;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addExternalRepository(@NotNull VirtualFile root, @NotNull GitRepository repository) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeExternalRepository(@NotNull VirtualFile root) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isExternal(@NotNull GitRepository repository) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean moreThanOneRoot() {
|
||||
return myRepositories.size() > 1;
|
||||
|
||||
Reference in New Issue
Block a user