mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 16:23:37 +01:00
general cleanup/enhancement
Former-commit-id: 0a3daf5bd7149a02716bfd9af7e6536687184352
This commit is contained in:
@@ -69,7 +69,7 @@ public class IndexTest extends BaseIndexTestCase {
|
||||
Index index = new Index();
|
||||
Directory result = index.getDirectory();
|
||||
|
||||
String exp = File.separatorChar + "target" + File.separatorChar + "store" + File.separatorChar + "cpe";
|
||||
String exp = File.separatorChar + "target" + File.separatorChar + "data" + File.separatorChar + "cpe";
|
||||
// TODO review the generated test code and remove the default call to fail.
|
||||
assertTrue(result.toString().contains(exp));
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public class SettingsTest extends TestCase {
|
||||
public void testGetString() {
|
||||
System.out.println("getString");
|
||||
String key = Settings.KEYS.CPE_INDEX;
|
||||
String expResult = "target/store/cpe";
|
||||
String expResult = "target/data/cpe";
|
||||
String result = Settings.getString(key);
|
||||
assertTrue(result.endsWith(expResult));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user