Commit f00fdd42 authored by David Edmundson's avatar David Edmundson

Test every plasmoid

Summary:
ShellCorona will now abort in test mode if an applet fails to load, even
without a dedicated script, this test will make sure everything at least
loads; hopefully preventing the task-manager bug of 5.8.8 and the quickshare
bug of 5.10.0

Simplify plasmoid-test loading.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6134
parent 31c85ca4
#!/bin/sh
plasmashell --test "@CMAKE_CURRENT_BINARY_DIR@/testLayout-@plasmoidName@.js"
kactivitymanagerd stop
plasmashell --test "@CMAKE_CURRENT_BINARY_DIR@/testLayout-@plasmoidName@.js"
......@@ -5,10 +5,9 @@ panel.location = "top";
panel.height = gridUnit * 2
panel.addWidget(appletName)
var id = createActivity("Test: "+ appletName);
var desktopsArray = desktopsForActivity(id);
desktopsArray = desktopsForActivity(currentActivity());
for( var j in desktopsArray) {
var desktop = desktopsArray[j];
desktop.wallpaperPlugin = 'org.kde.color';
desktop.addWidget(appletName);
desktop.addWidget(appletName, 0, 100, 300, 400);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment