Review Request 127103: Add autotests for IconItem

David Rosca nowrep at gmail.com
Sat Feb 27 20:25:47 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127103/
-----------------------------------------------------------

(Updated Feb. 27, 2016, 8:25 p.m.)


Status
------

This change has been marked as submitted.


Review request for Plasma.


Changes
-------

Submitted with commit 526915895b243ecf96298c9175a24dbf4b153393 by David Rosca to branch master.


Repository: plasma-framework


Description
-------

Add some tests for IconItem.
Also found one issue in animation when quickly changing source, first frame will be rendered with wrong icon.


Diffs
-----

  autotests/CMakeLists.txt 258adb8 
  autotests/data/icons/hicolor/22x22/apps/bug359388.svg PRE-CREATION 
  autotests/data/view.qml PRE-CREATION 
  autotests/iconitemtest.h PRE-CREATION 
  autotests/iconitemtest.cpp PRE-CREATION 
  src/declarativeimports/core/iconitem.cpp 085f284 

Diff: https://git.reviewboard.kde.org/r/127103/diff/


Testing
-------

Tests pass localy, I used only icons that are shipped with plasma-framework breeze theme so it should work on CI too.

There is also test that checks if animation is not running after the item was hidden. This needs https://git.reviewboard.kde.org/r/122859/, so this should land only after that.


Thanks,

David Rosca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160227/6a6de5a5/attachment.html>


More information about the Plasma-devel mailing list