summaryrefslogtreecommitdiffstats
path: root/dbaccess/CppunitTest_dbaccess_macros_test.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
* 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>
* trivial makefile cleanupsMichael Stahl2016-11-221-4/+0
| | | | Change-Id: Ida5bdfa06ecd7907305f4f171ca5ab64260d0259
* add uui component to some other placesCaolán McNamara2016-07-271-0/+1
| | | | Change-Id: Ic703b509bac0a57e0780bbb83537e7e4323a79d0
* gbuild: gb_CppunitTest_use_filter_configuration was removedMichael Stahl2015-02-271-2/+0
| | | | | | ... years ago in commit e1b51e7beb7f9cfa7b574b9c2a69799e62963a09 Change-Id: I588370796830dc379f6a004ec7e673b020360eb5
* 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
* Avoid undef null-ptr deref of missing "ofa" ResMgr in CppunitTestsStephan Bergmann2014-07-291-0/+3
| | | | Change-Id: Ia0f0282c4418288adf14997234ef393f44fbdabf
* 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
* Try making it possible to use --disable-avmedia for desktop platforms tooTor Lillqvist2014-04-181-1/+0
| | | | | | Unfinished work in progress. Change-Id: I978755d73630b8653b169a53f937c1332799e22e
* 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>
* fixup the fixup to dbaccess macros_testLionel Elie Mamane2013-11-091-1/+1
| | | | Change-Id: I7cc8b6bd3778158e7c93545bbdcf35cccf986188
* fixup dbaccess macros_testLionel Elie Mamane2013-11-091-0/+4
| | | | Change-Id: Iefb12d8b6fe8b5c9795220f8c7ff90f6ecc92576
* fixup and enable dbaccess macros_testLionel Elie Mamane2013-11-091-2/+5
| | | | Change-Id: Ic5599df7a2ad7f2f3a9f2794b16ef0a4ab698b06
* UnoApiTest don't require CalcLionel Elie Mamane2013-11-091-2/+0
| | | | | | | | | | | | | | | | There is no reason for the generic UnoApiTest to require Calc specifically. Calc tests can/should instantiate a Calc instance. We can create a CalcUnoApiTest for that that inherits from UnoApiTest; however this does not seem necessary, "make sc.clean" succeeds. Anyway, the ScGlobals::ensure mentioned in the comment does not seem to exist. This allows us to eliminate some code duplication in tests that were reimplementing UnoApiTest minus the Calc instantiation. Change-Id: I37bea9df41e3960df0458fe689cf6c046a243617
* 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>
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-22/+4
|
* new module i18nlangtagEike Rathke2013-04-051-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
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* add more runtime deps on resource files for unit-testsMatúš Kukan2012-08-211-5/+0
| | | | Change-Id: Id9bbb2bbcafe335eada3f36ae103a9074a56848f
* gbuild: missing dep on $(OUTDIR)/unittest/registry for testsMatúš Kukan2012-08-101-3/+1
| | | | Change-Id: Ic80f57946e7b3f9c1bd99ed65955cf3c280063d2
* move dependency on localedata_en to i18npoolMatúš Kukan2012-04-121-4/+1
|
* rename gb_CppunitTest_uses_ureDavid Tardon2012-04-081-1/+1
|
* compile- and run-time use of UNO must be splitDavid Tardon2012-04-081-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
* simplify use of configuration from unit testsDavid Tardon2012-04-081-3/+6
|
* always use --protector for UNO testsDavid Tardon2012-04-081-1/+0
|
* drop uses_ureDavid Tardon2012-04-081-2/+0
|
* let use_api handle the use of type rdbs at runtimeDavid Tardon2012-04-081-5/+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?
* gbuild: "use" vs. "add":Michael Stahl2012-04-081-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)
* always pass --headless to cppunitsLuboš Luňák2012-04-021-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
* gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan2012-03-101-2/+2
|
* finish initial work on the Base testMarkus Mohrhard2012-02-121-0/+1
| | | | Base needs the numberformatter to initialize a document
* first part of a c++ based test for baseMarkus Mohrhard2012-02-111-0/+140