test++
authorDmitry Jemerov <yole@intellij.com>
Thu, 10 Sep 2009 17:12:58 +0000 (21:12 +0400)
committerDmitry Jemerov <yole@intellij.com>
Thu, 10 Sep 2009 17:12:58 +0000 (21:12 +0400)
java/java-tests/testData/refactoring/introduceConstant/EnumConstant.java [moved from testData/refactoring/introduceConstant/EnumConstant.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/EnumConstant_after.java [moved from testData/refactoring/introduceConstant/EnumConstant_after.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/InNonNls.java [moved from testData/refactoring/introduceConstant/InNonNls.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/InNonNls_after.java [moved from testData/refactoring/introduceConstant/InNonNls_after.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/PartialStringLiteral.java [moved from testData/refactoring/introduceConstant/PartialStringLiteral.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/PartialStringLiteralQualified.java [moved from testData/refactoring/introduceConstant/PartialStringLiteralQualified.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/PartialStringLiteralQualified_after.java [moved from testData/refactoring/introduceConstant/PartialStringLiteralQualified_after.java with 100% similarity]
java/java-tests/testData/refactoring/introduceConstant/PartialStringLiteral_after.java [moved from testData/refactoring/introduceConstant/PartialStringLiteral_after.java with 100% similarity]
java/java-tests/testSrc/com/intellij/refactoring/IntroduceConstantTest.java [moved from refactoring/tests/com/intellij/refactoring/IntroduceConstantTest.java with 94% similarity]
java/java-tests/testSrc/com/intellij/refactoring/MockIntroduceConstantHandler.java [moved from refactoring/tests/com/intellij/refactoring/MockIntroduceConstantHandler.java with 100% similarity]
java/java-tests/testSrc/com/intellij/refactoring/MockLocalToFieldHandler.java [moved from refactoring/tests/com/intellij/refactoring/MockLocalToFieldHandler.java with 100% similarity]

similarity index 94%
rename from refactoring/tests/com/intellij/refactoring/IntroduceConstantTest.java
rename to java/java-tests/testSrc/com/intellij/refactoring/IntroduceConstantTest.java
index 92c07f2ea42a8c68def2073ba4d3cd1c88cffefe..90b93a7ecb6c488ffd166ae19720460d3029a0f6 100644 (file)
@@ -1,5 +1,6 @@
 package com.intellij.refactoring;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.codeInsight.CodeInsightTestCase;
 import com.intellij.openapi.projectRoots.Sdk;
 import com.intellij.openapi.projectRoots.impl.JavaSdkImpl;
@@ -16,6 +17,11 @@ import org.jetbrains.annotations.NonNls;
 public class IntroduceConstantTest extends CodeInsightTestCase {
   @NonNls private static final String BASE_PATH = "/refactoring/introduceConstant/";
 
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
   public void testInNonNls() throws Exception {
     doTest(false);
   }