Improve testPrintD

Authored by adridg on Aug 15 2019, 3:07 PM.

Description

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

Details

Committed
aacidAug 15 2019, 3:08 PM
Differential Revision
D23164: Improve testPrintD
Parents
R223:a7845890b32a: Changed tests to use QTest interface, with QTest::newRow and column
Branches
Unknown
Tags
Unknown