<commit_before>package com;

import com.intellij.codeInspection.LocalInspectionTool;
import com.intellij.codeInspection.ex.LocalInspectionToolWrapper;
import com.intellij.openapi.application.PluginPathManager;
import com.intellij.testFramework.InspectionTestCase;
import org.jetbrains.annotations.NonNls;

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

  public void doTest(@NonNls final String folderName, final LocalInspectionTool tool) throws Exception {
    super.doTest(folderName, new LocalInspectionToolWrapper(tool), "java 1.5");
  }
}
<commit_msg>run tests on module classpath: Inspection Gadgets<commit_after>package com;

import com.intellij.codeInspection.LocalInspectionTool;
import com.intellij.codeInspection.ex.LocalInspectionToolWrapper;
import com.intellij.openapi.application.PluginPathManager;
import com.intellij.testFramework.InspectionTestCase;
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";
  }

  public void doTest(@NonNls final String folderName, final LocalInspectionTool tool) throws Exception {
    super.doTest(folderName, new LocalInspectionToolWrapper(tool), "java 1.5");
  }
}

{'fraction_non_alphanumeric': 0.09331727874774233, 'fraction_numerical': 0.002408187838651415, 'mean_word_length': 6.386666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5526614', 'n_tokens_mistral': 510, 'n_tokens_neox': 495, 'n_words': 95}