From 1f67ae82bd940f13d3c526ff995844f603a15fe6 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Wed, 16 Apr 2014 07:59:13 -0400 Subject: [PATCH] updated to support the new Settings implementation Former-commit-id: 624d4c04e4fa208ef0da60245ca20ca755610c81 --- .../update/StandardUpdateIntegrationTest.java | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/update/StandardUpdateIntegrationTest.java b/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/update/StandardUpdateIntegrationTest.java index bd4aa1074..143d8ac19 100644 --- a/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/update/StandardUpdateIntegrationTest.java +++ b/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/update/StandardUpdateIntegrationTest.java @@ -19,13 +19,10 @@ package org.owasp.dependencycheck.data.update; import java.net.MalformedURLException; import java.util.Calendar; -import org.junit.After; -import org.junit.AfterClass; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; -import org.junit.Before; -import org.junit.BeforeClass; import org.junit.Test; +import org.owasp.dependencycheck.BaseTest; import org.owasp.dependencycheck.data.update.exception.UpdateException; import org.owasp.dependencycheck.utils.DownloadFailedException; @@ -33,26 +30,7 @@ import org.owasp.dependencycheck.utils.DownloadFailedException; * * @author Jeremy Long */ -public class StandardUpdateIntegrationTest { - - public StandardUpdateIntegrationTest() { - } - - @BeforeClass - public static void setUpClass() { - } - - @AfterClass - public static void tearDownClass() { - } - - @Before - public void setUp() { - } - - @After - public void tearDown() { - } +public class StandardUpdateIntegrationTest extends BaseTest { public StandardUpdate getStandardUpdateTask() throws MalformedURLException, DownloadFailedException, UpdateException { StandardUpdate instance = new StandardUpdate();