moving tests to CE
authorDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 17:04:16 +0000 (21:04 +0400)
committerDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 17:04:16 +0000 (21:04 +0400)
22 files changed:
java/java-tests/testData/inspection/javaDocInspection/doubleMissedTags/expected.xml [moved from testData/inspection/javaDocInspection/doubleMissedTags/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/doubleMissedTags/src/Foo.java [moved from testData/inspection/javaDocInspection/doubleMissedTags/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateDeprecated/expected.xml [moved from testData/inspection/javaDocInspection/duplicateDeprecated/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateDeprecated/src/Foo.java [moved from testData/inspection/javaDocInspection/duplicateDeprecated/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateParam/expected.xml [moved from testData/inspection/javaDocInspection/duplicateParam/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateParam/src/Foo.java [moved from testData/inspection/javaDocInspection/duplicateParam/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateReturn/expected.xml [moved from testData/inspection/javaDocInspection/duplicateReturn/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateReturn/src/Foo.java [moved from testData/inspection/javaDocInspection/duplicateReturn/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateSerial/expected.xml [moved from testData/inspection/javaDocInspection/duplicateSerial/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateSerial/src/Foo.java [moved from testData/inspection/javaDocInspection/duplicateSerial/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateThrows/expected.xml [moved from testData/inspection/javaDocInspection/duplicateThrows/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/duplicateThrows/src/Foo.java [moved from testData/inspection/javaDocInspection/duplicateThrows/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/genericsParams/expected.xml [moved from testData/inspection/javaDocInspection/genericsParams/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/genericsParams/src/Foo.java [moved from testData/inspection/javaDocInspection/genericsParams/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/misorderedThrowsTag/expected.xml [moved from testData/inspection/javaDocInspection/misorderedThrowsTag/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/misorderedThrowsTag/src/Test.java [moved from testData/inspection/javaDocInspection/misorderedThrowsTag/src/Test.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/missedTags/expected.xml [moved from testData/inspection/javaDocInspection/missedTags/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/missedTags/src/Bar.java [moved from testData/inspection/javaDocInspection/missedTags/src/Bar.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/missedTags/src/Foo.java [moved from testData/inspection/javaDocInspection/missedTags/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/missedThrowsTag/expected.xml [moved from testData/inspection/javaDocInspection/missedThrowsTag/expected.xml with 100% similarity]
java/java-tests/testData/inspection/javaDocInspection/missedThrowsTag/src/Test.java [moved from testData/inspection/javaDocInspection/missedThrowsTag/src/Test.java with 100% similarity]
java/java-tests/testSrc/com/intellij/codeInspection/JavaDocInspectionTest.java [moved from inspections/tests/com/intellij/codeInspection/JavaDocInspectionTest.java with 88% similarity]

similarity index 88%
rename from inspections/tests/com/intellij/codeInspection/JavaDocInspectionTest.java
rename to java/java-tests/testSrc/com/intellij/codeInspection/JavaDocInspectionTest.java
index 0e98a76e6a29f0c2db0cef53cf6432ff505c4bdd..c9a0ff19ae3ef320a0b75111f612fef9374adf44 100644 (file)
@@ -1,9 +1,15 @@
 package com.intellij.codeInspection;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.codeInspection.javaDoc.JavaDocLocalInspection;
 import com.intellij.testFramework.InspectionTestCase;
 
 public class JavaDocInspectionTest extends InspectionTestCase {
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath() + "/inspection";
+  }
+
   private void doTest() throws Exception {
     doTest("javaDocInspection/" + getTestName(true),  new JavaDocLocalInspection());
   }