summaryrefslogtreecommitdiff
path: root/basic/qa
AgeCommit message (Collapse)Author
2014-10-23basic: move SbxAppData to a BasicDLL memberMichael Stahl
... so it is deleted by ~SfxApplication. Change-Id: I161bd92eb9b5082d1fdeea603921d0372a4d97e6
2014-09-19vba - disable Currency test / invocation on master.Michael Meeks
We're missing an effective SbxCURRENCY conversion here. Change-Id: Id6530ed3a93623b31089304f3451d9693ab4f3af
2014-09-19vba: add a different variant of the same compatibility function.Michael Meeks
Change-Id: I92bc1dbceea2f10cbb055d97f68b33e575d9be11
2014-09-19vba: initial impl. of compatibility methods.Michael Meeks
Change-Id: Iebc25f1730766e96d2ad6921a8b4d2ea880c63f3
2014-06-04Avoid static BasicDLL (that would be destroyed after DeInitVCL now)Stephan Bergmann
Change-Id: Id8968a7746815ecce79b6eb1ce971b74e770efa4
2014-05-13basic: update descriptions and add some more testsThomas Arnhold
Change-Id: Ice829c70482171bbfc22719e4b9e30c5ac058f5e
2014-05-13basic: Add CDec unit testThomas Arnhold
Change-Id: I9152f00239e5d407f9b33016caadb6a01770fed3
2014-05-02coverity#1209779 & coverity#1209780 Resource leakChris Sherlock
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 Timar
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
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 Grandin
Change-Id: I8121204cdb37d4e1d8967397f3e45bdab6aaddad
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert
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 Nabet
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 Abe
Change-Id: I05569ef98293445916e8f48e7f06abd795fe9bb5
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: I32e4a80e99885c561a30e8f059c9b9a24c4bd3c7
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: I4e47b5194992d3847a689284d7600be92a4ead26
2013-11-11basic: include <> for external includesNorbert Thiebaud
Change-Id: I4715bbe853d60ef15f20a4d2441c688003ca568e
2013-10-28fixincludeguards.sh: basicThomas Arnhold
Change-Id: Id797a8969e42876092da347d8e1bba6195b697dc
2013-10-15clean up SbiScanner::NextSym() a little, fdo#70319 follow-upEike Rathke
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 Rathke
just to make test not fail that was wrong anyway Change-Id: Ibbb8214b64be0e9a82e2bde406abdcfd2e84c734
2013-08-20fix for fdo#62323 fix duplicated and wrong testsNoel Power
Change-Id: I73dc238f7de59367a0a9d00e5421ea6675b4f556
2013-08-20fix for fdo#62323 bad conversion of Hex strings for certain valuesNoel Power
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 Nabet
Change-Id: Idb698e0fc47bfb50db1127edbec4ee92c5b420f3
2013-04-30Move 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-04-05new module i18nlangtagEike Rathke
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 Rathke
Change-Id: I492d991545239539d21fb59de3eccdd1ab56a9af
2013-03-21another variation of the localised Cdbl testNoel Power
Change-Id: Icf6dd7428cb88f1891c6d816a24a4126ea2cc135
2013-03-20tweak basic_coverage test to support locale specific testingNoel Power
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 Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-16coverity#982854 Assign instead of compareJulien Nabet
Change-Id: I9ac6a537da3a945cc48be84559f9ce253a93cd47
2013-03-16coverity#982853 Assign instead of compareJulien Nabet
Change-Id: I51df1f766314ea801ae33d6843b5ce6fc49445ac
2013-03-15unittest and test data for bnc#809017Noel Power
Change-Id: I3ccae692db44bb3ce41b371f0b511a9db7181bf4
2013-03-11remove some rtl:: and RTL_CONSTASCII_USTRINGPARAM fooNoel Power
Change-Id: I68e2891999f306865d00b33fdfef3bc539a34e93
2013-03-11unit tests and data for bnc#805071Noel Power
Change-Id: I36fefa280ee922cbade676c951b753e632c9d8bb
2013-03-08remove duplicate file loading from basic_coverage ( now in MacroSnippet )Noel Power
Change-Id: I1b19fec59419575fcf09d79986b6bac73ea51c9a
2013-03-08fix WAE mbError unusedNoel Power
Change-Id: I03bae6808008dcb0b53b1e816f3fe84739036773
2013-03-07Add some stand alone vba specific tests ( mostly vba only functions )Noel Power
Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73
2013-03-07finally remove no long needed BasicTestBaseNoel Power
Change-Id: Ic1522b0c3a292af061f5777e06e796dd82884fbf
2013-03-07Nested_Struct should really inherit from test::BootstrapFixtureNoel Power
Change-Id: I06255940f41c32493187d1ec847f7238fef4e9f8
2013-03-07adapt existing tests to use MacroSnipper helper classNoel Power
Change-Id: I50980d9510b82277a5da04cc4f6c1d3ec8e7c756
2013-03-07use "doUnitTest" as the method to search for, tweak error reportingNoel Power
Change-Id: I0c0f4ce1304b561bf94af5444c83d8920062568b
2013-03-07Create new Macro helper class to help invoking macros for unittestsNoel Power
Change-Id: Icc3cbfc3eae6ade037960497e7fe2addf1912897
2013-03-05Do not CPPUNIT_FAIL (which throws exceptions) from a destructorStephan Bergmann
...this is a sure way to std::terminate Change-Id: I8753b1b1d6594829ea529462aa0369e4f2f623d4
2013-02-11blind wae fix for PPUNIT_ASSERT_EQUALNoel Power
Change-Id: I0842e354fb766ebbbf2cff57a410a38fb8b8d3b1
2013-02-11fix basic access to nested uno structures fdo#60117Noel Power
Although basic might appear to correctly change nested struct elements fdo#60117 shows that basic can be fooled ( and even the watch(ed) variable in the debugger shows the expected values ). The problem stems from the fact that the uno object held by basic isn't infact modified when changed via the introspection uno service. Additionally pimp the existing tests to check the actual uno struct to see if the changes made are *really* reflected in the object Change-Id: Iff007e17df87148ea81e69d3567c8cf9857fdcaa
2013-02-05fix for fdo#60065Noel Power
squash errors trying to gain object for rhs ( where no object yet exists ( Change-Id: I81548d1c6a32f0445dc18e31c84c3df85163ed45
2012-12-31Remove all rtl:: prefix and RTL_* from basic/qa/cppunit/test_scanner.cxxMarcos Paulo de Souza
Change-Id: Ie9bb6018955faa41c359d18c6b2c10b58fd20db9 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1512 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-29Remove rtl prefixes and some RTL_CONST* from basicMarcos Paulo de Souza
Change-Id: If15d7c97de5295ea7d7f341e6b34acbfc917218d Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1504 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-03basic add a generic unit test fixtureNorbert Thiebaud
basic_coverage is a generic unit test that scan qa/basic_coverage/* each file there is supposed to be a well formed Basic script that define as least a Function doUnitTest as Integer that return 1 if OK, 0 if not OK Change-Id: I6c3cfac1e7ce4748f46c04344102a0eff69b6a49