summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* remove OUString wrap for string literalsThomas Arnhold2013-06-293-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Improve error messages for the xml-diff based unit tests.Jan Holesovsky2013-05-141-13/+33
| | | | Change-Id: Ided6749ebe4899a6d826d069c38d7b21b467d431
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-063-5/+5
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-308-184/+32
|
* test: clean up namespacingThomas Arnhold2013-04-2629-29/+59
| | | | Change-Id: I7df07176bdbd15fdfdf8f9a7cdb26d4bee12997d
* don't pollute global namespaceThomas Arnhold2013-04-251-1/+2
| | | | Change-Id: Iffeeffb015c59ea787838c737c6a11f6fbef2794
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2337-1548/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-2257-1299/+232
|
* move Python tests in-processMichael Stahl2013-04-092-11/+35
| | | | | | | | | | | | This is nice to make them more easily debuggable. A series of crude hacks are employed to bootstrap enough services from python so the current tests run. This is only tested with system python3 on Fedora. Change-Id: I5e06741e55ead7fddec41ff776ff8ca5d2399469 Reviewed-on: https://gerrit.libreoffice.org/3215 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0729-145/+145
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* new module i18nlangtagEike Rathke2013-04-052-2/+2
| | | | | | | | | | | 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
* Bypass cppunit stuff for non-DESKTOP in more placesTor Lillqvist2013-04-021-0/+4
| | | | | | | | We don't run any cppunit tests for cross-compiled platforms anyway, so no point in compiling that. (Especially as compiling cppunit currently fails in a --enable-werror build at least for Android thanks to -Wundef.) Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
* ResMgr with LanguageTagEike Rathke2013-03-291-3/+2
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-199-48/+48
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-196-26/+25
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* fix other problems found by WundefLuboš Luňák2013-03-181-1/+1
| | | | Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* doubled namespaceThomas Arnhold2013-03-041-2/+0
| | | | Change-Id: I756f4a98b1eedcbe7674e9afd9b06816141688b9
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Use a method from UnoApitest instead of implement a new one in calcMarcos Paulo de Souza2013-01-312-9/+4
| | | | | | | | | | | | | In calc, we see a lot of implementations of createFileURL. So get ride of all it and start to use the UnoAPitest::createFileURL method. Also, clean the UnoApiRest::createFileURL method, fix the path from UnoApiTest and moved some testing files to the right dir that the file belongs. Conflicts: sc/qa/extras/scoutlineobj.cxx Change-Id: Ic02f13777503729ac70da590f4a42866f17ea9b2
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-3/+6
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* sc test XSheetOutlineLaurent Godard2013-01-244-0/+355
| | | | | | | Change-Id: Iea0576e61963dbdb72c88fe332c7cfe3e8ab7ff0 Reviewed-on: https://gerrit.libreoffice.org/1794 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
* sc test for XSheetAnnotationsLaurent Godard2013-01-174-0/+190
| | | | | | | | | Change-Id: Ie5ceb7f8d828eb9c1f4c92996ebb02c8a83f4cac Reviewed-on: https://gerrit.libreoffice.org/1738 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* sc test for XSheetAnnotationLaurent Godard2013-01-174-0/+150
| | | | | | | Change-Id: I1fa77c874c6307ff71ea0aeee653acf1305f2646 Reviewed-on: https://gerrit.libreoffice.org/1736 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Make LO buildable again after the GraphicFilter move.Jan Holesovsky2013-01-041-1/+1
| | | | Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
* re-base on ALv2 code. Includes:Michael Meeks2012-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
* Remove rtl:: from a test in test/Marcos Paulo de Souza2012-11-301-21/+21
| | | | | | | | Change-Id: I151dc2e733c6c3a56d316b931934ff80aa076580 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1205 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Improve error messageStephan Bergmann2012-11-291-1/+3
| | | | Change-Id: Ibaee8bd83e9f34e0258b48d87151ec03c8301a3a
* we really don't need lang-conversion hereEike Rathke2012-11-171-6/+2
| | | | Change-Id: I1f72ca29b2f5b286bfae906dc3ee16581a2b1c36
* cleanup README files.Michael Meeks2012-11-051-6/+4
| | | | | Convert DOS -> unix newlines. Cleanup and clarify several files.
* add a README filesAlia Almusaireae2012-11-051-0/+6
| | | | | | | Change-Id: I4bd9a7d00df220e2a3deae3cc1b7b0f4a1098e24 Reviewed-on: https://gerrit.libreoffice.org/989 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* Fix copy&paste in testMarcos Paulo de Souza2012-11-041-7/+7
| | | | | | | | | Also, change CPPUNIT_ASSERT_MESSAGE to CPPUNIT_ASSERT_EuAL_MESSAGE_EQUAL, as suggested by Markus Mohrhard. Change-Id: I1333e125dafaa98dafc493bd25eb20f0b09c792e Suggested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Signeg-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann2012-10-311-1/+1
| | | | | | | | | | | | | ...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
* String->OUString in tools::ErrorContextNoel Grandin2012-10-091-1/+1
| | | | | | | Change-Id: Ibd0cd3e8d7281b5abde420df5cc1d51e9354069c Reviewed-on: https://gerrit.libreoffice.org/769 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-282-4/+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-282-2/+4
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-282-0/+2
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* move XGoalSeek api test to c++Markus Mohrhard2012-09-254-0/+69
| | | | Change-Id: I689be9776c4d1fe7d931446d62ea8b1fd733de92
* deprecate oustringostreaminserter.hxxNorbert Thiebaud2012-09-188-8/+8
| | | | | | | | | | | | | | | | | | | the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-143-19/+15
| | | | | | | | | | | | | | | | | | | | | | | | | * As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
* Related fdo#51252: No more prereg, no more unopkg syncStephan Bergmann2012-08-101-1/+0
| | | | | | | | | | | | Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
* test: string cleanup in BootstrapFixtureMiklos Vajna2012-08-021-11/+10
| | | | Change-Id: I468c295713fc34b64403a1c31f802820e6608b07
* test::BootstrapFixture: make GraphicConverter workMiklos Vajna2012-08-013-0/+13
| | | | Change-Id: I566448db441eaa324cf619630a2e87cb8cbaeb99
* test: move XMLDiff implementation details to cxx fileMichael Stahl2012-07-132-68/+86
| | | | | | This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-022-8/+2
|
* targetted re-work of cppunit pieces.Michael Meeks2012-06-271-1/+0
|
* re-base on ALv2 code. Includes:Michael Meeks2012-06-221-26/+17
| | | | | | Use ksc5601.h header from XFree86 Project Inc. Patch contributed by Oliver-Rainer Wittmann with minor changes from Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1179296
* WaE: make test msvc2008 warnings freeCaolán McNamara2012-05-181-3/+3
| | | | Change-Id: Ieccb0e425cb505bec3735539ebdf154529fde330