From 8ca4ede4036dd30d9dce14d96e01f44bdaddd2e4 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 17 Nov 2013 20:50:07 -0500 Subject: [PATCH] removed un-needed test Former-commit-id: 175840ea9fda4a65db61c73d36fdd33c167d7380 --- .../data/cpe/BaseIndexTest.java | 63 ------------------- 1 file changed, 63 deletions(-) delete mode 100644 dependency-check-core/src/test/java/org/owasp/dependencycheck/data/cpe/BaseIndexTest.java diff --git a/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/cpe/BaseIndexTest.java b/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/cpe/BaseIndexTest.java deleted file mode 100644 index cf3c78eff..000000000 --- a/dependency-check-core/src/test/java/org/owasp/dependencycheck/data/cpe/BaseIndexTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * This file is part of dependency-check-core. - * - * Dependency-check-core is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation, either version 3 of the License, or (at your option) any - * later version. - * - * Dependency-check-core is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License along with - * dependency-check-core. If not, see http://www.gnu.org/licenses/. - * - * Copyright (c) 2012 Jeremy Long. All Rights Reserved. - */ -package org.owasp.dependencycheck.data.cpe; - -import org.owasp.dependencycheck.data.cpe.BaseIndex; -import java.io.File; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import static org.junit.Assert.*; - -/** - * - * @author Jeremy Long (jeremy.long@owasp.org) - */ -public class BaseIndexTest { - - @BeforeClass - public static void setUpClass() throws Exception { - } - - @AfterClass - public static void tearDownClass() throws Exception { - } - - @Before - public void setUp() { - } - - @After - public void tearDown() { - } - - /** - * Test of getDataDirectory method, of class BaseIndex. - * - * @throws Exception - */ - @Test - public void testGetDataDirectory() throws Exception { - String file = BaseIndex.getDataDirectory().getPath(); - String exp = File.separatorChar + "target" + File.separatorChar + "data" + File.separatorChar + "cpe"; - assertTrue(file.contains(exp)); - } -}