summaryrefslogtreecommitdiff
path: root/sc/qa/extras
AgeCommit message (Collapse)Author
2013-06-29remove OUString wrap for string literalsThomas Arnhold
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>
2013-06-07add missing PageSetup.PageSize apiNoel Power
Change-Id: If52fb46f61962827acc08025617d9d61a6ab6d40
2013-05-29add some tests for worksheet_change ( when excited by various range changes )Noel Power
Change-Id: I0399a9557170de7d45f0fffbcb2c00a8f084010b
2013-05-15make some vba Name object attributes read/write and add test documentNoel Power
Change-Id: Ibd12835cc5368080a302b3b8d7c6f52ccc434e3c
2013-05-13fix Workbooks.xls unit test ( was failing on windows )Noel Power
Change-Id: Id1e3a761765c1e860f611f40a78a6c24fa17d055
2013-05-10temporarily disable unit test that fails on windowsNoel Power
Change-Id: Id3cc26b6fbb1ec0ddacf7228e1c147085db415e1
2013-05-09add simple Range.Name testNoel Power
Change-Id: I705e05878015f5c8aad993219ea89ea9d47f07fb
2013-05-09add some Range.value testsNoel Power
Change-Id: I4800ad80f1b447cae03664653285f1917ad3ee7e
2013-05-09add new test for WorkbooksNoel Power
Change-Id: Id271f10ac82ebae9fedd68d30c7f44435d60751d
2013-05-09add OLEObject related testNoel Power
Change-Id: I6ce22ecd6295bd8ad302d0f53c783f4ac2a1a036
2013-05-09some testcases for api generated changed & click events for vba controlsNoel Power
Change-Id: I408c9aa0b80971f326b607b274ce046c27098f74
2013-05-09tweak MiscControls to test simple textbox change eventNoel Power
Change-Id: I256a029afefe5990dfb0c87859bae4508f5920bc
2013-05-09Add check form contrast and IncrememtContrast behaviour in Shapes.xlsNoel Power
Change-Id: I6ef275c6a978db0da59da953511105c407a66f72
2013-05-09Tweak further the indices checked for break, also tweak test documentNoel Power
<sigh> pagebreak implementation is still flawed here, the used range is used to determine whether the page break should be considered ( or not ) Problem is that it is not the used range but rather the rightmost column position that contains content ( but not necessarily the column that contains content but rather the righmost column that has content ( or even that is covered either by spillover from an adjacent column or drawing ) Change-Id: I68c8ccc5911049bc4b2076992f839bc684d966a9
2013-05-09Renable Range-2 vba test as I589b93461b5f4125408f4fc2cb87cd84686f7b95 fixed itNoel Power
note: Change ID I589b93461b5f4125408f4fc2cb87cd84686f7b95 " Fix ScRangeList::Parse wrt defaulted delimiter and default tab params" in addition to fixing problems with Ranges.xls appears also to solve the issue with Range-2.xls Change-Id: I28f53e09a6c7004f766d7e4f2ca9524cc8bbd83f
2013-05-09add Range.Cut checkNoel Power
Change-Id: I6d33ce8fe2333e7920b5c6cf82531ee859352748
2013-05-09re-enable Ranges.xls vba testdocument, additionally remove some failing testsNoel Power
Change-Id: I6289aa7e7872cc0c6aacd89f0679609792d37c28
2013-05-09some extra tests for ListBox.MultiSelection and ListBox.Text apiNoel Power
also tests ListBox.AddItem & ListBox.Clear ( plenty of room to flesh these tests out ) Change-Id: Iddaa5a5e6b406359c6215ad726085d3696e633cf
2013-05-09Add some misc control related vba testsNoel Power
Change-Id: I8a6e2aeb3766a3890c5026129794b25cfa5c7ba5
2013-05-09add test for new vba ReturnInteger typeNoel Power
Change-Id: If8ce9e5ce35c438b31234aab410b37f12eb1b1f4
2013-05-09add new vba test file ( for testing input/output for 'Value' attributes )Noel Power
Change-Id: I7b06c463a11b5d6442f69130e9eee767004e426f
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-26forgot thoseThomas Arnhold
Change-Id: I8ae6f047744581dbddfbd10b08bc6e4fcf34b0de
2013-04-26fixThomas Arnhold
Change-Id: I0b6634e15034fbe9cd77c4149494839152823783
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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
2013-03-20-Werror=undefStephan Bergmann
Change-Id: I0358e4f0d6fe40f37a1db1375600765817f3f19d
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
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>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
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>
2013-03-12re-enable testStarBasic() & testVba() in for Windows ( macosx later )Noel Power
Change-Id: I9f7621fdadbff1c7b1b3d0fbadf43715327e39d6
2013-03-12disable splitcolumn tests that seems to cause problems on some tinderboxesNoel Power
Change-Id: I550141e0ada38d80bfac0a0a296bf3dd9116af71
2013-03-11now that vba import is fixed re-enable the subsequentcheck testsNoel Power
Change-Id: I757e4affaece0d2dc2c1d3174669afdc27d38da3
2013-03-07disable new vba tests ( vba import for certain files appears broken )Noel Power
Change-Id: I589ff778383f6e1a5fa910be687787658cb414a0
2013-03-07disable Ranges-2.xls vba test fileNoel Power
there seems to be some problem ( regression from 3.6 ? ) with dealing with addresses returned from named ranges where the addressing mode of the named range is different from the addressing mode of the document itself Change-Id: Icfcd047819a4d1c89ae9509ea1a2e1b2d5386101
2013-03-07enable bag load of excel specific VBA api testsNoel Power
Note: some of the test documents have some tests disabled in order to run without errors, these are identified by the following lines Rem [#FIXME disabled 3.6 ] in the macro source. note: some of these errors are expected and were always happening, some errors e.g. those pastespecial specific ones in qa/unit/data/xls/TestCalc_Rangetest2.xls seem to be to do with problems with the test harness. note: there are some others ( e.g. in Window.xls & windows2.xls ) that seem to be related to hard sizes and screen resolution ( these should be adjusted sensibly ) Change-Id: I07a43a2802d4e1794ac2f8c648f666b5bcd13a04
2013-02-05Pass DocumentService to the loader during macro tests.Kohei Yoshida
And disable user interaction during type detection, since that would cause the test to fail. With this change, 'make check' works once again. Change-Id: I2f45a2e962e45ee64f7984e794cff814fbfe6dab
2013-01-31port ScOutlineObj to new UnoApiTest ctorMiklos Vajna
That makes 'make subsequentcheck' pass here again. Change-Id: I50d74759b6ae6cd2bfa62a76028dc74931ffb3b0
2013-01-31Use a method from UnoApitest instead of implement a new one in calcMarcos Paulo de Souza
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
2013-01-24sc test XSheetOutlineLaurent Godard
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>
2013-01-17sc test for XSheetAnnotationsLaurent Godard
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>
2013-01-17sc test for XSheetAnnotationLaurent Godard
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>
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
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
2012-12-07-Werror,-Wunused-resultStephan Bergmann
Change-Id: I91633af096dd82960867f3ef6eb962b7b20c3960
2012-12-04re-base on ALv2 code. Includes:Michael Meeks
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.
2012-09-25move XGoalSeek api test to c++Markus Mohrhard
Change-Id: I689be9776c4d1fe7d931446d62ea8b1fd733de92
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
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>
2012-07-15MSVC complains about too many implicit conversionsMichael Stahl
Change-Id: I33b40ec877270de4ed037dfaf6652c07935a727c
2012-07-13Merge branch 'feature/gsoc_test_improvements2'Markus Mohrhard
2012-07-13test: move XMLDiff implementation details to cxx fileMichael Stahl
This makes it unnecessary to link clients against libxml2. Change-Id: Ifd295623c01bdc6f579afbf81d5b609a2b29f4bf
2012-07-09UNO API test for ScEditFieldObj wrt its properties.Kohei Yoshida
To detect a bug such as fdo#50587. Change-Id: I3822af8d592b8aca31c1d4fecc925d0df20d27da