summaryrefslogtreecommitdiff
path: root/starmath/qa
AgeCommit message (Collapse)Author
2014-10-11convert SFX_CALLMODE constants to SfxCallMode enum classNoel Grandin
and fix a couple of bugs in SC and SW where the call mode was being passed to the hints parameter by accident Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58 Reviewed-on: https://gerrit.libreoffice.org/11916 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11starmath: close SfxObjectShell in unit test to stop temp file leakageMichael Stahl
Change-Id: Iaf2df8a315b3e0c8cdd1f1a4a7d589682384ddaf
2014-05-27Resolves: fdo#77831 use classic token rules for user-defined char (%foo)Caolán McNamara
Change-Id: Iebae064986ad722d445c8d654e39e338e104f021
2014-04-07Replace SV_DECL/IMPL_REF macros with SvRef templateStephan Bergmann
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-02-28TestOutputDevice can't set meOutDevTypeChris Sherlock
One of the StarMath tests was very broken - the issue is in formula tester. It basically sets up its own derived TestOutputDevice. Because it doesn't set meOutDevType (and can't as that's a private member function - I note this whole design is *broken* but I digress) a few things can't get access to a SalGraphics instance. This is fixed by removing the class and changing it to a VirtualDevice - the test runs under headless mode anyway Change-Id: I3d6eba793386e6db3f053aa4e6aab9a4d1c63fc3 Reviewed-on: https://gerrit.libreoffice.org/8395 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-03WaE: unused variable 'sExpected' [loplugin]Tor Lillqvist
Change-Id: I32d774640602566c23303a9816fa3c5926449781
2013-11-03improve starmath test codeMarkus Mohrhard
Change-Id: Ife7e1306ce65dc1d935181553803fbc9266b628c
2013-10-18random OUString to String conversionsNoel Grandin
Change-Id: I9cfb8e7183b9cce7c690f3a43a64b61a2aa8c754
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-05String to OUStringThomas Arnhold
And removed nearly all xub_StrLen in starmath. Some sal_uInt16 which were xub_StrLen before 9a0d753b84aed53083bed3ed460308b771f432a8 are also converted to sal_Int32 where applicable. Change-Id: I31d7794f4c7aa840545edff41a102b76bb39e042 Reviewed-on: https://gerrit.libreoffice.org/5817 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-07-16String.AppendAscii() cleanup in mathRicardo Montania
Change-Id: I567e1a80ab75d6ebdaba52cb9afd47dbd52f39ce Reviewed-on: https://gerrit.libreoffice.org/4933 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-09 Tests for fdo#55853, i#11752, fdo#66081Frédéric Wang
Change-Id: Ifb1fc23c416f47c6618e7ef22a53b1744ff0e2bc Reviewed-on: https://gerrit.libreoffice.org/4748 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-05-30Clean zoom redundances in Math and fix fdo#55929Rodolfo Ribeiro Gomes
Zoom can be handled by sfx2 in many ways: - 50%, 75%, 100%, 150%, 200% - Optimal view (fit in window) - Entire page - Page width The math module was doing the first two by itself. Remove it. Strange enough, state methods for zoom interface definitions on sfx2's appslots.sdi were needed. I thought 'Container' property in sfx.sdi should do the job. It seems to do nothing, though. (The zoom should be disabled only if the object is an OLE/Container). The Help-Ids from pop-up menu in Math/Formula were kept, because they doesn't exist in sfx2. Change-Id: Ie1ae413780551b34aa36b338f9a9df79a198319c Reviewed-on: https://gerrit.libreoffice.org/4076 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
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-02-09remove unused variablesLuboš Luňák
Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-23convert the other test over as wellCaolán McNamara
Change-Id: I82a68d8453b9053ac08e85e02fa011fcae852ca0
2012-11-23try to fix and reenable starmath unit testsCaolán McNamara
Change-Id: I4c2a1476ea6ae12fdebb8301b68eab8060bc86f8
2012-11-14The additional methods of SO2_*_REF over SV_*_REF are now unusedCaolán McNamara
so they can now be replaced by SV_*_REF now Change-Id: I2207d6582cab5f41851064f3d0c773e9421c0078
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann
...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
2012-10-25fix compilation and linking of starmath cppunit testsIvan Timofeev
... but the tests still crash and are disabled. Change-Id: I5df66f21865cac98c38d4ef3684c562784e093b9
2012-10-01String -> OUStringIvan Timofeev
Change-Id: Icdb39e5b5ba38d48f5cc3a4ae371fb77cb981242
2012-08-23convert docx mathml test documents into unittestsLuboš Luňák
There are few small things that do not survive the roundtrip completely accurately, they should be checked somewhen when there's time. But it's better to have these as actual tests rather than just documents somewhere. Change-Id: Ic3732ab8450376820867950438d89e324f391eeb
2012-07-26add tests for RTF_MACC and RTF_MEQARRMiklos Vajna
Change-Id: Id33672d0acef4d79239e0ee8a86d5a244ac736e7
2012-07-06re-base on ALv2 code. Includes:Michael Meeks
mingwport35: i#117796: MinGW fix to VistaFilePickerImpl.cxx Patch contributed by Takashi Ono http://svn.apache.org/viewvc?view=revision&revision=1172092
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-15move zoomitem from svx to sfx2Tim Hardeck
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2. This patch does base on Caolán McNamara's patch he sent to the mailing list. Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-03-12use string literal OUString overloadsLuboš Luňák
2012-01-23make starmath ByteString freeCaolán McNamara
2011-12-08add docx starmath testing documentsLuboš Luňák
It's simply a bunch of documents with various math features in them. It'd be nice to have an automated test built on top of them that checks the formula is the same (roughly, in the meaning, it can't be precise because import adds e.g. extra {}'s) after an export+import roundtrip.
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara
2011-11-27remove include o pch header from starmathNorbert Thiebaud
2011-09-17fdo #37007 Add Math symbol "There does not exist".Julien Nabet
2011-09-12sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed ↵Stephan Bergmann
out a6913c9677c2 For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-06-20Merge branch 'master' into feature/gnumake4Bjoern Michaelsen
Conflicts: starmath/JunitTest_sm_unoapi.mk starmath/Library_sm.mk starmath/Library_smd.mk starmath/Makefile starmath/prj/build.lst starmath/prj/makefile.mk starmath/qa/unoapi/Test.java starmath/source/detreg.cxx starmath/source/register.cxx starmath/source/smdetect.cxx sw/Library_sw.mk sw/Library_swd.mk sw/Library_swui.mk sw/Library_vbaswobj.mk sw/inc/iodetect.hxx sw/inc/swddllapi.h sw/source/filter/basflt/iodetect.cxx
2011-06-17gnumake4: starmath: fix unoapi test [hg:83ae8c87a0ea]Michael Stahl
2011-06-16CWS gnumake4: convert starmath to new build systemMathias Bauer
2011-06-13enter and leave registrations to keep asserts happyCaolán McNamara
2011-05-23make this a non-leaky singletonCaolán McNamara
2011-05-15Drop unneeded <windows.h> which actually causes a compilation errorTor Lillqvist
2011-04-24reenable unit testDavid Tardon
2011-03-29use --xxx instead of -xxx for command line optionsNorbert Thiebaud
2011-03-27migrate starmath subsequenttests to gbuildBjoern Michaelsen
2011-03-27Temporarily disable unit tests broken on DragonFly.Francois Tigeot
2011-03-25Wholesale prewin.h/postwin.h removalFridrich Štrba
2011-03-24windows uses BRAND_BASE_DIR instead of OOO_BASE_DIRCaolán McNamara