summaryrefslogtreecommitdiff
path: root/sd/qa
AgeCommit message (Collapse)Author
2013-09-09drawinglayer: added dumping of InteropGrabBag propAndres Gomez
XShapeDumper is now also dumping the InteropGrabBag property as a new empty element. In the future, new "private" properties added to the grab bag could be dumped too. Updated the unit tests accordingly. Change-Id: I7526dbd64bdc08915dc71f1167f05224118f17a6 Reviewed-on: https://gerrit.libreoffice.org/5848 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-08-16n#831457: Recommiting the patch.Muthu Subramanian
Fixed the test cases - false negatives.
2013-07-19add EDB 26517 test caseCaolán McNamara
Change-Id: I463c390259f0ddc73497fb5c87fc55bea1887735
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-21Better description of the sd unit tests creation.Jan Holesovsky
Change-Id: I7d3ac7997f54f4cb3fc826601d89248ea42549f4
2013-06-21bnc#593612: font size: Unit test.Felix Zhang
Change-Id: I3cda692b93f0e08c3e666e03b04966abaca00057
2013-06-13Unit test to avoid the regression...Jan Holesovsky
...that appeared thanks to the bnc#819614 fix. Thanks Fridrich for constructing the document! Change-Id: I780f65ca436caee83094a8591dd9e36b33d921e8
2013-06-13Revert "bnc#819614: Fix runaway lines."Jan Holesovsky
This reverts commit 5fe65c0c5e5a8d815d9d15ef192e7652726662e6. Unfortunately this causes a regression elsewhere. This also disables the unit test for this bug - will re-enable when I find a fix that both fixes this, and does not regress other stuff :-) Change-Id: Iad334e3c59c928edb78f25c0f36a33a26a7e6125
2013-06-09Revert "Fix qa tests after "non-primitive" patch"Julien Nabet
This reverts commit eaeaafbf20629e2e2eb111b71ddcc78ab81aec55. I must recognize I don't understand why it doesn't work but since most of the tinderboxes are red...
2013-06-08Fix qa tests after "non-primitive" patchJulien Nabet
Change-Id: I438a1b09d74a87858b23046cc34995a9fbab396a
2013-05-25Resolves: #i119874 Fixed text alignment in RTL layoutCaolán McNamara
This reverts commit 979def88090633bfee0e0445b19999a1dac71ed4, this time manually confirmed that the import layout does change, but that it appears to be all desirable changes Change-Id: Iee5e5ebd16989f65569b02f8b4f6570985157dfc
2013-05-23bnc#820786: Unit test for patterns / hatches.Jan Holesovsky
Change-Id: I988439f8be9822c73d19c292da37e2cb102b1c78
2013-05-19Resolves: #i120642# expand target to maximum edge not to diagonalRegina Henschel
(cherry picked from commit 2e1700bf4f7cf913c23d35f325a50d3aa25426cc) Change-Id: Ic27fb3b18f42667419765a6adca41e1df27561c2
2013-05-18Resolves: #i116244# need to reset rotation...Armin Le Grand
This reverts commit f47ed987388e4df58ba74b9aca574a7d1fba396a. update layout tests Change-Id: I8a9daaa78acc98bf497241ebce856d5798b187f5
2013-05-18Add unit test for xml:id loading.Thorsten Behrens
Guard against xml:id load breakage, that cause fdo#64512 and fdo#60075. Both connector shape and animation references need it to work. Change-Id: I7883d1d27eae02f605c83217a2e1b83934b31483
2013-05-16bnc#819614: Test for the runaway lines fix.Jan Holesovsky
Change-Id: I60c072720392822eb5866310f3607271d72815b7
2013-05-16XShapeDumper: Dump more values, to be able to test n#819614.Jan Holesovsky
Change-Id: I19cbae855996bffb18206b9003e22a2bcc0c75d9
2013-05-15sd unittests: Do not dump the font name, depends on installed fonts.Jan Holesovsky
Change-Id: Id401feed7d629cbc0c24428b0c1273afdb31be89
2013-05-15sd unittests: Update XShapeDumper to dump also (some) font properties.Jan Holesovsky
+ update the expected dumps together with that. This allows testing of the other part (wrong text color and size, commit 55c63ccfd460895af22e91979967cec15d80b72d) of n#758621 too. Change-Id: Ie93feb9d9d05eb4e11106bf9aa1f237947351b4e
2013-05-15fdo#64586: Fix incorrect import non-empty placeholders + unit test.Jan Holesovsky
Change-Id: Ibcb61dfa12c67fd9f93713ba7eb93f947b122f07
2013-05-14sd unittests: Fix the loading of .ppt tests, and introduce test for n#758621.Jan Holesovsky
This also adds instructions how to easily add tests for which it is enough to check the drawinglayer dump. Change-Id: Ieaf261a9be0c8da2fa81c075dadebcac0c07def5
2013-05-14sd unittests: Cleanup in filters-test.Jan Holesovsky
Change-Id: I4dde07c4f796fa33b23cc3e67924270bb3e45ec1
2013-05-14sd unittests: Move Autofit test to the import tests.Jan Holesovsky
Change-Id: I6c49345fa518f19c942ff0fd7849c689d0cd5db6
2013-05-14sd unittests: Move a smoketest where it belongs.Jan Holesovsky
Change-Id: I495f8698f58a2a4a11999e8e439eddd6a703b321
2013-05-14sd unittests: Reorganize the Impress tests to be a bit more focused.Jan Holesovsky
Change-Id: I222c824681fc7bcc25c6f591f09c69fae8c812ec
2013-05-14sd unittests: Better name for the import tests.Jan Holesovsky
Change-Id: I62c47cbfd71e7606770552368e97e1c92fadf211
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-11-29update sd regression test to match new default shape colorsCaolán McNamara
since 895890563cb0cc5fa872bdfd06918a46cdda172d the default shape colors changed I just updated the test to match. I'm going to assume that this is the right solution rather than reverting the default colors or munging the pptx filter. Change-Id: Ie654d1b1e7cd8c904381e6fe835cca9787d45315
2012-11-28re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Armin Le-Grand #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles... http://svn.apache.org/viewvc?view=revision&revision=1293316 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 Patches contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1172128 http://svn.apache.org/viewvc?view=revision&revision=1172133 Patch contributed by Ariel Constenla-Haile i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress contextmenu - CWS contextmenu1 http://svn.apache.org/viewvc?view=revision&revision=1182915 Patch contributed by Zhang Jian Fang #118876#, Add check if the OutlinerParaObject is created successfully http://svn.apache.org/viewvc?view=revision&revision=1243381 restore a re-based rdbedit.
2012-11-01another some more regression testsCaolán McNamara
Change-Id: Ic13269fcf55b4e51a8124da6d2de75fb5bec23e0
2012-11-01add .odg regression load testCaolán McNamara
Change-Id: I5f7dc2a389c020a90b8087aefc90c054a809ef25
2012-11-01rework filters test to squeeze through extra flagsCaolán McNamara
that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-09-20introduce new option --disable-cve-testsDavid Ostrovsky
Change-Id: I288638c4a70396ccb7354b20e901aa0c46ffe442 Reviewed-on: https://gerrit.libreoffice.org/653 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-16Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I4028296dd86eef2b8f84cab15eba3c4c15b18c6f
2012-09-10n#778859: Add unit test case.Muthu Subramanian
2012-08-21fdo#47434 testcaseKorrawit Pruegsanusak
Change-Id: Ib69fa1fff94b7a3403a45fb948ff9e7b1ebc4f0f
2012-08-14Adding unit test case for n#759180Muthu Subramanian
2012-07-17-Werror,-Wunused-functionStephan Bergmann
Change-Id: I100a95d5f84ab61cb26ac39d436cb9f2cb7246e5
2012-07-16warning C4701: potentially uninitialized local variable usedMichael Stahl
Change-Id: I8e8dec18e1bec67154304b8c96ff034d6ab5d791
2012-07-13test: move XMLDiff implementation details to cxx fileMichael Stahl
This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf
2012-07-12use XMLDiff for the new impress regression testMarkus Mohrhard
Change-Id: Ib0182fe25e7a2534acf85e7fabe1355491d9a9e7
2012-07-12some small improvements for the dumperMarkus Mohrhard
Change-Id: I0a24a0e9c4a3b818c9144bc38857b67e49483915
2012-07-12improved shapes-test.odp (but not finished), unlocked assertion(false)Artur Dorda
Change-Id: I845fef5e849518face60693cf31d3f00c57c7ae3
2012-07-12Restructurization of XShape- and EnhancedShape- dumpers, builds fine nowArtur Dorda
Change-Id: I57e230f5b2aff8cd6818b38776ae0b0b0d614d61
2012-07-12New test files added, tests run for the 1st timeArtur Dorda
Change-Id: I2f47d5c61f92dbf051a8509528947c2465a2d020
2012-07-12add missing fileMarkus Mohrhard
Change-Id: If80d2c6dcc5f5455a98a560aa23d085747f3fb94