@@ -71,5 +71,18 @@ Rectangle {
71 compare(args[1], "mockAction", "Action id not passed correctly.");
71 compare(args[1], "mockAction", "Action id not passed correctly.");
72 compare(args[2]["mock"], "data", "Data not passed correctly.");
72 compare(args[2]["mock"], "data", "Data not passed correctly.");
75+ function test_showProcessing() {
76+ var widget = findChild(preview, "widget-3");
77+ widget.triggered(widget.widgetId, "mockAction", {"mock": "data"});
79+ var processing = findChild(preview, "processingMouseArea");
81+ tryCompare(processing, "enabled", true);
83+ preview.previewModelChanged();
85+ tryCompare(processing, "enabled", false);