mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-18 23:34:15 +01:00
removed references to CPE data directory as this has been moved to a RAMDisk directory
Former-commit-id: 678eab78293357e3e89566917e73f9b5d3313ab5
This commit is contained in:
@@ -57,8 +57,8 @@ public class SettingsTest {
|
||||
*/
|
||||
@Test
|
||||
public void testGetString() {
|
||||
String key = Settings.KEYS.CPE_DATA_DIRECTORY;
|
||||
String expResult = "cpe";
|
||||
String key = Settings.KEYS.CVE_DATA_DIRECTORY;
|
||||
String expResult = "cve";
|
||||
String result = Settings.getString(key);
|
||||
Assert.assertTrue(result.endsWith(expResult));
|
||||
}
|
||||
@@ -68,8 +68,8 @@ public class SettingsTest {
|
||||
*/
|
||||
@Test
|
||||
public void testGetFile() throws IOException {
|
||||
String key = Settings.KEYS.CPE_DATA_DIRECTORY;
|
||||
String expResult = "data" + File.separator + "cpe";
|
||||
String key = Settings.KEYS.CVE_DATA_DIRECTORY;
|
||||
String expResult = "data" + File.separator + "cve";
|
||||
File result = Settings.getFile(key);
|
||||
Assert.assertTrue(result.getAbsolutePath().endsWith(expResult));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user