on xenial help sign in
Make tests explicitely guiless
2f31578Albert Astals
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertest.cpp+1−1
@@ -1401,6 +1401,6 @@ private:
1401 QQmlComponent *otherDelegate;
1401 QQmlComponent *otherDelegate;
1402};
1402};
1403
1403
1404−QTEST_MAIN(ListViewWithPageHeaderTest)
1404+QTEST_GUILESS_MAIN(ListViewWithPageHeaderTest)
1405
1405
1406#include "listviewwithpageheadertest.moc"
1406#include "listviewwithpageheadertest.moc"
tests/plugins/ListViewWithPageHeader/listviewwithpageheadertestsection.cpp+1−1
@@ -1653,6 +1653,6 @@ private:
1653 QQmlComponent *otherDelegate;
1653 QQmlComponent *otherDelegate;
1654};
1654};
1655
1655
1656−QTEST_MAIN(ListViewWithPageHeaderTestSection)
1656+QTEST_GUILESS_MAIN(ListViewWithPageHeaderTestSection)
1657
1657
1658#include "listviewwithpageheadertestsection.moc"
1658#include "listviewwithpageheadertestsection.moc"
tests/plugins/Unity/Indicators/indicatorsmanagertest.cpp+1−1
@@ -134,5 +134,5 @@ private Q_SLOTS:
134 }
134 }
135};
135};
136
136
137−QTEST_MAIN(IndicatorsManagerTest)
137+QTEST_GUILESS_MAIN(IndicatorsManagerTest)
138#include "indicatorsmanagertest.moc"
138#include "indicatorsmanagertest.moc"
tests/plugins/Unity/Indicators/indicatorsmodeltest.cpp+1−1
@@ -97,6 +97,6 @@ private Q_SLOTS:
97 }
97 }
98};
98};
99
99
100−QTEST_MAIN(IndicatorsModelTest)
100+QTEST_GUILESS_MAIN(IndicatorsModelTest)
101
101
102#include "indicatorsmodeltest.moc"
102#include "indicatorsmodeltest.moc"
tests/plugins/Unity/Indicators/menucontentactivatortest.cpp+1−1
@@ -299,5 +299,5 @@ private:
299 QList<int> m_deltas;
299 QList<int> m_deltas;
300};
300};
301
301
302−QTEST_MAIN(MenuConentActivatorTest)
302+QTEST_GUILESS_MAIN(MenuConentActivatorTest)
303#include "menucontentactivatortest.moc"
303#include "menucontentactivatortest.moc"