summaryrefslogtreecommitdiff
path: root/sc/qa/unit/screenshots/screenshots.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-08-18screenshots: fix sc screenshot testfeature/dialog-screenshotsArmin Le Grand1-9/+14
Seems to need a new document Change-Id: I644d2fcb9fe4ec66e964192d3dda61ca331acece
2016-08-18screenshots: unify dumping of dialog test batch fileArmin Le Grand1-55/+2
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
2016-08-18screenshots: add dialog test cases for writerArmin Le Grand1-1/+1
Writer has currently no known dialogs that get created with an opened writer document. There are some ui files that do not work with fallback (7), but most work (167). Not all look good, though. Change-Id: I92a6a5077e3a8c93148e162455093399ba1f99ed
2016-08-18screenshots: fallback screenshot to ui filesArmin Le Grand1-87/+124
Besides the already existing methods to dump adapted dialogs and create and dump fallback dialogs I added a possibility to process a given input file which may contain a list of UXMLDescription files (*.ui files), one per line. This file is processed (empty lines and comment lines using '#' allowed) and for each descriptor first tries to find a known, adapted dialog. If found it gets used, else fallback is tried. Added ui-definition files for sd and sc which contain all ui-files from these dialogs. Adapted the test base class to hold the needed functionality. Change-Id: I1d4c64af8cd5d9c89a53b193951c3e49669f5852
2016-08-18screenshots: Use UI string and fallback for UI-String onlyArmin Le Grand1-22/+68
Two changes in this commit: The Dialogs to be dumped are identified in their test files using their UXMLDescription to allow later to 'find' the known dialogs and use the specialized construction for these. Also added a fallback to construct a vcl Dialog based on only the UXMLDescription and the VclBuilder. This will be constructed without any active initialization/layouting, so should only be used for unknown Dialogs. Also added a dumpDialogToPath version to the tooling that can work directly with a vcl Dialog instead of a VclAbstractDialog. Change-Id: I90abb6f59c2fcc5d534907ae7e4b9a15edc2d694
2016-08-18screenshots: use new bootstrap fixture in sc and sdKatarina Behrens1-100/+2
Change-Id: Ida0d3179726896b32b0876b1855b1f0be12d3b48
2016-08-18screenshots: don't leak windowsKatarina Behrens1-1/+1
Change-Id: If39441d6419556d1ae7637626b17b81357d29c38
2016-08-18screenshots: support creating shots of tab dialogsKatarina Behrens1-2/+44
try that with ScAttrDlg first Change-Id: Id84f5940ca3de9788446f2e513fa3991f31a2d5a
2016-08-18screenshots: don't crash on opening csv import dlgKatarina Behrens1-8/+11
Change-Id: I1ff56d79f7ff31317187cf077380481f1ef44366
2016-08-18screenshots: dialog doesn't even have a help buttonKatarina Behrens1-1/+1
So drop helpID argument from its ctor (not to mention the fact that a help text with ID .uno:TabBgColor doesn't exist either) Change-Id: I0624f0474334cc799d67f7f292e11194de5195fa
2016-08-18screenshots: actually save screenshots for scKatarina Behrens1-119/+188
Change-Id: If563f5b0fd5b28589bfbe4cf91061951acd14ebf
2016-08-18screenshots: open more sc modal dialogs, part 2Katarina Behrens1-0/+28
Change-Id: Ia5a1bbc00acff10405aa5205b9fd5a930deb5fc9
2016-08-18screenshots: open more sc modal dialogsKatarina Behrens1-0/+39
Change-Id: Ie0d0bcea3409f99cce0b9dccd4f316d1da3c0d84
2016-08-18screenshots: opening some sc dialogs from cppunitKatarina Behrens1-0/+173
Change-Id: I4e56f0264ada77e24f5d71fa9eaf48e5eedaaae8