autotests/*, conf/* , mobile/* , shell/*, part.cpp, extension.cpp
The code compiles and all unit tests pass (except for the two that
fail on master too).
Summary:
- swap out manual management for a PrintDHelper class that allocates
an action and MessageBoxHelper, runs the script, and checks the
result.
- use _data() to run the helper with different data; this improves
observability as well.
Test Plan: - Run tests, see same results as before
Subscribers: okular-devel
Tags: #okular
Differential Revision: https://phabricator.kde.org/D23164