diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-07-28 12:22:00 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-18 02:39:15 +0200 |
commit | 2a5ac6f6348acdfacc3a551b184369fe7dbfa0cd (patch) | |
tree | 9f8cecc8f42eed1650aa214735d38de349c29ee6 /include | |
parent | 51cd1024a689955beacb1a64f30931e2797f7f43 (diff) |
screenshots: unify dumping of dialog test batch file
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
Diffstat (limited to 'include')
-rw-r--r-- | include/test/screenshot_test.hxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/test/screenshot_test.hxx b/include/test/screenshot_test.hxx index 443db3102bd5..473d44a4c20b 100644 --- a/include/test/screenshot_test.hxx +++ b/include/test/screenshot_test.hxx @@ -68,6 +68,20 @@ public: /// compared to the active dialog (can be compared with dialog previewer) void dumpDialogToPath(const OString& rUIXMLDescription); + /// helper to process all known dialogs + void processAllKnownDialogs(); + + /// helper to process an input file containing the UXMLDescriptions + /// of the dialogs to dump. It will internally try to detect and open + /// as known dialog first. If not successful, it will then use the + /// fallback version to dump the dialog. + /// The syntax of the input file is as follows: + /// - emty lines are allowed + /// - lines starting with '#' are treated as comment + /// - all other lines should contain a *.ui filename in the same + /// notation as in the dialog constructors(see code) + void processDialogBatchFile(const OUString& rFile); + /// const access to known dialogs const mapType& getKnownDialogs() const { return maKnownDialogs; } }; |