run tests on module classpath: Inspection Gadgets
[idea/community.git] / 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";
   }