test++
authorDmitry Jemerov <yole@intellij.com>
Fri, 11 Sep 2009 12:52:51 +0000 (16:52 +0400)
committerDmitry Jemerov <yole@intellij.com>
Fri, 11 Sep 2009 12:52:51 +0000 (16:52 +0400)
31 files changed:
java/java-tests/testData/refactoring/renameClass/collision/after/pack1/List.java [moved from testData/refactoring/renameClass/collision/after/pack1/List.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision/after/pack2/Usage.java [moved from testData/refactoring/renameClass/collision/after/pack2/Usage.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision/after/pack2/Usage2.java [moved from testData/refactoring/renameClass/collision/after/pack2/Usage2.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision/before/pack1/MyList.java [moved from testData/refactoring/renameClass/collision/before/pack1/MyList.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision/before/pack2/Usage.java [moved from testData/refactoring/renameClass/collision/before/pack2/Usage.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision/before/pack2/Usage2.java [moved from testData/refactoring/renameClass/collision/before/pack2/Usage2.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision1/after/Test.java [moved from testData/refactoring/renameClass/collision1/after/Test.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/collision1/before/Test.java [moved from testData/refactoring/renameClass/collision1/before/Test.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/constructorJavadoc/after/Test1.java [moved from testData/refactoring/renameClass/constructorJavadoc/after/Test1.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/constructorJavadoc/before/Test.java [moved from testData/refactoring/renameClass/constructorJavadoc/before/Test.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitReferenceToDefaultCtr/after/pack1/Derived.java [moved from testData/refactoring/renameClass/implicitReferenceToDefaultCtr/after/pack1/Derived.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitReferenceToDefaultCtr/after/pack1/ParentXXX.java [moved from testData/refactoring/renameClass/implicitReferenceToDefaultCtr/after/pack1/ParentXXX.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitReferenceToDefaultCtr/before/pack1/Derived.java [moved from testData/refactoring/renameClass/implicitReferenceToDefaultCtr/before/pack1/Derived.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitReferenceToDefaultCtr/before/pack1/Parent.java [moved from testData/refactoring/renameClass/implicitReferenceToDefaultCtr/before/pack1/Parent.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitlyImported/after/B.java [moved from testData/refactoring/renameClass/implicitlyImported/after/B.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitlyImported/after/pack1/Object.java [moved from testData/refactoring/renameClass/implicitlyImported/after/pack1/Object.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitlyImported/before/B.java [moved from testData/refactoring/renameClass/implicitlyImported/before/B.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/implicitlyImported/before/pack1/A.java [moved from testData/refactoring/renameClass/implicitlyImported/before/pack1/A.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/import/after/FooBar.java [moved from testData/refactoring/renameClass/import/after/FooBar.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/import/after/a/BlubFoo.java [moved from testData/refactoring/renameClass/import/after/a/BlubFoo.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/import/before/FooBar.java [moved from testData/refactoring/renameClass/import/before/FooBar.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/import/before/a/Blubfoo.java [moved from testData/refactoring/renameClass/import/before/a/Blubfoo.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/innerClass/after/pack1/OuterClass.java [moved from testData/refactoring/renameClass/innerClass/after/pack1/OuterClass.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/innerClass/after/qqq.txt [moved from testData/refactoring/renameClass/innerClass/after/qqq.txt with 100% similarity]
java/java-tests/testData/refactoring/renameClass/innerClass/before/pack1/OuterClass.java [moved from testData/refactoring/renameClass/innerClass/before/pack1/OuterClass.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/innerClass/before/qqq.txt [moved from testData/refactoring/renameClass/innerClass/before/qqq.txt with 100% similarity]
java/java-tests/testData/refactoring/renameClass/nonJava/after/pack1/Class1New.java [moved from testData/refactoring/renameClass/nonJava/after/pack1/Class1New.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/nonJava/after/qqq.txt [moved from testData/refactoring/renameClass/nonJava/after/qqq.txt with 100% similarity]
java/java-tests/testData/refactoring/renameClass/nonJava/before/pack1/Class1.java [moved from testData/refactoring/renameClass/nonJava/before/pack1/Class1.java with 100% similarity]
java/java-tests/testData/refactoring/renameClass/nonJava/before/qqq.txt [moved from testData/refactoring/renameClass/nonJava/before/qqq.txt with 100% similarity]
java/java-tests/testSrc/com/intellij/refactoring/RenameClassTest.java [moved from refactoring/tests/com/intellij/refactoring/RenameClassTest.java with 93% similarity]

similarity index 93%
rename from refactoring/tests/com/intellij/refactoring/RenameClassTest.java
rename to java/java-tests/testSrc/com/intellij/refactoring/RenameClassTest.java
index 9454031c81c589a8d37d371bfc3efd0ad583d313..fb1ba50ddebc9650fcdae5885f42143b8b2922ec 100644 (file)
@@ -5,9 +5,15 @@ import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.psi.PsiClass;
 import com.intellij.psi.PsiDocumentManager;
 import com.intellij.refactoring.rename.RenameProcessor;
+import com.intellij.JavaTestUtil;
 import org.jetbrains.annotations.NonNls;
 
 public class RenameClassTest extends MultiFileTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
   public void testNonJava() throws Exception {
     doTest("pack1.Class1", "Class1New");
   }