summaryrefslogtreecommitdiff
path: root/testtools
AgeCommit message (Collapse)AuthorFilesLines
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin2-6/+3
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-11new loplugin: memoryvarNoel Grandin1-3/+3
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann3-15/+15
Change-Id: I4024816e38c0196ec502a5d39b8bd50cf6b142fb
2015-11-09com::sun::star->css in testtools/Noel Grandin7-185/+177
Change-Id: I9a44e44b2478b007fba7f86eefcf4fa04d77b37b Reviewed-on: https://gerrit.libreoffice.org/19852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin1-5/+5
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-04yyyyyNoel Grandin3-17/+13
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin1-2/+2
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-25coverity#1326344 Infinite loop is deliberateCaolán McNamara1-0/+1
Change-Id: Ieeae14607127c442b987afc51f2b59692f5334ca
2015-10-15cppcheck:variableScopeNoel Grandin1-2/+2
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-14cid#1326679 DLS: Dead local storeNoel Grandin1-1/+0
Change-Id: I87748b6af4731e5c774962a7a26b008385146a5f
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann6-133/+133
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-2/+2
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-09-29Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifddd2533b767924791338555031b848c59980c52 Reviewed-on: https://gerrit.libreoffice.org/18989 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-09testtools: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe7-18/+16
with the variadic variants. Change-Id: I6c77b9219c772f38005431fed7cd0f4132fab2b9 Reviewed-on: https://gerrit.libreoffice.org/18395 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10ppc64: using a fp register also consumes a gp register slotCaolan McNamara5-0/+21
Change-Id: Idf6f40081f4598c0fa9d1e10bdc208eae49e4cd1 Reviewed-on: https://gerrit.libreoffice.org/16936 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-08loplugin:stringconstantStephan Bergmann1-3/+3
Change-Id: Ia3275dc10ef18fd5978c7422b33012a5b1e4696c
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin2-6/+6
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2-4/+4
Change-Id: I13f61e80a27e58fba347173e5d84464553312836
2015-05-26cppcheck: noExplicitConstructorCaolán McNamara4-4/+4
Change-Id: I955b04396d27e88ce228f180275955071da83ec6
2015-05-08Clean up checks of sal_Bool valuesStephan Bergmann1-2/+2
Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c
2015-04-27More loplugin:simplifyboolStephan Bergmann1-1/+1
Change-Id: I8d8d6220ff597ce416042fe03d86a7e7bb0a3518
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann3-32/+32
Change-Id: I02c70b26b82d2d0357111a127aefc57d3be21320
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: If19e6222cc7dea2a3a4692d2d4cb43ccc46243a2
2015-03-04V813: Decreased performanceCaolán McNamara1-2/+2
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-02-27testtools: mark CurrentContextChecker as DLLPRIVATEMichael Stahl1-1/+1
The problem is that currentcontextchecker.cxx is linked statically into 2 dynamic libraries, and with clang now using -fvisibility-ms-compat since commit f0aa1a78fb209310e8baef53c02f365fca518d11 the ASAN complains about ODR violation in testttols uno_test: ==1818==ERROR: AddressSanitizer: odr-violation (0x2aef08e9c600): [1] size=192 'vtable for testtools::bridgetest::CurrentContextChecker' testtools/source/bridgetest/currentcontextchecker.cxx [2] size=192 'vtable for testtools::bridgetest::CurrentContextChecker' testtools/source/bridgetest/currentcontextchecker.cxx Change-Id: Ie705788dbf035f7a9f64878c6dcf3cec9b7e7ba1
2015-02-07loplugin:deletedspecialStephan Bergmann1-2/+2
Change-Id: I9cdb0d7cb2bb9207923f2beedef0bbe44451fb6f
2015-01-20Some more loplugin:cstylecast: testtoolsStephan Bergmann1-4/+4
Change-Id: I28bce2f4bdbadef2d68130adc6fdc09c9840a005
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara1-4/+2
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-18testtools: Use appropriate OUString functions on string constantsStephan Bergmann2-3/+2
Change-Id: I4258287401e76a2f37f88eeeba5aa11d693a01b8
2014-12-16testtools: Use appropriate OUString functions on string constantsStephan Bergmann2-6/+6
Change-Id: Iacc67a087321e9cf0f699f4eecb334eb7372b885
2014-12-12testtools: Use appropriate OUString functions on string constantsStephan Bergmann2-6/+3
Change-Id: I5cb34d95e2a59ff6a3f5189beb40b7dbf574dc29
2014-12-11java: reduce visibility of fields and methodsNoel Grandin3-4/+4
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05java: remove some unused fieldsNoel Grandin1-5/+0
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
2014-11-27Remove dead dmake makefile.mkStephan Bergmann1-50/+0
Change-Id: If57799fb00ce55818658cce375e1ab0244372772
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann1-1/+3
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin1-3/+1
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin1-4/+4
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-07java: remove unnecessary adding of empty stringsNoel Grandin1-1/+1
Change-Id: I3825ea5fb1eb34ca52659350e202f95abea945a9
2014-09-18Use instsetoo_native-generated uno ini-file for both instdir and instsetsStephan Bergmann1-1/+1
Change-Id: I8aa839fbe621fed798a9d3a33975cbd202fba656
2014-09-16Missing dependency on uno ini-fileStephan Bergmann1-0/+1
Change-Id: I5766aa66da700d5e2962f65510e047655d13a218
2014-08-20remove more unnecessary constructor declarationsNoel Grandin1-1/+1
Change-Id: Ie5a243006b112c2e6daf12992f3dba8baf12748d
2014-08-20java: don't catch and then just rethrow an exceptionNoel Grandin1-10/+3
without doing anything else useful Change-Id: I5803d84d46e0a70e1759f2202e2c2273087f8723
2014-08-19java: use 'Byte.valueOf' instead of 'new Byte'Noel Grandin1-2/+2
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin1-3/+3
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Long.valueOf' instead of 'new Long'Noel Grandin1-3/+3
Change-Id: If4fff3dd37326fbcdd01b743355a16591d71fa69
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2-8/+8
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin1-1/+1
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-14java: remove commented out codeNoel Grandin2-124/+6
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-12java: add @Override annotation to overriding methodsNoel Grandin5-0/+8
Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
2014-08-08java: use an empty block rather than an empty statementNoel Grandin2-2/+2
Change-Id: I05e60964521d6ec3694483816d91359fb12c8e4b