moving tests to CE
authorDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 16:50:41 +0000 (20:50 +0400)
committerDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 16:50:41 +0000 (20:50 +0400)
java/java-tests/testData/inspection/duplicateThrows/simple/expected.xml [moved from testData/inspection/duplicateThrows/simple/expected.xml with 100% similarity]
java/java-tests/testData/inspection/duplicateThrows/simple/src/X.java [moved from testData/inspection/duplicateThrows/simple/src/X.java with 100% similarity]
java/java-tests/testSrc/com/intellij/codeInspection/DuplicateThrowsInspectionTest.java [moved from inspections/tests/com/intellij/codeInspection/DuplicateThrowsInspectionTest.java with 74% similarity]

similarity index 74%
rename from inspections/tests/com/intellij/codeInspection/DuplicateThrowsInspectionTest.java
rename to java/java-tests/testSrc/com/intellij/codeInspection/DuplicateThrowsInspectionTest.java
index 8657f91f61c4512ab184139d44cce959d480f27a..71a6ebb3100af9eeb697e265e6ae78abedf321dc 100644 (file)
@@ -1,9 +1,15 @@
 package com.intellij.codeInspection;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.codeInspection.duplicateThrows.DuplicateThrowsInspection;
 import com.intellij.testFramework.InspectionTestCase;
 
 public class DuplicateThrowsInspectionTest extends InspectionTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath() + "/inspection";
+  }
+
   private void doTest() throws Exception {
     doTest("duplicateThrows/" + getTestName(true), new DuplicateThrowsInspection());
   }