mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git] remove some weird test case
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -16,15 +16,11 @@
|
||||
package git4idea.repo;
|
||||
|
||||
import com.intellij.dvcs.repo.Repository;
|
||||
import com.intellij.openapi.application.PluginPathManager;
|
||||
import git4idea.GitLocalBranch;
|
||||
import git4idea.test.GitSingleRepoTest;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Collections;
|
||||
|
||||
import static com.intellij.openapi.vcs.Executor.cd;
|
||||
import static com.intellij.openapi.vcs.Executor.cp;
|
||||
import static git4idea.test.GitExecutor.git;
|
||||
import static git4idea.test.GitScenarios.commit;
|
||||
import static git4idea.test.GitScenarios.conflict;
|
||||
@@ -50,16 +46,4 @@ public class GitRepositoryReaderNewTest extends GitSingleRepoTest {
|
||||
assertEquals("State value is incorrect", Repository.State.REBASING, state);
|
||||
}
|
||||
|
||||
public void test_large_packed_refs() {
|
||||
File pluginRoot = new File(PluginPathManager.getPluginHomePath("git4idea"));
|
||||
File dataDir = new File(new File(pluginRoot, "testData"), "repo");
|
||||
|
||||
File gitDir = new File(myRepo.getRoot().getPath(), ".git");
|
||||
cd(dataDir.getPath());
|
||||
cp("packed-refs", gitDir);
|
||||
|
||||
GitRepositoryReader reader = new GitRepositoryReader(gitDir);
|
||||
reader.readBranches(Collections.<GitRemote>emptyList());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user