From f998647aeabf05d3be65c301bc0213498bcaad63 Mon Sep 17 00:00:00 2001 From: Kirill Likhodedov Date: Thu, 16 Nov 2017 19:05:36 +0300 Subject: [PATCH] vcs tests: cd to testRoot to initialize the current dir tracker --- .../vcs-tests/testSrc/com/intellij/vcs/test/VcsPlatformTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/vcs-tests/testSrc/com/intellij/vcs/test/VcsPlatformTest.kt b/platform/vcs-tests/testSrc/com/intellij/vcs/test/VcsPlatformTest.kt index 3be3988291ba..24ae3929c699 100644 --- a/platform/vcs-tests/testSrc/com/intellij/vcs/test/VcsPlatformTest.kt +++ b/platform/vcs-tests/testSrc/com/intellij/vcs/test/VcsPlatformTest.kt @@ -25,6 +25,7 @@ import com.intellij.openapi.progress.ProgressIndicator import com.intellij.openapi.progress.ProgressManager import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi.util.text.StringUtil +import com.intellij.openapi.vcs.Executor.cd import com.intellij.openapi.vcs.ProjectLevelVcsManager import com.intellij.openapi.vcs.TestVcsNotifier import com.intellij.openapi.vcs.VcsNotifier @@ -80,6 +81,7 @@ abstract class VcsPlatformTest : PlatformTestCase() { vcsNotifier = overrideService(project) vcsNotifier = project.service() as TestVcsNotifier + cd(testRoot) } @Throws(Exception::class)