Infrastructure for Plasmoid integration testing

Review Request #127346 - Created March 11, 2016 and submitted

Information
Aleix Pol Gonzalez
plasma-workspace
127345
Reviewers
plasma

Makes it possible to test how/if a plasmoid behaves correctly on the most similar environment possible to what the user would find on a production system.

  • Loads a plasmoid on a panel and the desktop.
  • Lets it test his own stuff
  • Notifies, when done, if failed.

There's still more to look into:

  • what objects need to be passed, besides the Plasma::AppletQuickItem.
  • good things to test
  • how to test other shells than the desktop shell

Nevertheless, it looks to me that it's a step forward. Comments welcome.


  

Issues

  • 1
  • 13
  • 2
  • 16
Description From Last Updated
PlasmaQuick doesn't have any headers installed, so the build fails. Hrvoje Senjan Hrvoje Senjan
Marco Martin
Sebastian Kügler
Sebastian Kügler
Aleix Pol Gonzalez
Marco Martin
Aleix Pol Gonzalez
Marco Martin
Aleix Pol Gonzalez
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 6fefa27d1e3890ebef80c2a65ec90a51a7ebc068 by Aleix Pol to branch master.
Aleix Pol Gonzalez
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 1b6231f2e3f1de8cb5ea2540f0b8f425f6ae43a3 by Aleix Pol to branch master.
Hrvoje Senjan

   
shell/testcorona.cpp (Diff revision 4)
 
 

PlasmaQuick doesn't have any headers installed, so the build fails.

  1. Are you sure? https://paste.kde.org/p7zxnmpr2

  2. Well, with KF5.20.0 they aren't installed here (cmake 3.4.3).
    I see that somehow with master (and cmake 3.3.1) they are.
    Anyhow with master, the error (plasma-framework bug) is

    [  191s] In file included from /usr/include/KF5/PlasmaQuick/AppletQuickItem:1:0,
    [  191s]                  from /home/abuild/rpmbuild/BUILD/plasma-workspace-5.5.90git~20160316T165610~e7f09ba/shell/coronatesthelper.cpp:22:
    [  191s] /usr/include/KF5/plasmaquick/appletquickitem.h:31:32: fatal error: plasmaquick_export.h: No such file or directory
    [  191s] compilation terminated.
    
  3. What do you mean? that some cmake versions install some headers and some others don't? It looks to me that there might be an issue with your installation...

  4. Diff between plasma-framework 5.20.0 and master (for src/plasmaquick/CMakeLists.txt)
    http://paste.opensuse.org/75789267
    So it's not strange, just that i don't see how this is not in tarball

Loading...