summaryrefslogtreecommitdiff
path: root/sw/qa
AgeCommit message (Collapse)Author
2015-04-02sw: [loplugin:stringconstant]Michael Stahl
Change-Id: Idb8a113254574ca5f998980ede91e42f9bd09277
2015-04-02Added test function for Search-and-Replace with TransliterationVarun
This test function checks the search-and-replace operation with some Transliteration Flags enabled. Change-Id: I86e0068e9d91e4fe426f9d6c120baf66e59e2b7e Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-01CppunitTest_sw_ooxmlexport5: try to make MacOSX_37-tdf-buildbot happyMiklos Vajna
Blind fix, can't reproduce the problem locally. Even if the XPath we give explicitly requests one XML node, we get multiple ones: equality assertion failed - Expected: 1 - Actual : 2 - In <file:///var/folders/_n/q7swt8596vz0063kvnql9nrw0000gn/T/luyyyujc.tmp>, XPath ´//w:formProt[1]´ number of nodes is incorrect Change-Id: I380fd077c5740b3045f64a6748dd96d1b213e453
2015-04-01tdf#60060: unit test for docx section protection exportEilidh McAdam
Change-Id: I307466e7336bcf767ebb1ac3bb330cfb2130f84c Reviewed-on: https://gerrit.libreoffice.org/15003 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-04-01Revert "Revert "skip SkipImages unit test on Windows""Michael Stahl
This reverts commit 7ea8046c741c8b7b608f26e312cc5f1056752c09. Unfortunately test still fails on WNT tinderbox but it works for me locally, disable it again.
2015-04-01more testing on the text table descriptionsBjoern Michaelsen
Change-Id: I39bab96587b9c1580dd4d7a92f61f39ed5d3b754
2015-04-01give each test an own docBjoern Michaelsen
Change-Id: I89906cfef234c51f117f06eca0dbb4101cce6b01
2015-04-01Revert "skip SkipImages unit test on Windows"Michael Stahl
This reverts commit dae63f3dd8216aea7f6b594433b180d633d5551d. Crash should be fixed by fae6699c2ec8d68766bb8d5f71483d4b65792327
2015-03-31skip SkipImages unit test on WindowsLászló Németh
(temporarily, while fixing the segmentation fault in Tinderbox) Change-Id: Iddc1a14b0cdd8a20ac90fff175e99f60972672a1
2015-03-30add Python test for table describtionsBjoern Michaelsen
Change-Id: Ie7637b8cf26e663bbb47f0df9fdb441a8af754c5
2015-03-30cleanup for SkipImages unit testsLászló Németh
Change-Id: I2232fda0acdc7e677e1da278405a8a4c90e00659
2015-03-30Bypass test that fails on OS X without window system accessTor Lillqvist
With this change, 'make' now succeeds for me when logged in through ssh to a Mac where I am not logged in on the console or through Screen Sharing. Change-Id: I8aa7f3174b00544fa8e399c8d4dcd9cc801e0dc0
2015-03-30Unit tests for SkipImagesLászló Németh
SkipImages filter option skips image loading during DOC and DOCX imports, but it keeps the text of textboxes and custom shapes. Change-Id: Ia0ab3b350b9da22d9375787883678cc357a704b3
2015-03-26tdf#89496 fixed crash on rtf shape group parsingVasily Melenchuk
Fix is actually partial revert of my changes done for tdf#49893 (commit 2c411e4487f24968d6a62958fec85e4e3e1fda93): shape groups were not taken into account Change-Id: Ieb442265ac7c0087c3a402a9f1b09e6b3dcbcac1 Reviewed-on: https://gerrit.libreoffice.org/14997 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-25TyposJulien Nabet
Change-Id: I434be0034b26ac4719590238817538ecd90b8923
2015-03-25Maybe this helps TB56?Stephan Bergmann
Change-Id: I209fcc9277d8efe27608b7e858f16fa31a6973b2
2015-03-25also test HasOnlyOneListener and HasWriterListenersBjoern Michaelsen
Change-Id: Iad352a07aa0bb04c031a16fe89d6a83e2502bcf1
2015-03-24Bypass on OS X, tooTor Lillqvist
Change-Id: I845dd13427181b7b3ca0aded2d5ece3af4c21be6
2015-03-24Blind attempt to fix the Windows tinderbox.Jan Holesovsky
2015-03-24loplugin:stringconstantStephan Bergmann
Change-Id: I5fd84f0ab85c94831a9064561423a4634a9ac2ab
2015-03-24tdf#89405 DOC export: fix corrupted comment orderPiet van Oostrum
Code for correctly exporting a Writer document with comments to a MS Word 97-2003 .doc format. Also includes a unit test. Reviewed on: https://gerrit.libreoffice.org/14841 Change-Id: I9f8f4fa466908335d98c43bd7d3e387bfe9baf6a
2015-03-24Executable_tiledrendering is obsolete and can be killedTor Lillqvist
Change-Id: I4159adb321a939126a0577a48e5917be5825557e
2015-03-23Quick hack to bypass a test that fails on a Retina MacTor Lillqvist
Change-Id: If4bda345cae62b8f7c809ea8bd56913d436602b6
2015-03-23disable asserts for some HTML export image properties valuesTomaž Vajngerl
The values are DPI dependent and the test fails if the system DPI is set to anything else than 96. Change-Id: I548a193b3c98dc5181539eca40064a52ec15efe7
2015-03-23-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: Iad15e1e9df25fdace5ca17dde71eb1e9a25ee13e
2015-03-23Add SwXTextDocument::registerCallback() testcase.Miklos Vajna
Change-Id: I435bb683bae1634f156b3912e6120d479a917b00
2015-03-23Add SwXTextDocument::postMouseEvent() testcase.Miklos Vajna
Change-Id: I8cb072b81e005e435577b617204e02fa94ff9f88
2015-03-22Related tdf#89791: Add unit testJulien Nabet
Change-Id: Ibc9ec6c5efad30d344e73141a0b6e77b3871fc17 Reviewed-on: https://gerrit.libreoffice.org/14818 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-03-21avoid crash on layout of ooo77837-1.odtCaolán McNamara
by attempting to set the parent as un-joinable for the duration of the Cut/Paste in order to ensure it survives the process ==14185== Invalid read of size 8 ==14185== at 0x27AB1CF4: SwLayoutFrm::Lower() (layfrm.hxx:108) ==14185== by 0x27FE3FD4: SwFlowFrm::PasteTree(SwFrm*, SwLayoutFrm*, SwFrm*, SwFrm*) (flowfrm.cxx:455) ==14185== by 0x27FE4597: SwFlowFrm::MoveSubTree(SwLayoutFrm*, SwFrm*) (flowfrm.cxx:584) ==14185== by 0x2801CF8B: SwCntntFrm::MoveFtnCntFwd(bool, SwFtnBossFrm*) (ftnfrm.cxx:2753) ==14185== by 0x27FE7C29: SwFlowFrm::MoveFwd(bool, bool, bool) (flowfrm.cxx:1795) ==14185== Address 0x11a74da8 is 168 bytes inside a block of size 288 free'd ==14185== by 0x2808CAC8: SwSectionFrm::~SwSectionFrm() (sectfrm.cxx:153) ==14185== by 0x2808DCC5: SwSectionFrm::MergeNext(SwSectionFrm*) (sectfrm.cxx:453) ==14185== by 0x2808EC4B: SwSectionFrm::MakeAll() (sectfrm.cxx:713) ==14185== by 0x27FCD000: SwFrm::PrepareMake() (calcmove.cxx:306) ==14185== by 0x27DCAAC1: SwFrm::Calc() const (frame.hxx:996) ==14185== by 0x27FE3EB9: SwFlowFrm::CutTree(SwFrm*) (flowfrm.cxx:418) ==14185== by 0x27FE4577: SwFlowFrm::MoveSubTree(SwLayoutFrm*, SwFrm*) (flowfrm.cxx:583) ==14185== by 0x2801CF8B: SwCntntFrm::MoveFtnCntFwd(bool, SwFtnBossFrm*) (ftnfrm.cxx:2753) ==14185== by 0x27FE7C29: SwFlowFrm::MoveFwd(bool, bool, bool) (flowfrm.cxx:1795) Change-Id: If96d845fdf22726df513b0dabd2764ad60c85987
2015-03-21Avoid C style cast in sw_globalfilter testZolnai Tamás
Change-Id: I8d05a73728875ccd51cb9e5f9c7ad9f60677bf67
2015-03-21Char highlight: convert LO character background to MSO highlightingZolnai Tamás
DOC export has a good approximating algorithm for that so use it everywhere. In RTF case use the default color table which is added also by MSO Word. With that highlight colors are also added to the table. Change-Id: Ie4827a933c316d4dc0c0c7a32d8cf319477d1bf9
2015-03-21Char highlight: test related to editing of MSO background attributesZolnai Tamás
Change-Id: I39828754284b0e3d43d043a9695f81d404b4e0aa
2015-03-21Char shading: use a marker for character background imported from MSO shadingZolnai Tamás
* So MSO format export filters can recognize that it should be exported as shading. * Editing in LO removes this shading marker, so from that point there will be an LO character background. Change-Id: I853b952f0395b33d36bb2934a6d910f2182cc1d9
2015-03-21Char highlight: export character background to MSO formats based on settingsZolnai Tamás
Change-Id: Iaaf9e7ee5e61cfabb0d675b83fa71776dece87e2
2015-03-21Char highlight: ODT filtersZolnai Tamás
Export merges the two background attribute. Change-Id: I882321fbd5a7d24991fb01b8dc9d2cc0bd294051
2015-03-21Char highlight: DOC filtersZolnai Tamás
Change-Id: Ia609425f6753796091d4dfdfae8e621c062e0c15
2015-03-21Char highlight: RTF filtersZolnai Tamás
Handle \highlightN and \chcbpatN separately. Change-Id: I20546bd4c26154e8b1168f87dcb4ab44a192ad83
2015-03-21Char highlight: enable DOCX importZolnai Tamás
Disabled by: b5e60724ac73bb0e62b249145a8931fd6166bb69 Change-Id: Ifde33d53198306eac845db6c269d337fa051f6ab
2015-03-20more testcodeBjoern Michaelsen
Change-Id: I6bce3350385adfa02c0501d98762e16d66f0b490
2015-03-20copy a full OtherTestClient implementationBjoern Michaelsen
Change-Id: I3d72385ae643bec9623fd2e8f406504a20b4142c
2015-03-20fix a bunch of crashtest import failuresCaolán McNamara
as far as I can tell this has been broken since commit 118dfcf180d2d5a2d015ebb5f0082962773b7d24 Date: Thu Apr 17 15:07:52 2003 +0000 <SwSectionFrm::CalcFtnCntnt()> - consider that footnote/endnote can move with a private bug id so not currently possible to find out what the original problem to be solved was, so revert that and lock this down with an import test and maybe we will flush out the original problem eventually. Change-Id: I2af13b9b5875928aa157d47be0aaff2836ba38e1
2015-03-20Staroffice->StarOfficeCaolán McNamara
Change-Id: I10055b9d448115c1699c82a0e86cfd6ed709b648
2015-03-20Fix various loplugin warningsStephan Bergmann
Change-Id: I1c8734ad157a0570ab7829e4d0990c806918d2b1
2015-03-20add unittestBjoern Michaelsen
Change-Id: Iba119145155ee13067565b1f314c85b0e6a8de85
2015-03-19convert SFX_FILTER_ constants to enum classNoel Grandin
Change-Id: I7e53cfc90cefd9da7d6ecd795b09214bd44b1613
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-16CppunitTest_sw_tiledrendering: disable part of testSetGraphicSelection on OS XMiklos Vajna
Till we find out why tb60 is happy, but not tb59. Change-Id: I5c6b3ba07cc188e776c03508d1a1c696a9b9cd0c
2015-03-16Add SwXTextDocument::setTextSelection() testcaseMiklos Vajna
Change-Id: Id986d5408981b6ae7bf3c8c96c5226d2445a5f0d
2015-03-16Add SwXTextDocument::setGraphicSelection() testcaseMiklos Vajna
Change-Id: I172ef9f5cfdae8cbff88419171c5b8ad55fb194c