From e3f07b98832f519ea0735fea52585d4f08360860 Mon Sep 17 00:00:00 2001 From: Konstantin Kolosovsky Date: Mon, 30 Jul 2018 20:33:15 +0300 Subject: [PATCH] svn: Refactor "SvnTestCase.tearDown()" - simplify test directories deletion Both working copy and repository directories will be deleted by "TempDirTestFixture.tearDown()" --- .../testSource/org/jetbrains/idea/svn/SvnTestCase.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnTestCase.java b/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnTestCase.java index f043e31cc905..58cba0fbfdc4 100644 --- a/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnTestCase.java +++ b/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnTestCase.java @@ -207,13 +207,6 @@ public abstract class SvnTestCase extends AbstractJunitVcsTestCase { runInEdtAndWait(() -> { tearDownProject(); - if (myWcRoot != null && myWcRoot.exists()) { - delete(myWcRoot); - } - if (myRepoRoot != null && myRepoRoot.exists()) { - delete(myRepoRoot); - } - if (myTempDirFixture != null) { myTempDirFixture.tearDown(); myTempDirFixture = null;