From 1d66415cae3cd6a97b1971dc67f3e0892907598e Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 13 Jun 2011 15:21:11 +0000 Subject: [PATCH] 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 --- ...vletProxiedTimestampedSnapshotPolicyTest.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.39.5