run tests on module classpath: Inspection Gadgets
authorDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Mon, 26 Apr 2010 12:29:11 +0000 (16:29 +0400)
committerDmitry Avdeev <Dmitry.Avdeev@jetbrains.com>
Mon, 26 Apr 2010 12:29:11 +0000 (16:29 +0400)
plugins/InspectionGadgets/testsrc/com/IGInspectionTestCase.java

index 017fb3ff5e97997e6d2bee11d31e8b7d0182d47f..188869411d5e84f6146d789c3584171b157f1e43 100644 (file)
@@ -10,6 +10,12 @@ import org.jetbrains.annotations.NonNls;
  * @author Alexey
  */
 public abstract class IGInspectionTestCase extends InspectionTestCase {
+
+  @SuppressWarnings({"JUnitTestCaseWithNonTrivialConstructors"})
+  public IGInspectionTestCase() {
+    System.setProperty("idea.platform.prefix", "Idea");
+  }
+
   protected String getTestDataPath() {
       return PluginPathManager.getPluginHomePath("InspectionGadgets") + "/test";
   }