Cleanup tests for new search.

This commit is contained in:
Brian Pellin committed 2011-07-19 00:14:26 -05:00
1 parent bbb83cc180
commit 852e5c3bbd
2 files changed
-8

No files matched your search

@@ -71,10 +71,8 @@ public class DeleteEntry extends AndroidTestCase {
// Verify the entries were removed from the search index
SearchDbHelper dbHelp = new SearchDbHelper(ctx);
dbHelp.open();
PwGroup results1 = dbHelp.search(db, ENTRY1_NAME);
PwGroup results2 = dbHelp.search(db, ENTRY2_NAME);
dbHelp.close();
assertEquals("Entry1 was not removed from the search results", 0, results1.childEntries.size());
assertEquals("Entry2 was not removed from the search results", 0, results2.childEntries.size());