leinir created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. leinir requested review of this revision.
REVISION SUMMARY This is done by switching from the QStandardItemModel, which requires QtGui, to QStringListModel, which is in QtCore. The result is a much leaner test, and it's all done by adding a couple of helper functions which add the simplistic data addition functions from QSIM, except locked to QStrings (the way it was being used anyway). TEST PLAN Run the tests, which still pass REPOSITORY R134 Discover Software Store BRANCH dont-require-qtgui-for-paginatemodel-test (branched from master) REVISION DETAIL https://phabricator.kde.org/D24156 AFFECTED FILES discover/autotests/CMakeLists.txt discover/autotests/PaginateModelTest.cpp To: leinir Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart