protected void tearDown() throws Exception {
   FileSetTestCase.this.tearDown();
   try {
     super.tearDown();
   } catch (IllegalArgumentException ignore) {
   }
 }
 @Override
 public void setUp() throws Exception {
   super.setUp();
   doTest(
       "@interface A { int i() default 42; }\n class C { void m(int p) throws E { } }",
       null); // warm up
   LanguageLevelProjectExtension.getInstance(getProject()).setLanguageLevel(LanguageLevel.HIGHEST);
 }
  protected void setUp() throws Exception {
    super.setUp();
    myTempDir = FileUtil.createTempDirectory("GitRepositoryReaderTest", null);

    File pluginRoot = new File(PluginPathManager.getPluginHomePath("git4idea"));
    File dataDir = new File(new File(pluginRoot, "testData"), "repo");

    FileUtil.copyDir(dataDir, myTempDir);
    myGitDir = new File(myTempDir, ".git");
    FileUtil.rename(new File(myTempDir, "dot_git"), myGitDir);
    assertTrue(myGitDir.exists());
    myRepositoryReader = new GitRepositoryReader(myGitDir);

    myLocalBranches = readBranches(true);
    myRemoteBranches = readBranches(false);
  }
 @Override
 protected void setUp() throws Exception {
   super.setUp();
   LanguageLevelProjectExtension.getInstance(getProject()).setLanguageLevel(LanguageLevel.HIGHEST);
 }
 protected void setUp() throws Exception {
   super.setUp();
   FileSetTestCase.this.setUp();
 }
 protected void tearDown() throws Exception {
   FileUtil.delete(myTempDir);
   super.tearDown();
 }