moving tests to CE
authorDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 16:58:23 +0000 (20:58 +0400)
committerDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 16:58:23 +0000 (20:58 +0400)
13 files changed:
java/java-tests/testData/inspection/quickFix/SameParameterValue/after1.java [moved from testData/inspection/quickFix/SameParameterValue/after1.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/after2.java [moved from testData/inspection/quickFix/SameParameterValue/after2.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/after3.java [moved from testData/inspection/quickFix/SameParameterValue/after3.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/after4.java [moved from testData/inspection/quickFix/SameParameterValue/after4.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/after5.java [moved from testData/inspection/quickFix/SameParameterValue/after5.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/after6.java [moved from testData/inspection/quickFix/SameParameterValue/after6.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/before1.java [moved from testData/inspection/quickFix/SameParameterValue/before1.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/before2.java [moved from testData/inspection/quickFix/SameParameterValue/before2.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/before3.java [moved from testData/inspection/quickFix/SameParameterValue/before3.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/before4.java [moved from testData/inspection/quickFix/SameParameterValue/before4.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/before5.java [moved from testData/inspection/quickFix/SameParameterValue/before5.java with 100% similarity]
java/java-tests/testData/inspection/quickFix/SameParameterValue/before6.java [moved from testData/inspection/quickFix/SameParameterValue/before6.java with 100% similarity]
java/java-tests/testSrc/com/intellij/codeInspection/InlineSameParameterValueTest.java [moved from inspections/tests/com/intellij/codeInspection/InlineSameParameterValueTest.java with 87% similarity]

similarity index 87%
rename from inspections/tests/com/intellij/codeInspection/InlineSameParameterValueTest.java
rename to java/java-tests/testSrc/com/intellij/codeInspection/InlineSameParameterValueTest.java
index 75ee390e596bdddd9c92034b9bd217d1431c45fd..c2c326d77c72edd52e10aa75726fabde629097f8 100644 (file)
@@ -4,12 +4,17 @@
  */
 package com.intellij.codeInspection;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.codeInsight.daemon.quickFix.LightQuickFixTestCase;
 import com.intellij.codeInspection.sameParameterValue.SameParameterValueInspection;
 import com.intellij.psi.PsiElement;
 import org.jetbrains.annotations.NonNls;
 
 public class InlineSameParameterValueTest extends LightQuickFixTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath() + "/inspection";
+  }
 
   public void test() throws Exception {
     doAllTests();
@@ -32,6 +37,6 @@ public class InlineSameParameterValueTest extends LightQuickFixTestCase {
 
   @NonNls
   protected String getBasePath() {
-    return "/inspection/quickFix/SameParameterValue";
+    return "/quickFix/SameParameterValue";
   }
 }
\ No newline at end of file