mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use policy for home path
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.testFramework.fixtures;
|
||||
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
import com.intellij.openapi.editor.Editor;
|
||||
import com.intellij.openapi.module.Module;
|
||||
import com.intellij.openapi.project.Project;
|
||||
@@ -74,7 +73,7 @@ public abstract class CodeInsightFixtureTestCase<T extends ModuleFixtureBuilder>
|
||||
*/
|
||||
@NonNls
|
||||
protected final String getTestDataPath() {
|
||||
String path = isCommunity() ? PlatformTestUtil.getCommunityPath() : PathManager.getHomePath();
|
||||
String path = isCommunity() ? PlatformTestUtil.getCommunityPath() : IdeaTestExecutionPolicy.getHomePathWithPolicy();
|
||||
return path.replace(File.separatorChar, '/') + getBasePath();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user