From: Olivier Lamy Date: Mon, 13 Jun 2011 15:21:11 +0000 (+0000) Subject: fix unit test for RepositoryServletProxiedTimestampedSnapshotPolicyTest : call setup... X-Git-Tag: archiva-1.4-M1~660 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d66415cae3cd6a97b1971dc67f3e0892907598e;p=archiva.git fix unit test for RepositoryServletProxiedTimestampedSnapshotPolicyTest : call setup and tearDown git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135142 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedTimestampedSnapshotPolicyTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedTimestampedSnapshotPolicyTest.java index 40eca2268..d03b16d68 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedTimestampedSnapshotPolicyTest.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedTimestampedSnapshotPolicyTest.java @@ -25,6 +25,8 @@ import com.meterware.httpunit.WebRequest; import com.meterware.httpunit.WebResponse; import org.apache.maven.archiva.policies.SnapshotsPolicy; +import org.junit.After; +import org.junit.Before; import org.junit.Test; import java.io.File; @@ -38,6 +40,20 @@ public class RepositoryServletProxiedTimestampedSnapshotPolicyTest extends AbstractRepositoryServletProxiedTestCase { + @Before + public void setup() + throws Exception + { + super.setUp(); + } + + @After + public void tearDown() + throws Exception + { + super.tearDown(); + } + @Test public void testGetProxiedSnapshotsArtifactPolicyAlwaysManagedNewer() throws Exception