~keepassx/keepassx/trunk

« back to all changes in this revision

Viewing changes to tests/TestEntryModel.cpp

  • Committer: Florian Geyer
  • Date: 2014-05-16 10:32:52 UTC
  • Revision ID: git-v1:77af79498c566be89787d206c2fa88985463a932
Move QTEST_GUILESS_MAIN statements before test cases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "gui/entry/EntryAttachmentsModel.h"
34
34
#include "gui/entry/EntryAttributesModel.h"
35
35
 
 
36
QTEST_GUILESS_MAIN(TestEntryModel)
 
37
 
36
38
void TestEntryModel::initTestCase()
37
39
{
38
40
    qRegisterMetaType<QModelIndex>("QModelIndex");
341
343
    delete modelTest;
342
344
    delete model;
343
345
}
344
 
 
345
 
QTEST_GUILESS_MAIN(TestEntryModel)