Refactor TestEntrySearcher.

This commit is contained in:
Florian Geyer
2014-05-16 00:26:09 +02:00
parent 819cfd459a
commit 4f60df029d
2 changed files with 34 additions and 39 deletions

View File

@@ -21,7 +21,8 @@
#include <QObject>
class Group;
#include "core/EntrySearcher.h"
#include "core/Group.h"
class TestEntrySearcher : public QObject
{
@@ -34,7 +35,9 @@ private Q_SLOTS:
void testAndConcatenationInSearch();
void testSearch();
private:
Group* groupRoot;
Group* m_groupRoot;
EntrySearcher m_entrySearcher;
QList<Entry*> m_searchResult;
};
#endif // KEEPASSX_TESTENTRYSEARCHER_H