package com;

import com.intellij.openapi.application.PathManager;
import com.intellij.testFramework.InspectionTestCase;

/**
 * @author Alexey
 */
public abstract class IGInspectionTestCase extends InspectionTestCase {
  protected String getTestDataPath() {
      return PathManager.getHomePath() + "/svnPlugins/InspectionGadgets/test";
  }
}

@@ -7,16 +7,138 @@
 e com;%0A%0A
+import com.intellij.codeInspection.LocalInspectionTool;%0Aimport com.intellij.codeInspection.ex.LocalInspectionToolWrapper;%0A
 import c
@@ -178,24 +178,24 @@
 athManager;%0A
-
 import com.i
@@ -235,16 +235,57 @@
 estCase;
+%0Aimport org.jetbrains.annotations.NonNls;
 %0A%0A/**%0A *
@@ -415,16 +415,16 @@
 ath() %7B%0A
-
       re
@@ -497,11 +497,201 @@
 st%22;%0A  %7D
+%0A%0A  public void doTest(@NonNls final String folderName, final LocalInspectionTool tool) throws Exception %7B%0A    super.doTest(folderName, new LocalInspectionToolWrapper(tool), %22java 1.5%22);%0A  %7D
 %0A%7D%0A

Fix IG tests.