moving tests to CE
authorDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 16:49:14 +0000 (20:49 +0400)
committerDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 16:49:14 +0000 (20:49 +0400)
java/java-tests/testData/inspection/deprecation/deprecatedField/expected.xml [moved from testData/inspection/deprecation/deprecatedField/expected.xml with 100% similarity]
java/java-tests/testData/inspection/deprecation/deprecatedField/src/Test.java [moved from testData/inspection/deprecation/deprecatedField/src/Test.java with 100% similarity]
java/java-tests/testData/inspection/deprecation/deprecatedInner/expected.xml [moved from testData/inspection/deprecation/deprecatedInner/expected.xml with 100% similarity]
java/java-tests/testData/inspection/deprecation/deprecatedInner/src/Test.java [moved from testData/inspection/deprecation/deprecatedInner/src/Test.java with 100% similarity]
java/java-tests/testData/inspection/deprecation/deprecatedMethod/expected.xml [moved from testData/inspection/deprecation/deprecatedMethod/expected.xml with 100% similarity]
java/java-tests/testData/inspection/deprecation/deprecatedMethod/src/Test.java [moved from testData/inspection/deprecation/deprecatedMethod/src/Test.java with 100% similarity]
java/java-tests/testSrc/com/intellij/codeInspection/DeprecationInspectionTest.java [moved from inspections/tests/com/intellij/codeInspection/DeprecationInspectionTest.java with 81% similarity]

similarity index 81%
rename from inspections/tests/com/intellij/codeInspection/DeprecationInspectionTest.java
rename to java/java-tests/testSrc/com/intellij/codeInspection/DeprecationInspectionTest.java
index 5d313a24eac504360e081d7d37b3e9a4c554f4cc..f8254695922829cb1a253489945c18b2411a1d78 100644 (file)
@@ -4,6 +4,7 @@
 
 package com.intellij.codeInspection;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.codeInspection.deprecation.DeprecationInspection;
 import com.intellij.testFramework.InspectionTestCase;
 
@@ -11,6 +12,11 @@ import com.intellij.testFramework.InspectionTestCase;
  * @author max
  */
 public class DeprecationInspectionTest extends InspectionTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath() + "/inspection";
+  }
+
   private void doTest() throws Exception {
     doTest("deprecation/" + getTestName(true), new DeprecationInspection());
   }