vcs tests: cd to testRoot to initialize the current dir tracker

This commit is contained in:
Kirill Likhodedov
2017-11-16 19:11:12 +03:00
parent 58daf62ae1
commit f998647aea
@@ -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<VcsNotifier, TestVcsNotifier>(project)
vcsNotifier = project.service<VcsNotifier>() as TestVcsNotifier
cd(testRoot)
}
@Throws(Exception::class)