mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
svn: Refactor "SvnTestCase.tearDown()" - simplify test directories deletion
Both working copy and repository directories will be deleted by "TempDirTestFixture.tearDown()"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user