Commit Graph

37 Commits

Author SHA1 Message Date
Jochen Nitschke
febbad7263 cleanup unused css/frame/* includes
Change-Id: I173a29fd1ee889127369d2bc2fce8e010b89ca65
Reviewed-on: https://gerrit.libreoffice.org/38633
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-12 13:05:38 +02:00
Lionel Elie Mamane
860ecb9e58 require firebird 3.0 for build (don't allow 2.5)
Keep firebird_integer_x64le.odb around for a future 3.x firebird that
will allow opening Firebird 2.5 databases, so that we can test this
capacity in our tests.

Change-Id: I05dbef51284bdb25132ff6cb661659430eea6a92
2017-01-05 13:00:40 +01:00
Stephan Bergmann
da42fabff4 Dispose document when done
Change-Id: I73a1cb1c206a2f55ec0c8948fca29b3976a51e75
2016-12-22 10:50:07 +01:00
Stephan Bergmann
9b8fb82150 loplugin:unnecessaryoverride
Change-Id: Iac074bd6f59d2fc890459b45801d0a6143c3eb9e
2016-12-06 10:20:01 +01:00
Samuel Mehrbrodt
ec4e48c750 Fix typos
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-15 14:51:34 +00:00
Stephan Bergmann
8cfa3f4b52 'make screenshot' use-after-free fixes
Change-Id: I4302d0d767a1bf50fd34a78e9aa0ad6d6b0c7a22
2016-11-10 22:00:41 +01:00
Stephan Bergmann
d543b4df80 'make screenshot' loplugin fixes
Change-Id: Ibebcd1c1ebfea0ecdf9d90b6f8bcc8ceb87df456
2016-11-10 22:00:41 +01:00
Miklos Vajna
40f0ae88bc dbaccess: fix loplugin:cppunitassertequals warnings
Change-Id: Ia450aa3170a21424fce641d3c8dee43b49f8ef61
Reviewed-on: https://gerrit.libreoffice.org/28609
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-09-02 08:31:27 +00:00
Armin Le Grand
2a5ac6f634 screenshots: unify dumping of dialog test batch file
Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
2016-08-18 02:39:15 +02:00
Armin Le Grand
daf841bff7 screenshots: add dialog test cases for dbaccess
One dialog makes the execution hang, seems to wait for some interaction

Change-Id: I68ef4f9b2a1575a6c70238f82eb27ee87aaae336
2016-08-18 02:39:13 +02:00
Michal Kubecek
de899f0b35 connectivity: firebird: use ODS12 test database for Firebird 3
Firebird 3.0 uses new database file format (ODS, On Disk Structure) so
that we need to use either ODS11 or ODS12 version of test database for
dbaccess_firebird test, depending on whether building against Firebird
2.5 or 3.0 libraries.

Change-Id: Idecdc35b0ac87ab7f46cb79b5c044c65423a2c7e
Reviewed-on: https://gerrit.libreoffice.org/25846
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-06-03 17:08:32 +00:00
Stephan Bergmann
29da3a4a71 Remove erroneously added dbaccess/qa/unit/data/hsqldb_empty.odb.lck
...from 9e596250a6 "tdf#97966  Drop static keywords"

Change-Id: I04d3559bceb214743695e2a008c1a1383535a635
2016-04-01 14:34:07 +02:00
Wastack
9e596250a6 tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks

Change-Id: Icff7c0308843d6a7608be24d7fcf11fa079c7b72
Reviewed-on: https://gerrit.libreoffice.org/23672
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-01 06:44:34 +00:00
Stephan Bergmann
b36963c0a6 Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
Andrea Gelmini
43d35f56ef Fix typos
Change-Id: I54c32259750c0863a39f56fabaa1a0df7d208c9a
2015-10-06 21:17:27 +02:00
Caolán McNamara
ddc2809202 boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
2015-09-17 14:12:07 +01:00
Caolán McNamara
95af5f51fa V668 no sense in testing the result of new against null
Change-Id: I85993df91bd14966f9175c356966fbd8eb1a927d
2015-03-10 10:48:04 +00:00
Noel Grandin
7f8f277b94 fdo#84938: convert STREAM_ #defines to 'enum class'
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07 11:20:44 +02:00
Stephan Bergmann
17fe6b54cd dbaccess: Use appropriate OUString functions on string constants
Change-Id: I1d63c9123ad985cb3424b0ac0ad30c12e39f8170
2014-12-18 14:12:24 +01:00
Noel Grandin
2979ff295c fdo#38835 strip out OUString globals
Change-Id: I1a435214af102461e02217f7d95248dac14e5f1a
2014-12-08 14:13:17 +02:00
Noel Grandin
86b44e8e78 fdo#38835 strip out OUString globals
Change-Id: I8bc386ffa88e31988bdc778a845403bec0772799
2014-12-05 15:07:17 +02:00
Andrea Gelmini
da40cac540 Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12 11:04:11 +00:00
Michael Stahl
820e64f966 connectivity: firebird: fix temp directory leak
Dispose the dbaccess document, and recursively delete the temp directory
in Connection::dispose().

Change-Id: Id283289e44b8ca09b88da19920da7f27b551aa7e
2014-10-21 15:08:57 +02:00
Stephan Bergmann
b6a79b2c42 Remove dead code
Change-Id: I46ca823d4bfd6ccdb47ce4b4bb793ec81bcc35d9
2014-04-15 16:10:53 +02:00
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Noel Grandin
b41badb803 svtools: sal_Bool->bool
Change-Id: I37352e90a5304e75ce0c8ae922a167b1e70625e8
2014-03-24 08:12:10 +02:00
Lionel Elie Mamane
1b85ffca7d factorise code; make DBTestBase a UnoApiTest
Change-Id: I29c131f60caa36c464d99b9b86a59e2e16ce94e3
2013-11-09 22:34:14 +01:00
Lionel Elie Mamane
7b9a9a4986 make firebird-sdbc an experimental feature
Change-Id: I0f2453e23d18597cfe1ad2a4cd4902b15f0a8f7d
2013-11-09 18:39:18 +01:00
Andrzej J.R. Hunt
981b73c985 Add normal (non PreparedStatement) insert test.
Change-Id: I0f6220917d8a9e8ecce30acbabf8386e73372ed3
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
c058510595 Refactor performance test.
This is to allow for comparing the use of Prepared/Normal statements.

Change-Id: I6e120892f1c66f8b1c59bda309e88b2b7f39d230
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
7c87a5383a Implement firebird/hsqldb performance comparison test.
Change-Id: Iaf28b0fcb04ee713ccae6a593e56653eac6e2eba
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
2fe4dd1e8b Make our_sFilePath protected to allow reuse.
Change-Id: Id760cfd196bb25aa1d982efa0b2b47211680c77e
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
24320dca85 Implement hsqldb loading test.
Change-Id: I7dc6390b1061585054d1fa435414cae245122a1c
2013-09-27 18:09:18 +01:00
Norbert Thiebaud
24f277a4ad Do not use int64 litteral without the proper wrapping
Change-Id: I879a47720f337b57038ac3207cb466aa42d0beeb
2013-09-12 20:37:54 -05:00
Andrzej J.R. Hunt
f7383e8b58 Split reusable parts of Firebird unit test into DBTestBase.
Change-Id: I6b2d131e0e4b53bb6b4cec69c5b0e99b8b9e74a7
2013-09-10 11:28:33 +01:00
Andrzej J.R. Hunt
3f114eb4a2 Implement firebird integer loading test.
This is mainly in order to determine whether the firebird ODS is safely
portable -- if testIntegerDatabase fails on non x64 / non Linux / non LE
platforms then this isn't the case.

Change-Id: I44eb7a774650cec27748b2058e9bb153f32742dc
2013-09-10 08:44:23 +01:00
Andrzej J.R. Hunt
65fc052b89 Add simple embedded firebird .odb loading test.
This opens an "empty" firebird-based .odb and tests that it is possible
for the firebird-sdbc driver to open the embedded database.

"empty" denotes that the .odb is marked as using embedded firebird
but doesn't in fact contain any .fdb file within. This is usual state
of a .odb directly after creation using the "New Database" dialog when
the sdbc driver first opens the database.

Change-Id: I83941c05b6328d8419dca49121988640c6f887bc
2013-09-10 08:44:23 +01:00