removed references to CPE data directory as this has been moved to a RAMDisk directory

Former-commit-id: 678eab78293357e3e89566917e73f9b5d3313ab5
This commit is contained in:
Jeremy Long
2013-11-17 22:40:51 -05:00
parent 1f983d502e
commit b6e0fa9085
4 changed files with 4 additions and 17 deletions

View File

@@ -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));