Commit 1c1a073c authored by Adriaan de Groot's avatar Adriaan de Groot 💬 Committed by Albert Astals Cid

Improve testPrintD

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
parent a7845890
Pipeline #6665 passed with stage
in 14 minutes and 16 seconds