converted to integration test as updates from NVD are required for this test which slows down just a standard mvn package

This commit is contained in:
Jeremy Long
2017-09-07 06:11:50 -04:00
parent 33640ccfbb
commit 325ed8e47c

View File

@@ -50,15 +50,21 @@ import org.slf4j.LoggerFactory;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
import org.owasp.dependencycheck.data.update.exception.UpdateException; import org.owasp.dependencycheck.data.update.exception.UpdateException;
import org.owasp.dependencycheck.exception.InitializationException; import org.owasp.dependencycheck.exception.InitializationException;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
/** /**
* Unit tests for {@link RubyBundleAuditAnalyzer}. * Unit tests for {@link RubyBundleAuditAnalyzer}.
* *
* @author Dale Visser * @author Dale Visser
*/ */
public class RubyBundleAuditAnalyzerTest extends BaseDBTestCase { public class RubyBundleAuditAnalyzerIT extends BaseDBTestCase {
private static final Logger LOGGER = LoggerFactory.getLogger(RubyBundleAuditAnalyzerTest.class); private static final Logger LOGGER = LoggerFactory.getLogger(RubyBundleAuditAnalyzerIT.class);
/** /**
* The analyzer to test. * The analyzer to test.