diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2017-08-24 17:41:39 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2017-08-28 07:54:46 +0000 |
commit | 78722f6c6c89de6b0c49d9d6ce49db8506104aaf (patch) | |
tree | ed4ea2dd0ae79aee41fb5fc766324015308cfa75 /tests | |
parent | 8492e448666931a33d53a52df31ac2fd796239a5 (diff) |
Don't create unused IndexItemTable
Change-Id: I0fa1ea9a1b6b6d1b1da481880f7a620284456487
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp b/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp index da7e03779..10cfff9ac 100644 --- a/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp +++ b/tests/auto/qhelpgenerator/tst_qhelpgenerator.cpp @@ -137,12 +137,6 @@ void tst_QHelpGenerator::checkIndices() || m_query->value(1).toString() != QLatin1String("foo")) QFAIL("Index Error!"); - /* - m_query->exec("SELECT COUNT(DISTINCT Id) FROM IndexItemTable"); - if (!m_query->next() || m_query->value(0).toInt() != 7) - QFAIL("Index Error!"); - */ - m_query->exec("SELECT COUNT(a.Id) FROM IndexTable a, " "IndexFilterTable b, FilterAttributeTable c WHERE a.Id=b.IndexId " "AND b.FilterAttributeId=c.Id AND c.Name=\'filter2\'"); |