D24156: Don't require QtGui for the PaginateModel test

Dan Leinir Turthra Jensen noreply at phabricator.kde.org
Mon Sep 23 13:36:33 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190923/66d9f3ee/attachment.html>


More information about the Plasma-devel mailing list