summaryrefslogtreecommitdiff
path: root/basic/qa
AgeCommit message (Collapse)AuthorFilesLines
2015-01-23Related fdo#87834: add 2 unit testsJulien Nabet2-0/+30
Change-Id: I4735b15c9535dc17665629510fdafe3dd4086e0b Reviewed-on: https://gerrit.libreoffice.org/13708 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-19Fix typo comments Resouce->ResourceAndrea Gelmini1-1/+1
Change-Id: Ia3195a21ad46b4c9830ee6293135dfe5945986a2 Reviewed-on: https://gerrit.libreoffice.org/13985 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-11Related: #i94895# revert the part of revision 1650261Tsutomu Uchino1-1/+1
replaced string should be starting with the start postion if specified (cherry picked from commit 68c6265584fb6cb0469098507dd287e6e1127324) Conflicts: basic/source/runtime/methods.cxx Change-Id: Ib729facfa78ffddebc258440324f05d037fae46f
2015-01-09Resolves: #i94895# fix illegal result of Replace runtime function"Caolán McNamara1-1/+1
and adjust the basic test-case, which is surely wrong The syntax for REPLACE is: // Replace(expression, find, replace[, start[, count[, compare]]]) surely in the case of a start of 3 the preceeding chars should be returned unchanged in the result, not stripped off as before this change. This reverts commit 869402a58720b45e7227438b2e56e5a9532c0000. Change-Id: Ie710e4de9e7e35c84abe2770142a963532820af4
2014-12-30Rename "Mid" unit tests to distinguish cases with 2 and 3 argsJulien Nabet4-0/+0
Change-Id: Ie9241d0a28dc3871c9242123c9f000100e1a2fa1
2014-12-18basic: Use appropriate OUString functions on string constantsStephan Bergmann1-30/+30
Change-Id: I43f99ba6759b0f8f633af784beaec583dbab0b9e
2014-12-05fdo#38835 strip out OUString globalsNoel Grandin1-6/+6
Change-Id: I8bc386ffa88e31988bdc778a845403bec0772799
2014-10-23basic: move SbxAppData to a BasicDLL memberMichael Stahl1-1/+1
... so it is deleted by ~SfxApplication. Change-Id: I161bd92eb9b5082d1fdeea603921d0372a4d97e6
2014-09-19vba - disable Currency test / invocation on master.Michael Meeks2-3/+5
We're missing an effective SbxCURRENCY conversion here. Change-Id: Id6530ed3a93623b31089304f3451d9693ab4f3af
2014-09-19vba: add a different variant of the same compatibility function.Michael Meeks2-1/+106
Change-Id: I92bc1dbceea2f10cbb055d97f68b33e575d9be11
2014-09-19vba: initial impl. of compatibility methods.Michael Meeks4-7/+94
Change-Id: Iebc25f1730766e96d2ad6921a8b4d2ea880c63f3
2014-06-04Avoid static BasicDLL (that would be destroyed after DeInitVCL now)Stephan Bergmann1-7/+2
Change-Id: Id8968a7746815ecce79b6eb1ce971b74e770efa4
2014-05-13basic: update descriptions and add some more testsThomas Arnhold1-6/+20
Change-Id: Ice829c70482171bbfc22719e4b9e30c5ac058f5e
2014-05-13basic: Add CDec unit testThomas Arnhold2-0/+73
Change-Id: I9152f00239e5d407f9b33016caadb6a01770fed3
2014-05-02coverity#1209779 & coverity#1209780 Resource leakChris Sherlock1-0/+2
Have the testBasics() function clean up after itself - delete p2 and p4 at the end of the function. Change-Id: Ib0c732e1962da94fde0e0da307f610dd36f49eda
2014-04-17remove executable bitAndras Timar1-0/+0
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann2-2/+2
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-13basic: prefer passing OUString and OString by referenceNoel Grandin1-4/+4
Change-Id: I8121204cdb37d4e1d8967397f3e45bdab6aaddad
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert1-0/+1
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-22Add some unit-tests for Mid vb function (includes fdo#73771)Julien Nabet4-0/+60
Change-Id: Ib5ee18207897cbe16a818096769cdb055dc9dad7 Reviewed-on: https://gerrit.libreoffice.org/7583 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-12-08Drop duplicate #includeTakeshi Abe1-1/+0
Change-Id: I05569ef98293445916e8f48e7f06abd795fe9bb5
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-34/+24
Change-Id: I32e4a80e99885c561a30e8f059c9b9a24c4bd3c7
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-10/+1
Change-Id: I4e47b5194992d3847a689284d7600be92a4ead26
2013-11-11basic: include <> for external includesNorbert Thiebaud5-29/+29
Change-Id: I4715bbe853d60ef15f20a4d2441c688003ca568e
2013-10-28fixincludeguards.sh: basicThomas Arnhold1-2/+2
Change-Id: Id797a8969e42876092da347d8e1bba6195b697dc
2013-10-15clean up SbiScanner::NextSym() a little, fdo#70319 follow-upEike Rathke1-13/+16
Number recognition was suboptimal and didn't properly resync scan positions after having detected an error. Change-Id: I278fdaaf17ed40560785deaaad0e3412a249d90a
2013-10-14work around crappy SbiScanner::NextSym(), fdo#70319Eike Rathke1-1/+3
just to make test not fail that was wrong anyway Change-Id: Ibbb8214b64be0e9a82e2bde406abdcfd2e84c734
2013-08-20fix for fdo#62323 fix duplicated and wrong testsNoel Power2-4/+4
Change-Id: I73dc238f7de59367a0a9d00e5421ea6675b4f556
2013-08-20fix for fdo#62323 bad conversion of Hex strings for certain valuesNoel Power4-0/+72
Basic hex literals are basic Integer ( e.g. 4 byte ) types with -2,147,483,648 through 2,147,483,647 range. Interally the scanner was using a long to form/scan the literal, this led to bad behaviour on 64bit linux ( where normally long -> 8 bytes ) Change-Id: I1d0fcc55ed0eda636da1445329737d1684e69f33
2013-06-01typo lengthJulien Nabet1-1/+1
Change-Id: Idb698e0fc47bfb50db1127edbec4ee92c5b420f3
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks3-3/+3
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák4-13/+13
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-04-05new module i18nlangtagEike Rathke1-1/+1
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
2013-03-21added unit test for 10e308 math overflowEike Rathke1-0/+11
Change-Id: I492d991545239539d21fb59de3eccdd1ab56a9af
2013-03-21another variation of the localised Cdbl testNoel Power1-0/+14
Change-Id: Icf6dd7428cb88f1891c6d816a24a4126ea2cc135
2013-03-20tweak basic_coverage test to support locale specific testingNoel Power2-2/+56
in basic some function results are influenced by locale, now in the basic_coverage directory you can have sub dirs ( named by the proper locale e.g. de-DE etc. ) and any macros found there will be run in the desired locale Change-Id: I625ee58d37493f83a15a62214bde6708e8fa75f7
2013-03-19further OUString cleanupThomas Arnhold1-1/+1
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-16coverity#982854 Assign instead of compareJulien Nabet1-2/+2
Change-Id: I9ac6a537da3a945cc48be84559f9ce253a93cd47
2013-03-16coverity#982853 Assign instead of compareJulien Nabet1-1/+1
Change-Id: I51df1f766314ea801ae33d6843b5ce6fc49445ac
2013-03-15unittest and test data for bnc#809017Noel Power2-3/+28
Change-Id: I3ccae692db44bb3ce41b371f0b511a9db7181bf4
2013-03-11remove some rtl:: and RTL_CONSTASCII_USTRINGPARAM fooNoel Power1-12/+13
Change-Id: I68e2891999f306865d00b33fdfef3bc539a34e93
2013-03-11unit tests and data for bnc#805071Noel Power4-4/+124
Change-Id: I36fefa280ee922cbade676c951b753e632c9d8bb
2013-03-08remove duplicate file loading from basic_coverage ( now in MacroSnippet )Noel Power1-32/+5
Change-Id: I1b19fec59419575fcf09d79986b6bac73ea51c9a
2013-03-08fix WAE mbError unusedNoel Power1-2/+0
Change-Id: I03bae6808008dcb0b53b1e816f3fe84739036773
2013-03-07Add some stand alone vba specific tests ( mostly vba only functions )Noel Power9-0/+1244
Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73
2013-03-07finally remove no long needed BasicTestBaseNoel Power1-29/+0
Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf
2013-03-07Nested_Struct should really inherit from test::BootstrapFixtureNoel Power1-2/+2
Change-Id: I06255940f41c32493187d1ec847f7238fef4e9f8
2013-03-07adapt existing tests to use MacroSnipper helper classNoel Power3-193/+75
Change-Id: I50980d9510b82277a5da04cc4f6c1d3ec8e7c756
2013-03-07use "doUnitTest" as the method to search for, tweak error reportingNoel Power1-3/+5
Change-Id: I0c0f4ce1304b561bf94af5444c83d8920062568b
2013-03-07Create new Macro helper class to help invoking macros for unittestsNoel Power1-0/+137
Change-Id: Icc3cbfc3eae6ade037960497e7fe2addf1912897