mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs tests: cd to testRoot to initialize the current dir tracker
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user