test++
authorDmitry Jemerov <yole@intellij.com>
Thu, 10 Sep 2009 16:25:31 +0000 (20:25 +0400)
committerDmitry Jemerov <yole@intellij.com>
Thu, 10 Sep 2009 16:25:31 +0000 (20:25 +0400)
40 files changed:
java/java-tests/testData/refactoring/extractMethodObject/FieldUsage.java [moved from testData/refactoring/extractMethodObject/FieldUsage.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/FieldUsage.java.after [moved from testData/refactoring/extractMethodObject/FieldUsage.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/MethodInHierarchy.java [moved from testData/refactoring/extractMethodObject/MethodInHierarchy.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/MethodInHierarchy.java.after [moved from testData/refactoring/extractMethodObject/MethodInHierarchy.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/MethodInHierarchyReturn.java [moved from testData/refactoring/extractMethodObject/MethodInHierarchyReturn.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/MethodInHierarchyReturn.java.after [moved from testData/refactoring/extractMethodObject/MethodInHierarchyReturn.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Qualifier.java [moved from testData/refactoring/extractMethodObject/Qualifier.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Qualifier.java.after [moved from testData/refactoring/extractMethodObject/Qualifier.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Recursion.java [moved from testData/refactoring/extractMethodObject/Recursion.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Recursion.java.after [moved from testData/refactoring/extractMethodObject/Recursion.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Static.java [moved from testData/refactoring/extractMethodObject/Static.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Static.java.after [moved from testData/refactoring/extractMethodObject/Static.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParams.java [moved from testData/refactoring/extractMethodObject/StaticTypeParams.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParams.java.after [moved from testData/refactoring/extractMethodObject/StaticTypeParams.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParamsRecursive.java [moved from testData/refactoring/extractMethodObject/StaticTypeParamsRecursive.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParamsRecursive.java.after [moved from testData/refactoring/extractMethodObject/StaticTypeParamsRecursive.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParamsReturn.java [moved from testData/refactoring/extractMethodObject/StaticTypeParamsReturn.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParamsReturn.java.after [moved from testData/refactoring/extractMethodObject/StaticTypeParamsReturn.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParamsReturnNoDelete.java [moved from testData/refactoring/extractMethodObject/StaticTypeParamsReturnNoDelete.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/StaticTypeParamsReturnNoDelete.java.after [moved from testData/refactoring/extractMethodObject/StaticTypeParamsReturnNoDelete.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/TypeParams.java [moved from testData/refactoring/extractMethodObject/TypeParams.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/TypeParams.java.after [moved from testData/refactoring/extractMethodObject/TypeParams.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/TypeParamsReturn.java [moved from testData/refactoring/extractMethodObject/TypeParamsReturn.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/TypeParamsReturn.java.after [moved from testData/refactoring/extractMethodObject/TypeParamsReturn.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Varargs.java [moved from testData/refactoring/extractMethodObject/Varargs.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/Varargs.java.after [moved from testData/refactoring/extractMethodObject/Varargs.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/WrapWithObject.java [moved from testData/refactoring/extractMethodObject/WrapWithObject.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/WrapWithObject.java.after [moved from testData/refactoring/extractMethodObject/WrapWithObject.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/WrapWithObjectRecursive.java [moved from testData/refactoring/extractMethodObject/WrapWithObjectRecursive.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/WrapWithObjectRecursive.java.after [moved from testData/refactoring/extractMethodObject/WrapWithObjectRecursive.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/InputOutput.java [moved from testData/refactoring/extractMethodObject/multipleExitPoints/InputOutput.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/InputOutput.java.after [moved from testData/refactoring/extractMethodObject/multipleExitPoints/InputOutput.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/MultilineDeclarations.java [moved from testData/refactoring/extractMethodObject/multipleExitPoints/MultilineDeclarations.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/MultilineDeclarations.java.after [moved from testData/refactoring/extractMethodObject/multipleExitPoints/MultilineDeclarations.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/OutputVarsReferences.java [moved from testData/refactoring/extractMethodObject/multipleExitPoints/OutputVarsReferences.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/OutputVarsReferences.java.after [moved from testData/refactoring/extractMethodObject/multipleExitPoints/OutputVarsReferences.java.after with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/StaticInner.java [moved from testData/refactoring/extractMethodObject/multipleExitPoints/StaticInner.java with 100% similarity]
java/java-tests/testData/refactoring/extractMethodObject/multipleExitPoints/StaticInner.java.after [moved from testData/refactoring/extractMethodObject/multipleExitPoints/StaticInner.java.after with 100% similarity]
java/java-tests/testSrc/com/intellij/refactoring/ExtractMethodObjectTest.java [moved from refactoring/tests/com/intellij/refactoring/ExtractMethodObjectTest.java with 95% similarity]
java/java-tests/testSrc/com/intellij/refactoring/ExtractMethodObjectWithMultipleExitPointsTest.java [moved from refactoring/tests/com/intellij/refactoring/ExtractMethodObjectWithMultipleExitPointsTest.java with 94% similarity]

similarity index 95%
rename from refactoring/tests/com/intellij/refactoring/ExtractMethodObjectTest.java
rename to java/java-tests/testSrc/com/intellij/refactoring/ExtractMethodObjectTest.java
index 3a108a117db47f59321b0955d84256a785326c8e..cb3c1230c0218b0a6556f1ffa0c2ce6e00113f29 100644 (file)
@@ -10,8 +10,13 @@ import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiMethod;
 import com.intellij.refactoring.extractMethodObject.ExtractMethodObjectProcessor;
 import com.intellij.refactoring.util.duplicates.DuplicatesImpl;
+import com.intellij.JavaTestUtil;
 
 public class ExtractMethodObjectTest extends CodeInsightTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
 
   private void doTest() throws Exception {
     doTest(true);
similarity index 94%
rename from refactoring/tests/com/intellij/refactoring/ExtractMethodObjectWithMultipleExitPointsTest.java
rename to java/java-tests/testSrc/com/intellij/refactoring/ExtractMethodObjectWithMultipleExitPointsTest.java
index a6b72cba1aee3f18dcbca871e4542314e0edf74e..db68bebf6b27764fdfcea3d5795ac2e1090a9a1b 100644 (file)
@@ -10,8 +10,13 @@ import com.intellij.psi.PsiElement;
 import com.intellij.psi.PsiExpression;
 import com.intellij.refactoring.extractMethodObject.ExtractMethodObjectProcessor;
 import com.intellij.refactoring.util.duplicates.DuplicatesImpl;
+import com.intellij.JavaTestUtil;
 
 public class ExtractMethodObjectWithMultipleExitPointsTest extends CodeInsightTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
 
   private void doTest() throws Exception {
     doTest(true);