Skip to content

Commit

Permalink
Tests: don't depend on QtGui
Browse files Browse the repository at this point in the history
  • Loading branch information
mardy committed May 8, 2019
1 parent 1099536 commit 37a333c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/auto/aggregation/tst_aggregation.cpp
Expand Up @@ -6810,5 +6810,5 @@ void tst_Aggregation::testSyncAdapter()
tsa.removeAllContacts();
}

QTEST_MAIN(tst_Aggregation)
QTEST_GUILESS_MAIN(tst_Aggregation)
#include "tst_aggregation.moc"
2 changes: 1 addition & 1 deletion tests/auto/database/tst_database.cpp
Expand Up @@ -173,5 +173,5 @@ void tst_Database::fromDateTimeString_isodate_speed()
}
}

QTEST_MAIN(tst_Database)
QTEST_GUILESS_MAIN(tst_Database)
#include "tst_database.moc"
2 changes: 1 addition & 1 deletion tests/auto/memorytable/tst_memorytable.cpp
Expand Up @@ -685,5 +685,5 @@ void tst_MemoryTable::iteration()
QCOMPARE(std::distance(it, end), static_cast<std::ptrdiff_t>(0));
}

QTEST_MAIN(tst_MemoryTable)
QTEST_GUILESS_MAIN(tst_MemoryTable)
#include "tst_memorytable.moc"
2 changes: 1 addition & 1 deletion tests/auto/phonenumber/tst_phonenumber.cpp
Expand Up @@ -438,5 +438,5 @@ void tst_PhoneNumber::normalization()
}
}

QTEST_MAIN(tst_PhoneNumber)
QTEST_GUILESS_MAIN(tst_PhoneNumber)
#include "tst_phonenumber.moc"
2 changes: 1 addition & 1 deletion tests/auto/qcontactmanager/tst_qcontactmanager.cpp
Expand Up @@ -4734,5 +4734,5 @@ void tst_QContactManager::searchSensitivity()
QCOMPARE(m->contactIds(sensitiveMismatch).count(), originalCount[5]);
}

QTEST_MAIN(tst_QContactManager)
QTEST_GUILESS_MAIN(tst_QContactManager)
#include "tst_qcontactmanager.moc"
Expand Up @@ -3705,6 +3705,6 @@ void tst_QContactManagerFiltering::dumpContacts()
}
}

QTEST_MAIN(tst_QContactManagerFiltering)
QTEST_GUILESS_MAIN(tst_QContactManagerFiltering)
#include "tst_qcontactmanagerfiltering.moc"
#include "qcontactmanager.h"

0 comments on commit 37a333c

Please sign in to comment.