Commit 37a333c0 authored by mardy's avatar mardy

Tests: don't depend on QtGui

parent 1099536c
...@@ -6810,5 +6810,5 @@ void tst_Aggregation::testSyncAdapter() ...@@ -6810,5 +6810,5 @@ void tst_Aggregation::testSyncAdapter()
tsa.removeAllContacts(); tsa.removeAllContacts();
} }
QTEST_MAIN(tst_Aggregation) QTEST_GUILESS_MAIN(tst_Aggregation)
#include "tst_aggregation.moc" #include "tst_aggregation.moc"
...@@ -173,5 +173,5 @@ void tst_Database::fromDateTimeString_isodate_speed() ...@@ -173,5 +173,5 @@ void tst_Database::fromDateTimeString_isodate_speed()
} }
} }
QTEST_MAIN(tst_Database) QTEST_GUILESS_MAIN(tst_Database)
#include "tst_database.moc" #include "tst_database.moc"
...@@ -685,5 +685,5 @@ void tst_MemoryTable::iteration() ...@@ -685,5 +685,5 @@ void tst_MemoryTable::iteration()
QCOMPARE(std::distance(it, end), static_cast<std::ptrdiff_t>(0)); QCOMPARE(std::distance(it, end), static_cast<std::ptrdiff_t>(0));
} }
QTEST_MAIN(tst_MemoryTable) QTEST_GUILESS_MAIN(tst_MemoryTable)
#include "tst_memorytable.moc" #include "tst_memorytable.moc"
...@@ -438,5 +438,5 @@ void tst_PhoneNumber::normalization() ...@@ -438,5 +438,5 @@ void tst_PhoneNumber::normalization()
} }
} }
QTEST_MAIN(tst_PhoneNumber) QTEST_GUILESS_MAIN(tst_PhoneNumber)
#include "tst_phonenumber.moc" #include "tst_phonenumber.moc"
...@@ -4734,5 +4734,5 @@ void tst_QContactManager::searchSensitivity() ...@@ -4734,5 +4734,5 @@ void tst_QContactManager::searchSensitivity()
QCOMPARE(m->contactIds(sensitiveMismatch).count(), originalCount[5]); QCOMPARE(m->contactIds(sensitiveMismatch).count(), originalCount[5]);
} }
QTEST_MAIN(tst_QContactManager) QTEST_GUILESS_MAIN(tst_QContactManager)
#include "tst_qcontactmanager.moc" #include "tst_qcontactmanager.moc"
...@@ -3705,6 +3705,6 @@ void tst_QContactManagerFiltering::dumpContacts() ...@@ -3705,6 +3705,6 @@ void tst_QContactManagerFiltering::dumpContacts()
} }
} }
QTEST_MAIN(tst_QContactManagerFiltering) QTEST_GUILESS_MAIN(tst_QContactManagerFiltering)
#include "tst_qcontactmanagerfiltering.moc" #include "tst_qcontactmanagerfiltering.moc"
#include "qcontactmanager.h" #include "qcontactmanager.h"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment