mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Move the base vcs root test to other tests & rename
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
+2
-2
@@ -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);
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user