From 8a2f5ad0d18fdbed2128292b4c8839f8d2f7a99b Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 28 Sep 2009 14:59:37 +0400 Subject: [PATCH] [accurately] updating test data path from svnPlugins to community/plugins , svnPlugins -> plugins --- .../xpath-lang/test/org/intellij/lang/xpath/TestBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/xpath/xpath-lang/test/org/intellij/lang/xpath/TestBase.java b/plugins/xpath/xpath-lang/test/org/intellij/lang/xpath/TestBase.java index 22923f3d88cd..d92550e135cf 100644 --- a/plugins/xpath/xpath-lang/test/org/intellij/lang/xpath/TestBase.java +++ b/plugins/xpath/xpath-lang/test/org/intellij/lang/xpath/TestBase.java @@ -1,6 +1,6 @@ package org.intellij.lang.xpath; -import com.intellij.openapi.application.PathManager; +import com.intellij.openapi.application.PluginPathManager; import com.intellij.testFramework.fixtures.CodeInsightTestFixture; import com.intellij.testFramework.fixtures.IdeaProjectTestFixture; import com.intellij.testFramework.fixtures.JavaTestFixtureFactory; @@ -27,7 +27,7 @@ public abstract class TestBase extends TestCase { private String getTestDataPath() { // path logic taken from RegExpSupport tests - final String def = PathManager.getHomePath() + "/svnPlugins/xpath/xpath-lang/testData"; + final String def = PluginPathManager.getPluginHomePath("xpath") + "/xpath-lang/testData"; return System.getProperty("idea.xpath.testdata-path", def) + "/" + getSubPath(); }