summaryrefslogtreecommitdiffstats
path: root/dbaccess/CppunitTest_dbaccess_hsqldb_test.mk
Commit message (Collapse)AuthorAgeFilesLines
* (try to) fix dbaccess firebird-related testsRene Engelhard2018-05-111-0/+1
| | | | | | | | | | | | after 1c5c9b84df270e41c68e68bb69fbf183fc20eed2 Move headless check into test and add missing component file for firebird... Also check for ENABLE_FIREBIRD_SDBC... Change-Id: I27ea9fb08ebcce701a54686a8986e5071a8bcf96 Reviewed-on: https://gerrit.libreoffice.org/53940 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* Revert HSQLDB related unit testsTamas Bunth2018-04-141-2/+3
| | | | | | | | | | | | Revert changes making HSQLDB related unit tests test Firebird migration. They should still test the HSQLDB driver. It reverts part of 159dd28651788a19848eae56693ad06ed947414d Change-Id: If2b9207e95055418bd1dc1dc6e472335de311d1e Reviewed-on: https://gerrit.libreoffice.org/52873 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
* dbaccess: fix --without-java build once moreMiklos Vajna2018-04-121-6/+0
| | | | | | | Change-Id: I49bf0f066db8a988ee9a091cac1adf5ebcaa2afe Reviewed-on: https://gerrit.libreoffice.org/52777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* Revert "Remove dead HSQLDB driver"Sophia Schröder2018-04-121-0/+6
| | | | | | | | | | | | | | | We cannot silently convert user data or their used file formats and then await them to accept it or reinstall an older version. Let us make a soft change instead of an hard (heart) break and avoid us to been attacked with fire and forks from our users. This reverts commit 8d381ae8d6c742a7e15bf7ad9e07b65f81728ef6. Change-Id: Ia153640935e355771acb85cf652f8fe4c21fafbb Reviewed-on: https://gerrit.libreoffice.org/52731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
* dbaccess: fix --without-java buildMiklos Vajna2018-04-101-4/+0
| | | | | | | | | Change-Id: I9c1ac64745301deda1501806534f13c1527a33b3 Reviewed-on: https://gerrit.libreoffice.org/52670 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* Remove dead HSQLDB driverTamas Bunth2018-04-101-5/+0
| | | | | | | Change-Id: Id4cfb69079f0150c9cca2626c16df7fab441d916 Reviewed-on: https://gerrit.libreoffice.org/52611 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
* dbaccess: Enable hsql migration by defaultTamas Bunth2018-04-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Also make Firebird driver not experimental anymore. With hsql migration enabled, the hsqldb related unit tests can be reused, because the underlying DBMS is transparent. To achieve that, I added firebird_sdbc component to hsqldb CppunitTest_* files. This commit also contains fixes for upcoming bugs while migrating from hsqldb to firebird, shown by hsqldb related unit tests: - null values: in case of null values, the setNull method should be used instead of nothing. (malformed string otherwise) Remove DBACCESS_HSQL_MIGRATION environment variable, since migration is default from now on. JunitTest_dbaccess_complex was based on HSQLDB. This commit replaces "if exists" hsql specific solution with firebird specific. Also disable test for queries with named parameters. Change-Id: Ieb68f5ad3a11389599c4f268ea4df82a83643b82 Reviewed-on: https://gerrit.libreoffice.org/52008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Bunth <btomi96@gmail.com>
* 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>
* Revert "add missing component"David Tardon2016-11-211-1/+0
| | | | This reverts commit b55d17471f73b843943269c6cbd30f99995d8354.
* add missing componentDavid Tardon2016-11-211-0/+1
| | | | Change-Id: I53d50f8e338fcc64e24370a80ce390f7a2be34ba
* Revert "temp tinderbox fix"Caolán McNamara2016-07-281-0/+1
| | | | | | This reverts commit d4cb9c3a8851cb874fd8b6c77d4d7521da7579b7. Change-Id: Ifd11427ea6b4137d0e0c007e7f140fbc6caa3f31
* 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
* Remove jvmfwk plugin featureStephan Bergmann2014-10-091-1/+0
| | | | | | | ...which was effectively unused; there only ever was a single sunjavaplugin that is now folded directly into jvmfwk. Leaves room for further clean up. Change-Id: I14dd2a3a09bd1ce9a8c3f5c156628ec11d954a0b
* gbuild: require java UNO runtime explicitlyDavid Tardon2014-08-021-0/+2
| | | | Change-Id: I83e468a729ef72b74c2718fe98dd3998dac6c21e
* gbuild: allow a unit test to depend on a jar fileDavid Tardon2014-07-291-0/+4
| | | | Change-Id: I68edf70e41023d3056859d49005c684b7c4e24d6
* Missing runtime dependency of a CppunitTestStephan Bergmann2014-07-291-0/+1
| | | | Change-Id: If4a8761cecde449baa90fff173cc0f094eb755e5
* Avoid undef null-ptr deref of missing "ofa" ResMgr in CppunitTestsStephan Bergmann2014-07-291-0/+3
| | | | Change-Id: Ia0f0282c4418288adf14997234ef393f44fbdabf
* CppunitTests using jvmfwk indirectly need sunjavapluginStephan Bergmann2014-07-091-0/+1
| | | | Change-Id: I0e4408bb8301b5fd5da4ee5f4efab5b1ae4f5ca7
* 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
* fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza2013-10-181-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>
* HSQLDB unit test doesn't depend on firebird.Andrzej J.R. Hunt2013-10-031-1/+0
| | | | Change-Id: I393381984eded19bcd0712c824e4ec0798e60321
* Implement hsqldb loading test.Andrzej J.R. Hunt2013-09-271-0/+79
Change-Id: I7dc6390b1061585054d1fa435414cae245122a1c