Move the base vcs root test to other tests & rename

This commit is contained in:
Kirill Likhodedov
2017-03-20 22:30:22 +00:00
parent b907dd1027
commit f4eef1cba2
5 changed files with 6 additions and 6 deletions
@@ -32,7 +32,7 @@ import java.io.File;
import java.util.Collection;
import java.util.List;
public class VcsIntegrationEnablerTest extends VcsRootPlatformTest {
public class VcsIntegrationEnablerTest extends VcsRootBaseTest {
private VirtualFile myTestRoot;
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@ import java.util.HashSet;
import static com.intellij.openapi.vcs.Executor.cd;
import static com.intellij.openapi.vcs.Executor.mkdir;
public abstract class VcsRootPlatformTest extends UsefulTestCase {
public abstract class VcsRootBaseTest extends UsefulTestCase {
public static final String DOT_MOCK = ".mock";
@@ -41,7 +41,7 @@ import static com.intellij.openapi.vcs.Executor.mkdir;
* @author Nadya Zabrodina
*/
public class VcsRootDetectorTest extends VcsRootPlatformTest {
public class VcsRootDetectorTest extends VcsRootBaseTest {
public void testNoRootsInProject() throws IOException {
doTest(new VcsRootConfiguration(), null);
@@ -31,7 +31,7 @@ import java.util.Collection;
/**
* @author Nadya Zabrodina
*/
public class VcsRootErrorsFinderTest extends VcsRootPlatformTest {
public class VcsRootErrorsFinderTest extends VcsRootBaseTest {
static final String PROJECT = VcsDirectoryMapping.PROJECT_CONSTANT;
@@ -36,7 +36,7 @@ import com.intellij.openapi.util.io.FileUtil.toSystemDependentName
import com.intellij.openapi.vcs.VcsConfiguration
import com.intellij.openapi.vcs.VcsRootChecker
import com.intellij.openapi.vcs.changes.committed.MockAbstractVcs
import com.intellij.openapi.vcs.roots.VcsRootPlatformTest.DOT_MOCK
import com.intellij.openapi.vcs.roots.VcsRootBaseTest.DOT_MOCK
import com.intellij.openapi.vfs.LocalFileSystem
import com.intellij.vcs.test.VcsPlatformTest
import com.intellij.vcsUtil.VcsUtil.getFilePath