summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_filters_test.mk
AgeCommit message (Collapse)AuthorFilesLines
2018-05-31SwModule is a convenient (?) place for passing events to Automation clientsTor Lillqvist1-1/+5
Generate Application.DocumentChange and Application.Quit events. SfxHintId::DocChanged seems to correspond nicely enough to Application.DocumentChange. It is generated a bit eagerly, but as its documentation is fairly vague and no specific detailed information is passed in parameters anyway, it probably doesn't hurt if a client gets it a bit more often with LO than with some other product. Can now remove the FIXME-marked Quit event things in SwVbaApplication. Now need oovbaapi in many makefiles for them to compile. Change-Id: I4d0c5b93b584f198bcc854002eec7aaba7909ecc Reviewed-on: https://gerrit.libreoffice.org/55106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl1-0/+1
This is preparing to change how GraphicManager works where it won't base itself around GraphicObject anymore but Graphic. No functional or cosmetic change was made to the classes, only changes that were needed because of the move and rename. The only thing that wasn't moved is the GraphicRenderer as it is not needed in vcl for now (but makes sense to move it in the future to keep graphic stuff together). grfmgr was renamed to GraphicObject as the GraphicManager will be changed a lot and most likely moved out, so the name grfmgr won't make any sense anymore. All the UNO implementations were renamed with a prefix Uno and used the same name as the class name. This is made to be more specific which are the Uno objects (for example graphic.cxx contained the implementation of XGraphic, which is similar to graph.cxx contains Graphic). Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137 Reviewed-on: https://gerrit.libreoffice.org/51068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-12-15Apparently missing dependencyStephan Bergmann1-0/+1
Some bots (the Jenkins lo_ubsan, some Jenkins Gerrit Build v2 macosx_clang_dbgutil builds) recently started to fail CppunitTest_sw_filters_test at least sporadically with an abort() from Scheduler::ProcessTaskScheduling (vcl/source/app/scheduler.cxx). ba81ac19b7aec4fd7f07fcec9f6ea6f85d9aaa24 "Report more debug information about caught exception" reveals that at least <https://ci.libreoffice.org/job/ lo_gerrit/24197/Config=macosx_clang_dbgutil/console> fails because of > warn:vcl.schedule:90989:529951052:vcl/source/app/scheduler.cxx:452: Uncaught com.sun.star.uno.DeploymentException component context fails to supply service com.sun.star.embed.FileSystemStorageFactory of type com.sun.star.lang.XSingleServiceFactory Due to the unfortunate try-catch in Scheduler::ProcessTaskScheduling it is hard to tell where the failure originates (and it only hits some bots and I at least can't reproduce it locally), but lets assume that a dependency on svl/source/fsstor/fsstorage.component is indeed missing, but manifests as a failure only in some cases (for whatever reason). Change-Id: I91214490ac6aab99a281c745ba4b2d138b12ddd1
2017-07-18No reason to silently misbehave when these UNO services are missingStephan Bergmann1-0/+1
...which e.g. made it unnecessarily hard to track down 7a23668e4f4e235c7a4e1c99e38506bd9c874be8 "Fix CppunitTest_cppcanvas_emfplus" Change-Id: I2f537fabb067b77e82b900bd2cba30fd65c275aa
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky1-1/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-09-01Missing dependency of test on instdir/share/template/common/internal/html.stwStephan Bergmann1-0/+3
...when testing sw/qa/core/exportdata/html/pass/cp1000068.odt, leading to the problem described in bf3c6237bb110d3eb84970e44593a7880e2e8536 "pTemplate can probably be null here" Change-Id: Ic96fabb3cab83b005a1ebae573a5bf4549270603
2016-08-18screenshots: unify dumping of dialog test batch fileArmin Le Grand1-2/+0
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
2016-08-18screenshots: add dialog test cases for writerArmin Le Grand1-0/+2
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-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko1-4/+1
This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2015-12-02DOCX export: handle <w:smartTag>Miklos Vajna1-0/+1
A Writer document can have multiple arbitrary RDF graphs, handle the following subset: - instead of handling all graphs, have a whitelist, look at the TSCP graph the DOCX importer creates - look for (paragraph, key, value) statements and export those Change-Id: I142c24fb4c8140bde5fc1efad2932886de167b90
2014-11-10602 regression testCaolán McNamara1-0/+1
Change-Id: I044b9b445a7911e77424613145c7e4d152789f44
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-03-09this dir doesn't exist anymoreCaolán McNamara1-1/+0
Change-Id: Ie861b7db8a507177b330ade23e94771a0811c2f9
2013-12-18SwFiltersTest::filter: detect import filter on export testMiklos Vajna1-0/+2
This allows e.g. crash-testing the RTF export, even if the input source is not RTF but ODT. Change-Id: I3cf6afd1bc44bb475f1bd8da622d10dac0d3baa6
2013-12-17fdo#61638 SmParser::NextToken: don't crash on ending dotMiklos Vajna1-0/+1
Change-Id: Ia9c168e52a99286910c9e63e0e052671c5259ba8
2013-12-11fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza1-1/+0
Change-Id: I6f8c6827c00db50184a46f39968f882b944d18d4 Reviewed-on: https://gerrit.libreoffice.org/6967 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza1-1/+0
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-01gbuild: use .xcd configuration files from instdirMatúš Kukan1-2/+0
..instead of .xcu files in solver/*/xml/registry when running unittests and gengal. Change-Id: I390a6c531d653acca7ef3379c49fe65fcb8f3c2a Reviewed-on: https://gerrit.libreoffice.org/6057 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-09-05tinderbox is unhappy, let's link sot in this testMichael Stahl1-0/+1
Change-Id: I428545774544826be82459791e2d29d8195d1eb5
2013-07-09add some nasty html testcasesCaolán McNamara1-0/+1
Change-Id: Icc3f40475415433955a3735b7a8228a9fcc1a7a0
2013-07-09fdo#65932 testcaseMiklos Vajna1-0/+1
Change-Id: I7105b85f063be801caa3cd397fcdfa24e74caa28
2013-05-07sw_filters_test: add support for ooxml filesMiklos Vajna1-0/+7
The motivation is that if -- after fixing a crash -- the document looks OK, then all the paperwork in the ooxmlimport isn't necessary, just drop in the file to qa/core/data/ooxml/pass/, and we're done. Change-Id: I2287189bd3c49c5e53489f9d89a6341685359b33
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-22/+4
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-07fdo#46808 use document::DocumentRevisionListPersistence constructorNoel Grandin1-0/+1
Change-Id: I1a591ec4061c73657c26552d41c58b970696038f
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-1/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26CppunitTest_sw_filters_test: use externalMichael Stahl1-4/+2
Change-Id: I915d22fb2d6937a276a35b67bac0eb8b925596f1
2012-11-01rework filters test to squeeze through extra flagsCaolán McNamara1-0/+2
that are needed to load .odt, .sxw etc files, and add a regression test for CVE-2012-4233 Change-Id: Ie178725ded3d76942030d12f23074de519cf62de
2012-10-31sw unis tests: added basic/util/sb where neededCédric Bosdonnat1-0/+1
Change-Id: I3a16f891b099f80bc3a606ed821d7301fc446653
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin1-0/+1
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-08-21add more runtime deps on resource files for unit-testsMatúš Kukan1-2/+0
Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
2012-07-20android: x86 porting work.Michael Meeks1-2/+1
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-0/+1
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-04-12move dependency on localedata_en to i18npoolMatúš Kukan1-5/+0
2012-04-09xmlhelp not built for non-desktop OSesTor Lillqvist1-1/+2
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon1-1/+1
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon1-0/+2
There are unit tests that do not use URE, e.g., in cppuhelper. This reverts commit 33e9f3d3d6b29545ef9df3f5334c015e15caa5c8. Conflicts: sot/CppunitTest_sot_test_sot.mk svl/CppunitTest_svl_urihelper.mk
2012-04-08clean upDavid Tardon1-2/+1
2012-04-08simplify use of configuration from unit testsDavid Tardon1-3/+1
2012-04-08always use --protector for UNO testsDavid Tardon1-1/+0
2012-04-08drop uses_ureDavid Tardon1-2/+0
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon1-4/+0
Or is there any use case where we would need to use UNO API headers, but not require the appropriate type database at runtime?
2012-04-08gbuild: "use" vs. "add":Michael Stahl1-4/+4
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-07path changed after gbuild conversionDavid Tardon1-4/+1
2012-04-02always pass --headless to cppunitsLuboš Luňák1-1/+0
They should not need any actual UI anyway, and most of them already pass the option manually. http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan1-2/+2
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan1-1/+0