moving tests to CE
authorDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 17:34:06 +0000 (21:34 +0400)
committerDmitry Jemerov <yole@intellij.com>
Fri, 25 Sep 2009 17:34:06 +0000 (21:34 +0400)
37 files changed:
java/java-tests/testData/inspection/visibility/IDEADEV10312/expected.xml [moved from testData/inspection/visibility/IDEADEV10312/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/IDEADEV10312/ext_src/weaker/b/B.java [moved from testData/inspection/visibility/IDEADEV10312/ext_src/weaker/b/B.java with 100% similarity]
java/java-tests/testData/inspection/visibility/IDEADEV10312/src/weaker/a/A.java [moved from testData/inspection/visibility/IDEADEV10312/src/weaker/a/A.java with 100% similarity]
java/java-tests/testData/inspection/visibility/IDEADEV10883/expected.xml [moved from testData/inspection/visibility/IDEADEV10883/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/IDEADEV10883/src/Bar.java [moved from testData/inspection/visibility/IDEADEV10883/src/Bar.java with 100% similarity]
java/java-tests/testData/inspection/visibility/IDEADEV10883/src/Foo.java [moved from testData/inspection/visibility/IDEADEV10883/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR11792/expected.xml [moved from testData/inspection/visibility/SCR11792/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR11792/src/Foo.java [moved from testData/inspection/visibility/SCR11792/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR5008/expected.xml [moved from testData/inspection/visibility/SCR5008/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR5008/src/marti/p1/SubClass.java [moved from testData/inspection/visibility/SCR5008/src/marti/p1/SubClass.java with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR5008/src/marti/p1/SuperClass.java [moved from testData/inspection/visibility/SCR5008/src/marti/p1/SuperClass.java with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR6856/expected.xml [moved from testData/inspection/visibility/SCR6856/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/SCR6856/src/A.java [moved from testData/inspection/visibility/SCR6856/src/A.java with 100% similarity]
java/java-tests/testData/inspection/visibility/annotationUsages/expected.xml [moved from testData/inspection/visibility/annotationUsages/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/annotationUsages/src/Observer.java [moved from testData/inspection/visibility/annotationUsages/src/Observer.java with 100% similarity]
java/java-tests/testData/inspection/visibility/annotationUsages/src/Test.java [moved from testData/inspection/visibility/annotationUsages/src/Test.java with 100% similarity]
java/java-tests/testData/inspection/visibility/annotationUsages/src/Usage.java [moved from testData/inspection/visibility/annotationUsages/src/Usage.java with 100% similarity]
java/java-tests/testData/inspection/visibility/defaultConstructor/expected.xml [moved from testData/inspection/visibility/defaultConstructor/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/defaultConstructor/ext_src/res.xml [moved from testData/inspection/visibility/defaultConstructor/ext_src/res.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/defaultConstructor/src/Test.java [moved from testData/inspection/visibility/defaultConstructor/src/Test.java with 100% similarity]
java/java-tests/testData/inspection/visibility/enumConstantsVisibility/expected.xml [moved from testData/inspection/visibility/enumConstantsVisibility/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/enumConstantsVisibility/src/Foo.java [moved from testData/inspection/visibility/enumConstantsVisibility/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/visibility/implicitConstructor/expected.xml [moved from testData/inspection/visibility/implicitConstructor/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/implicitConstructor/ext_src/res.xml [moved from testData/inspection/visibility/implicitConstructor/ext_src/res.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/implicitConstructor/src/Test.java [moved from testData/inspection/visibility/implicitConstructor/src/Test.java with 100% similarity]
java/java-tests/testData/inspection/visibility/innerConstructor/expected.xml [moved from testData/inspection/visibility/innerConstructor/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/innerConstructor/src/Foo.java [moved from testData/inspection/visibility/innerConstructor/src/Foo.java with 100% similarity]
java/java-tests/testData/inspection/visibility/packageLevelTops/expected.xml [moved from testData/inspection/visibility/packageLevelTops/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/packageLevelTops/src/package1/PackageLevelServer.java [moved from testData/inspection/visibility/packageLevelTops/src/package1/PackageLevelServer.java with 100% similarity]
java/java-tests/testData/inspection/visibility/packageLevelTops/src/package1/PublicServer.java [moved from testData/inspection/visibility/packageLevelTops/src/package1/PublicServer.java with 100% similarity]
java/java-tests/testData/inspection/visibility/packageLevelTops/src/package2/Client.java [moved from testData/inspection/visibility/packageLevelTops/src/package2/Client.java with 100% similarity]
java/java-tests/testData/inspection/visibility/typeArguments/expected.xml [moved from testData/inspection/visibility/typeArguments/expected.xml with 100% similarity]
java/java-tests/testData/inspection/visibility/typeArguments/src/AbstractSetup.java [moved from testData/inspection/visibility/typeArguments/src/AbstractSetup.java with 100% similarity]
java/java-tests/testData/inspection/visibility/typeArguments/src/AbstractSetupParams.java [moved from testData/inspection/visibility/typeArguments/src/AbstractSetupParams.java with 100% similarity]
java/java-tests/testData/inspection/visibility/typeArguments/src/ChildClass.java [moved from testData/inspection/visibility/typeArguments/src/ChildClass.java with 100% similarity]
java/java-tests/testData/inspection/visibility/typeArguments/src/Superclass.java [moved from testData/inspection/visibility/typeArguments/src/Superclass.java with 100% similarity]
java/java-tests/testSrc/com/intellij/codeInspection/VisibilityInspectionTest.java [moved from inspections/tests/com/intellij/codeInspection/VisibilityInspectionTest.java with 95% similarity]

similarity index 95%
rename from inspections/tests/com/intellij/codeInspection/VisibilityInspectionTest.java
rename to java/java-tests/testSrc/com/intellij/codeInspection/VisibilityInspectionTest.java
index dda5cb7260f555fbcb501fbb63e3b99cad542f90..4eb8bd32ef398b4b306a0aac6319e7e699927228 100644 (file)
@@ -1,10 +1,17 @@
 package com.intellij.codeInspection;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.codeInspection.visibility.VisibilityInspection;
 import com.intellij.testFramework.InspectionTestCase;
 
 public class VisibilityInspectionTest extends InspectionTestCase {
   private final VisibilityInspection myTool = new VisibilityInspection();
+
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath() + "/inspection";
+  }
+
   private void doTest() throws Exception {
     doTest("visibility/" + getTestName(false), myTool);
   }