general cleanup/enhancement

Former-commit-id: 0a3daf5bd7149a02716bfd9af7e6536687184352
This commit is contained in:
jeremylong
2012-09-29 14:15:37 -04:00
parent ff3be5ccf5
commit e80408d4c2
8 changed files with 93 additions and 76 deletions

View File

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

View File

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