summaryrefslogtreecommitdiff
path: root/svtools/qa
AgeCommit message (Collapse)AuthorFilesLines
2017-02-14vcl pdf import: change test documents to test bitmap fallbackMiklos Vajna1-0/+0
I.e. the test documents now reflect what is created by LO if you insert a PDF image into a document manually on master. Change-Id: Ibacce15220a21b159b5e987678c381a98a29fd1a
2017-02-13vcl pdf import: use pdfium instead of draw_pdf_importMiklos Vajna1-1/+1
Replace creating a full Draw component with direct pdfium library calls. This also means that the result is now a bitmap, not a metafile for now. Also decouple HAVE_FEATURE_PDFIMPORT and HAVE_FEATURE_PDFIUM, the first is the "import PDF into Draw" feature, the second is the "insert PDF as image" feature. Change-Id: I72c25642ec84cc831df362e02b1520c6e6d9adcf Reviewed-on: https://gerrit.libreoffice.org/34217 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-09second arg of deformed copy ctor isn't usedCaolán McNamara1-1/+1
except in the qa test Change-Id: I84d1a06194e4c11b218c417663f12195c9f76526 Reviewed-on: https://gerrit.libreoffice.org/32890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-06loplugin:unnecessaryoverrideStephan Bergmann1-5/+0
Change-Id: Iac074bd6f59d2fc890459b45801d0a6143c3eb9e
2016-11-15Fix typosSamuel Mehrbrodt1-1/+1
Change-Id: I3e38b1d445c368c28e807202b94c603bd2b2c672 Reviewed-on: https://gerrit.libreoffice.org/30872 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-10'make screenshot' use-after-free fixesStephan Bergmann1-2/+2
Change-Id: I4302d0d767a1bf50fd34a78e9aa0ad6d6b0c7a22
2016-11-10'make screenshot' loplugin fixesStephan Bergmann1-8/+1
Change-Id: Ibebcd1c1ebfea0ecdf9d90b6f8bcc8ceb87df456
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann1-2/+2
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
2016-08-18coverity#1371121 Unchecked return valueCaolán McNamara1-2/+2
Change-Id: I1413b62112922af8d6872de413ca7decc0d75875
2016-08-18screenshots: unify dumping of dialog test batch fileArmin Le Grand1-74/+2
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
2016-08-18screenshots: add dialog test cases for svtoolsArmin Le Grand2-0/+195
All *.ui files create a screenshot, but not all look useful Change-Id: I7a7a6c3ab38e8890404082dd359ff5f4f1ebf9fd
2016-07-22Fix --disable-pdfimport buildMiklos Vajna1-0/+2
Change-Id: Ida06b892aea92cfe26fd62372e21ca611d8838d3 Reviewed-on: https://gerrit.libreoffice.org/27447 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-29vcl: handle PDF data in Read/WriteImpGraphic()Miklos Vajna2-0/+34
Initially I wrote the test to cover f7d6f3e4e3fda3cd4936880918e2831246634a3e (svtools: survive swapout/in of graphic with embedded pdf, 2016-06-28), but as it turns out the actual swapin/out code is in vcl, so extend that as well to support pdf data. Change-Id: I320ea729dce9440b84a5089607807322ea7b0b04 Reviewed-on: https://gerrit.libreoffice.org/26755 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-05-27Convert GRAPHIC to scoped enumNoel Grandin1-3/+3
Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-10Extract Directories from BootstrapFixtureBaseStephan Bergmann1-5/+5
(as some tests derive from the latter only for the Directories part, not for the setUp/tearDown overrides: those tests will be cleaned up next) Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f Reviewed-on: https://gerrit.libreoffice.org/23078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-07tdf#97703 removed empty setUp/tearDown methodsChirag Manwani1-4/+0
Change-Id: I244d481bce4723d172e26c0d31aab0a541334604 Reviewed-on: https://gerrit.libreoffice.org/22959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-02-08loplugin:unusedmethodsNoel Grandin1-112/+3
using an idea from dtardon: <dtardon> noelgrandin, hi. could you try to run the unusedmethods clang plugin with "make build-nocheck"? that would catch functions that are only used in tests. e.g., i just removed the whole o3tl::range class, which has not been used in many years, but htere was a test for it... <noelgrandin> dtardon, interesting idea! Sure, I can do that. Change-Id: I5653953a426a2186a1e43017212d87ffce520387 Reviewed-on: https://gerrit.libreoffice.org/22041 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-6/+6
Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2-2/+2
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-09-17unused headersCaolán McNamara1-1/+0
Change-Id: I59d274951a8b81c091993277f433359834851a0c
2015-08-26convert Link to TypedNoel Grandin1-3/+3
and make it statically allocated, no point in dynamically allocating such a small object Change-Id: If476bf5dc1e0d535383d16bc49c8d567776f16cd
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-1/+1
Change-Id: If8783896136470a0664f1cbac061e30576ef96a4
2015-03-02coverity#1272391 Dereference null return valueCaolán McNamara1-0/+1
Change-Id: Id1c5a498ff5c25eefe2573e695f66d8922213f92
2015-02-23Missing disposeStephan Bergmann1-0/+2
Change-Id: If050113552ce331252b3046830a5583c66729531
2015-02-22Test for tdf#88935Zolnai Tamás1-0/+66
Change-Id: I625a59a632c53c77f593268b14e60ab265e5a821
2015-02-07tdf#88836: UI: in-form navigation bar icons goneZolnai Tamás1-0/+11
Regression from: 6419c745e5e9802da264250d5e131fb9a3b6e4de Revert it and use IsEmpty() instead of operator!(). Change-Id: Icc4f5dbba848a1d4ef807e598f0aa3b940459c82
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara1-1/+1
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2014-11-21coverity#1255389 Dereference null return valueCaolán McNamara1-0/+1
Change-Id: I3b2a4e69a1c86d9b9ce9f51d6f321bda9e18f8b5
2014-11-20Dispose document when doneStephan Bergmann1-0/+2
Change-Id: I7b15220568717e159f119e79da0016cbc88873cf
2014-11-18Missing parenthesesZolnai Tamás1-1/+1
Change-Id: Id6c096d09b984039d54a1d152cf0da594aaf203d
2014-11-18This test become unreferenced by accidentZolnai Tamás1-8/+1
See: c454a0cd0cc7b315b1353b151a2e95654df72c69 and 46eb0952f1e2d75b427bdcd553c33027f1e44e8f Change-Id: I811f1c52f8a9fba28bc4f38fd1ad34826b2bd45e
2014-11-18Fix broken GraphicObjectTestZolnai Tamás1-1/+1
Change-Id: I3f7e0ccd5697a4ca6026bec60210e24af25fb92f
2014-11-17loplugin:unreffunStephan Bergmann1-4/+2
Change-Id: Ifc7377fe1bb68b21e462818248706f53347b39b1
2014-11-17WaE: unused variablesTor Lillqvist1-2/+2
Change-Id: I82570a716a0dba6c466bc754ce66ac53e7c17efa
2014-11-17WaE: Unreferenced function definition [loplugin:unreffun]Tor Lillqvist1-0/+10
Change-Id: I55d6d1d403622e5ec04c29dd407274cf9db20c40
2014-11-16Test for size based auto swap out mechanismZolnai Tamás2-2/+106
Change-Id: Iff0942b9b545f27dd74b73bee3f8ac785539867d
2014-09-22Extend HTMLWriter: flush the stack, more values for attribute(..)Tomaž Vajngerl1-0/+124
Change-Id: I733426ba5f82ee25751387f88942dbc66689821d
2014-07-24it seems that CPPUNIT_PLUGIN_IMPLEMENT can't be in nsDavid Tardon1-2/+2
Change-Id: If0d2622b5d64ccd821ff29356d545d59f5017d21
2014-07-24add test for swapping of GraphicObjectDavid Tardon2-0/+129
Change-Id: I341f52e5dfedb61130545cf30ff61e891abc7e04
2014-04-06WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist1-1/+1
Change-Id: I6d38c9b389ce2c5d196e372fd6ae5ad7ac0a03af
2014-04-06Introduce HtmlWriter unit tests.Tomaž Vajngerl1-0/+169
Change-Id: Icb39dde433124d444c48761e074f6b839a043d4e
2013-03-14stray test .png left behindCaolán McNamara1-1/+0
Change-Id: If0a0d61b58ecc46d5ba04951cd278d275fdf25e7
2013-01-04Move GraphicFilter class to vcl.Jan Holesovsky65-126/+0
Change-Id: I2318eeda59cee1cfdb074f9a90fd7d8d80aab19f
2012-12-11add regression test for EDB-23279Caolán McNamara1-0/+1
Change-Id: I9d31602750dc6516b7bee5c0796328cee07b10ea
2012-11-19re-base on ALv2 code. Includes:Michael Meeks1-0/+18
Patch contributed by: Jurgen Schmidt remove onlineregistration with dependencies http://svn.apache.org/viewvc?view=revision&revision=1240245 imported patch package_eventlistener.patch http://svn.apache.org/viewvc?view=revision&revision=1172103 Patch contributed by Pedro Giffuni Accept Google Chrome OS fonts as equivalent to MS fonts. http://svn.apache.org/viewvc?view=revision&revision=1233155 http://svn.apache.org/viewvc?view=revision&revision=1233408 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i114600#: remove forbidden characters from list of unencoded characters http://svn.apache.org/viewvc?view=revision&revision=1172370 Patches contributed by Oliver Rainer-Wittman some clean up in JPEGReader due to memory constraints http://svn.apache.org/viewvc?view=revision&revision=1299729 119114 - method <UpdateDialog::addSpecificError(..)> - create entry with correct type http://svn.apache.org/viewvc?view=revision&revision=1305265 Patches contributed by Ariel Constenla-Haile i118707 - make toolbar control's popup window grab focus http://svn.apache.org/viewvc?view=revision&revision=1225846 Patches contributed by Herbert Duerr #i118662# remove usage of BerkeleyDB in desktop module http://svn.apache.org/viewvc?view=revision&revision=1213171 minor cleanups in dp_persmap.* http://svn.apache.org/viewvc?view=revision&revision=1215064 flush early to prevent problem with extension manager not cleaning up its objects http://svn.apache.org/viewvc?view=revision&revision=1228147 i118726 do not flush *pmap file while reading it http://svn.apache.org/viewvc?view=revision&revision=1230614 #i119048# migrate BDB extension entries using a simple heuristic http://svn.apache.org/viewvc?view=revision&revision=1300972 #i119048# handle edge cases when importing BDB hash files http://svn.apache.org/viewvc?view=revision&revision=1301428 #i119113# fix of-by-one when importing BDB files http://svn.apache.org/viewvc?view=revision&revision=1305420 restore our encryption settings, icon themes, and dictionaries. removed wrapper hacks, kill obsolete bundled extension blob / pre-registration handling, remove duplicated quickstart code. remove OS/2 conditionals.
2012-11-14add regression tests for .bmps/.rles including EDB-22680Caolán McNamara9-0/+6
Change-Id: If351421b9de11870bb81010626377db8585a1edd
2012-11-01rework filters test to squeeze through extra flagsCaolán McNamara1-2/+5
that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-07-30add in some more filter testsCaolán McNamara1-0/+1
Change-Id: I79beed272a6b3bb27d78563db70f66bcf620df8c
2012-07-30add in some more filter testsCaolán McNamara1-0/+1
Change-Id: If3809196c577cda7a392ac9eae3b4fa411313b5c
2012-07-27add regression test for gif that nobbled XnViewCaolán McNamara1-0/+0
Change-Id: Ib5d456fa8e10a680ab79dd60bca99b37d0859078