From f3ce6e80794ff3a234dbd8850c8501abda95cedb Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Wed, 11 Jul 2012 17:14:30 -0400 Subject: [PATCH] Fixes and adjustments to test suite --- tests/com/gitblit/tests/GitServletTest.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/com/gitblit/tests/GitServletTest.java b/tests/com/gitblit/tests/GitServletTest.java index 2f9a9c4..848a1d0 100644 --- a/tests/com/gitblit/tests/GitServletTest.java +++ b/tests/com/gitblit/tests/GitServletTest.java @@ -42,7 +42,6 @@ @BeforeClass public static void startGitblit() throws Exception { - deleteWorkingFolders(); started.set(GitBlitSuite.startGitblit()); } @@ -50,11 +49,11 @@ public static void stopGitblit() throws Exception { if (started.get()) { GitBlitSuite.stopGitblit(); + deleteWorkingFolders(); } - deleteWorkingFolders(); } - private static void deleteWorkingFolders() throws Exception { + public static void deleteWorkingFolders() throws Exception { if (ticgitFolder.exists()) { FileUtils.delete(ticgitFolder, FileUtils.RECURSIVE); } -- Gitblit v1.9.1