summaryrefslogtreecommitdiff
path: root/sd/qa
AgeCommit message (Collapse)Author
2014-11-07Make SdrGrafObj swapping methods private.Zolnai Tamás
Plus remove some useless call of them. Change the tests accordingly. Change-Id: I47a50b5734d799ac02ee7221c95f82415afb9497
2014-11-07Test for swapped out image loss during Impress exportZolnai Tamás
Related to the bug fdo#52226. The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Impress formats: ODP, PPT, PPTX Change-Id: I97ba98d0eb05ef2c1de3fbeaa527bc9f6f54d742
2014-11-07Do not check a referenceZolnai Tamás
Change-Id: I5baac12f97ea7fa36293844331ca548b7bc2cdfd
2014-11-05fdo#85813 drawingML export: fix handling of impress tablesMiklos Vajna
Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-21add CVE-2014-4114 testCaolán McNamara
Change-Id: I4d195f5ff7f9dc12747a8748915e82ab06d770fa
2014-10-14Resolves: fdo#84887 TabBar::ImplShowPage crashCaolán McNamara
Change-Id: I84250c6a40baeabd0d12958dfe0aea346d2b4fc8
2014-10-14add cgm loading testCaolán McNamara
Change-Id: Icb1732d867d86e2a1b180ce58cec4c91fc630881
2014-10-13oox: refactor embedded media importMichael Stahl
Currently the oox import creates a temp file and leaks it, and there is no way to clean it up afterwards. Unfortunately it turns out that SdrModel has no way to access the imported OOXML storage, so add a really ugly hack to get the embedded media into the SdrMediaObj by setting both MediaURL and PrivateStream properties (currently oox really wants to set the properties in alphabetical order too...) Change-Id: I5a235fbeb08e7bc17faf066de52b94867e9a79a2
2014-10-11sd: another temp-file leakMichael Stahl
Change-Id: Idcd31ea07c460aaecff3ea56072cf65e26040bda
2014-10-11sd: rename test classes to be uniqueMichael Stahl
Change-Id: I18d4f6af97fcfb9341711751a8d550e421f7a381
2014-09-30bnc#584721: invisible text because of wrong color (white)Zolnai Tamás
Color::getColor() method uses some caching mechanism which works wrong when the result depend on one of the input parameters. So avoid caching in these cases. Change-Id: Ifa9221e21e685715454de86d5cec09ff6c266307
2014-09-26bnc#897769: OOXML import: Import border lines using reference too.Matúš Kukan
Do not ignore 'lnRef' element. Also fix typo to apply 'seCell' properties to the right cell (southeast). Change-Id: Ia45f7016f358b70e6db06a232c569335ce9d7051
2014-09-25Fix validation problems pointed out by CppunitTest_sd_export_testsMiklos Vajna
Regression from e8bdd38882522591723097c028ca7a6927ee70c4 (fdo#83751-FILESAVE:Custom Properties dropped while exporting to .pptx, 2014-09-11), there were two problems here: 1) Using the wrong filter when the output is expected to be suitable for validation. 2) Writing empty custom property values, which is not valid. Change-Id: Ic18c789c53bd40cc8aa07385cb5fd0d5c7ada6ab
2014-09-25fdo#83751- Add test case for custom properties in pptxHeena Gupta
Change-Id: I83fb0462c662e0da1f1c5c6dfec4bd8d94d97b87 Reviewed-on: https://gerrit.libreoffice.org/11420 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-17bnc#591147: unit test for media files importMatúš Kukan
Change-Id: Ie45818c54d756628e9cbc2619e5ad43cedcac92c
2014-09-17bnc#584721: Import subtitle block to master slidesZolnai Tamás
For some reason subtitle block was skipped for layouts. It seems we can enable it for layout too, it appears well on master slides. Change-Id: I23ec7d4fcce045099bfca9e94a8c9335beaf7468
2014-09-17bnc#584721: Do not add extra title and outliner blocks to master slideZolnai Tamás
There are master slides / layouts imported from PPTX in which there is no title or body layout block, but so far Impress added these by default to the master slides if they were missing. Now they are skipped by the importer code. Change-Id: I256a4e78639ea39d0f87a94e6676422c7dbcde4a
2014-09-17bnc#584721: Right text inside the title area on master pageZolnai Tamás
With setting bClearText to true the default text used inside LO will be removed. Before that change the imported text was appended to the end of the LO default text. Now it contains only the imported text. Change-Id: I9f5eb0e20468a35c64130a433367cd3845ac7e3c
2014-09-12Keep files of failing tests aroundStephan Bergmann
(Arguably, such files should be stored in a workdir/CppunitTest/... directory removed and freshly created before every test run, instead of in TMPDIR.) Change-Id: I12e5073f4e8098cfd99456101fbc2d6ab919f093
2014-09-09bnc#480256: OOXML import: unit test for table background propertyMatúš Kukan
Change-Id: I97bf0bd1ea8cf8ece30a2fa328c5c7a8b0549a4a
2014-09-05CppunitTest_sd_import_tests: missing DoClose() callMiklos Vajna
This leaked two files in /tmp during every run. Change-Id: I8dc0574c210925fa5d6704ffad9c106186a50151
2014-08-29n#708518: sd: check that master page matches when setting parent styleMichael Stahl
In ODF import it happened that the parent style of "outline2" etc. was always set to the "outline1" style of the first master page in the document, but it should be the "outline1" style of the same master page as the "outline2". (regression from e955433c3574cb602dedba96bc645898f97858bf) Change-Id: Ie563d5ee5c2040aeb6ca5c8bb25b195e15ea964e
2014-08-28bnc#822347: Test for bullet character defined as '' - empty char.Tomaž Vajngerl
Change-Id: Ie771a5e53f04c0cd307d24a8bfc3ab7bc9a3094a
2014-08-28parseXml should return xmlDocPtr instead of htmlDocPtrTomaž Vajngerl
Change-Id: Ia9fb79ea40ca840d7328a078e747ad64a63d18f1
2014-08-28PPTX import: fix missing document metadataMiklos Vajna
Without this, the creation / modification date is lost on import. Change-Id: I0b74ac91aee7b8b3e0bc763247086a3a39816bc1
2014-08-17remove executable bitsThomas Arnhold
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-06Consistency around SdrOnOffItem in svx/sdasitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Icdeff7f37901f99158bb00de5e912c181bf3e688
2014-08-04Consistency around SdrMetricItem in svx/sdtditm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib0234883d441be668700df5ccd0e855973dc5426
2014-07-19XFillStyle -> css::drawing::FillStyleMiklos Vajna
Change-Id: I6b2fabd72fd34f4ac1b3a18f386c90794bc39ce4
2014-07-17fix build failureMarkus Mohrhard
Change-Id: I95af4c2750c01e3e48f6708306b25f774c29e592
2014-07-17make the temp file names random in sd testsMarkus Mohrhard
All the temp files got the same names for the temp files which might conflict when two tests try to get teh same temp file at the same time. Additionally it makes the dbgutil check by Norbert for finding leaked temp files useless. Change-Id: I692107f7705787c360247785b8d95daf4199c2a6
2014-07-16Update test data to match my gradient handling changeTor Lillqvist
Thanks to vmiklos for pointing me to the instructions. Change-Id: Ic95ef443beceb9a30e4179cf2364bd753992c05e
2014-07-15Unit test for cell properties, where lastRow is used in table (bnc#887225)Matúš Kukan
Change-Id: Ia11dadcbedf6acc035b2d86da39a115bdb298591
2014-07-04make the validation working correctlyMarkus Mohrhard
We still have ODP validation errors of the form: Change-Id: Id60df0e07a0b6d3fd2613d5c66698a6cd9b99afd Error: attribute "draw:fit-to-size" has a bad value. Possible values are: false,true
2014-07-04remove unused header fileMarkus Mohrhard
Change-Id: I78c2462f56fb4b5792f396bb7e0dd2c0fd237420
2014-07-04enable ODP export validation in sd export testMarkus Mohrhard
Change-Id: I849d2f0d8631cfb91326d80e554c9ce55940abd8
2014-07-04split sd's import and export testsMarkus Mohrhard
Change-Id: I06d5b02ec94c7bb74b64cd210267acf2be1a4931
2014-07-04extract a bit more codeMarkus Mohrhard
Change-Id: I24da9b5e8594d34ff7d5c3f958c2fd1c5cad1908
2014-07-04extract some shared codeMarkus Mohrhard
Change-Id: Idfbbee6dc0bd5a63ae46ea8375270a475ef3521b
2014-07-04fix wrong operator<< for ColorMarkus Mohrhard
Change-Id: Iccaf173fc15466f8d0604e3d0e4cd2c790902db4
2014-06-25remove whitespacesMarkus Mohrhard
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-06-24bnc#882631: Do not hide top of the first row when editing text in table cells.Matúš Kukan
This can happen when proportional line spacing is less than 100% and "FontIndependentLineSpacing" is set, so just keep the height of the very first line in case of IsFixedCellHeight() too. Change-Id: Id231fc1f2373645e5420f877e8c2568ce8a1f099
2014-06-21Revert "bnc#882631: keep line visible if proportional line spacing is < 100%."Matúš Kukan
This reverts commit 339e5d44a2afa0f5309a970f1ff11968103e336a and commit d1987a3eaccfc3add35e6b9f8307ede857c5468e "fix sd_import_tests after e42c05c1f96832572e525d85d89590f56f5a29dd". It would need more work and understanding, so just revert. Also, the problem with bnc#882631 is somewhere else, though this helped too.
2014-06-17fix sd_import_tests after e42c05c1f96832572e525d85d89590f56f5a29ddMatúš Kukan
Change-Id: Ife852a6c7c360c66a7d7d5b144f18898398505dd
2014-06-16Revert "Make glTF support an experimental feature"Zolnai Tamás
Actually make it experimental mode was unecessary on master. This reverts commit 653bac184f579524bc25a9f40281763a736ae6fd. Conflicts: sd/qa/unit/import-tests.cxx xmloff/source/draw/ximpshap.cxx Change-Id: Ie8747745a9a89ce4d6500a35d15a98e28bda840a
2014-06-16Reduce test doc size, use a simpler gltf modelZolnai Tamás
Change-Id: I5bd78343728f8a4d68610397a7be328826a0334c
2014-06-16Fix gltf export: close plugin element before export fallbackZolnai Tamás
Change-Id: I2e1f27e535ee45259f7bdf783ea5224b2ad559ef
2014-06-16glTF import/export: fallback must be the second one inside the frameZolnai Tamás
The previous solution was good because older LO versions import the fallback image without changing their code, but it came out it does not fit to ODF standard so export fallback image as the second object after the glTF model. Change-Id: Ib9b2044b1f36b32d980cb79f6dac8dcf94d6209b