summaryrefslogtreecommitdiffstats
path: root/chart2/CppunitTest_chart2_import.mk
Commit message (Collapse)AuthorAgeFilesLines
* migrate to boost::gettextCaolán McNamara2017-07-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
* No reason to silently misbehave when these UNO services are missingStephan Bergmann2017-07-181-0/+1
| | | | | | | ...which e.g. made it unnecessarily hard to track down 7a23668e4f4e235c7a4e1c99e38506bd9c874be8 "Fix CppunitTest_cppcanvas_emfplus" Change-Id: I2f537fabb067b77e82b900bd2cba30fd65c275aa
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-211-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>
* Revert "temp tinderbox fix"Caolán McNamara2016-07-281-0/+1
| | | | | | This reverts commit d4cb9c3a8851cb874fd8b6c77d4d7521da7579b7. Change-Id: Ifd11427ea6b4137d0e0c007e7f140fbc6caa3f31
* tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko2016-06-091-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>
* gbuild: CppunitTest: always use unittest configurationMichael Stahl2015-02-271-2/+0
| | | | | | | | | | | | | The sc_subsequent_filters_test was failing because of a lock file because it did not use the unittest configuration. Refactor gb_CppunitTest_use_configuration so it uses both the instdir and unittest configuration to prevent such errors. In case there ever is a test that does not work with the unittest configuration it should call gb_CppunitTest_use_instdir_configuration. Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e
* Missing dependencyStephan Bergmann2015-02-181-0/+3
| | | | Change-Id: I4b66f7e549fe318f61b5ec8127ca073b2eb19ed3
* Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist2014-10-221-1/+1
| | | | | | | | Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
* Track all uses of ErrorBarX and ErrorBarY UNO property names.Kohei Yoshida2014-06-261-0/+1
| | | | Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7
* fdo#79676: Write unit test for this.Kohei Yoshida2014-06-101-0/+4
| | | | | | Added a whole bunch of missing component files for handling flat ODF. Change-Id: Ib9d84be14327a1fd9ff64573ba1f6ba90e0bfc56
* DeInitVCL at end of testsStephan Bergmann2014-06-041-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
* Simplify type detectorsMaxim Monastirsky2014-05-011-0/+1
| | | | | | | Change-Id: Ic731c1c4c76d8d6779868d7e3e4c02cb3cadc844 Reviewed-on: https://gerrit.libreoffice.org/9222 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
* Try making it possible to use --disable-avmedia for desktop platforms tooTor Lillqvist2014-04-181-1/+0
| | | | | | Unfinished work in progress. Change-Id: I978755d73630b8653b169a53f937c1332799e22e
* svx: Use constructor feature for SvXMLGraphicImportExportHelper.Matúš Kukan2013-12-311-0/+1
| | | | Change-Id: Icc281ece80b81cdd95b6660c6a82077d283f5a62
* Added OOXML Unit Test framework for Chart module for export.Pallavi Jadhav2013-12-131-1/+5
| | | | | | - Referred functions from sw module. Change-Id: I3ae90d40d92de0d67623e73e1676dabcc8a413f6
* fdo#60698: Merge fastsax and sax_shared into expwrapMarcos Paulo de Souza2013-12-111-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>
* Unit test for Docx Chart Series NameVinaya Mandke2013-11-011-0/+1
| | | | | | | | | | UT to verify that the series labels are imported (or rendered) as in the docx file. Change-Id: I9e4ade7a905dbb894bc163ecec8c333fa6797818 Reviewed-on: https://gerrit.libreoffice.org/6502 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Unit tests for Chart Series NameVinaya Mandke2013-10-301-2/+11
| | | | | | | | | | | | Added UTS to verify the series names (Labels) for chart series for following- * xls, xlsx, ods * odt Change-Id: I4575a2e7ada9d4cf8b3fa708bd313f9d16244f65 Change-Id: Id291b49bf7547ee7264eb7c0751e416d20ca1e54 Reviewed-on: https://gerrit.libreoffice.org/6383 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza2013-10-181-2/+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>
* gbuild: use .xcd configuration files from instdirMatúš Kukan2013-10-011-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>
* fix unit test failureCaolán McNamara2013-09-201-0/+1
| | | | Change-Id: Icfed3fca931b2d6129b510b6a35a913e88c80778
* Fix namingStephan Bergmann2013-05-131-0/+118
Change-Id: Ib2f9577429a4b9b97540de1eb40837ddafdc05b5