summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit
AgeCommit message (Collapse)Author
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-20Some more loplugin:cstylecast: vclStephan Bergmann
Change-Id: I74d35630b9fcdaa97af0b1f1e6d1e5c72488964d
2015-01-07fix windows buildNoel Grandin
and a handful of other currently uncompiled spots, after my commit 7f8f277b94704a289fbbd1b836e4e5d66311580d "fdo#84938: convert STREAM_ #defines to 'enum class'" Change-Id: I550f6fb850e1d71a6f08767eeb222a18071b89d5
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2014-12-15do not hardcode what specific "generic" bitmap scaling operations useLuboš Luňák
I.e. make it possible for the opengl backend to decide to use a different scaling algorithm. Change-Id: I36e76de071797129c7636b3048c93bc6e5d93aca
2014-12-03No colors anymoreStephan Bergmann
Change-Id: I8335a9fb08c09a95e98bbc8f8727bd2a28332d42
2014-12-02More fear of blueStephan Bergmann
Change-Id: Ib6e2bf2ad9e32f65ac1de96c40eea18557e9aad4
2014-12-02Not all Macs like blue, eitherStephan Bergmann
Change-Id: Ib10b5d592061b7618345c6b2dca596a9af5bbb7d
2014-12-02Blue works better on Mac than greenStephan Bergmann
...for whatever reason, the CPPUNIT_ASSERT_EQUALs failed with 0x057F00 != 0x008000 for COL_GREEN, but appear to work fine for COL_BLUE. Change-Id: I1a5817fc89feff66ceb352d0cf44f9ce2be7908a
2014-12-02CPPUNIT_ASSERT_EQUALStephan Bergmann
Change-Id: I42f9d5532da031d6d979b874a3efc49529418d4c
2014-12-02CPPUNIT_ASSERT_EQUALStephan Bergmann
Change-Id: I846ff9cc1bc1e4e449542ebe04a4dc322cee821e
2014-12-02vcl: improve vcldemo & outdev test.Michael Meeks
Change-Id: I1ebc3c3b3cffabc8ba446ecd45ac2d9b0d45aff1
2014-12-02vcl: initial outdev unit test - for VirtualDevices.Michael Meeks
Change-Id: Ia2bb1f8110c738cfbf6ff84293af115b32abeb93
2014-11-12valgrind+afl: bad rleCaolán McNamara
Change-Id: I0a9e5fc88ed1fcc7f1bd21218cabeb0adf65c9f4
2014-11-12valgrind+afl: short readCaolán McNamara
Change-Id: I4e78a434e4e49b376864549f7b96ca515eb1654a
2014-11-12valgrind+afl: short readCaolán McNamara
Change-Id: I48fe6550c07c1b3d6b1099fd27f8c21427e37601
2014-11-12valgrind+afl: check p1 at start of loopCaolán McNamara
Change-Id: I9ef947d9a9089f2bcf6c86711f10224a03abf394
2014-11-11There are three positive return codes from inflateCaolán McNamara
#define Z_OK 0 #define Z_STREAM_END 1 #define Z_NEED_DICT 2 and we don't support dictionaries, so a Z_NEED_DICT return creates an infinite loop Change-Id: Iafb1da594962b3cb456a3223cc6d4122791718c5
2014-11-05idle: unit test.Michael Meeks
Change-Id: Ie48fb4260bf580010715777bc63974e4d635aed8
2014-11-05idle: implement ProcessAllIdleHandlers.László Németh
It is often useful to flush all pending idle / GUI work for testing and/or profiling - so make that easy to do with this new method. Also tag idle Timers with a boolean, for ease of use. Change-Id: I57e883be8fe8637b3715008e8074d0fa258ca0c3
2014-11-05markup with event type not checker typeCaolán McNamara
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-28coverity#982593 experiment with silencing Infinite loopCaolán McNamara
etc. Change-Id: I1548d60280ab4f74fe023d026435a05f7865b516
2014-10-13vcl: Make ImplFontCharMap a pImpl and move functions to FontCharMapChris Sherlock
To do this, I've made FontCharMap a friend class for ImplFontCharMap, and have moved the functions directly into FontCharMap. In this patch, I am attempting to stop the direct use of ImplFontCharMap by anything other than FontCharMap. However, FontCharMap itself requires a refcounter, so we will use FontCharMapPtr to access the font character map. Change-Id: I509b990a8cbd911c5cc1572c7d24fc5348ca06d9 Reviewed-on: https://gerrit.libreoffice.org/11823 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-10-10coverity#1244943 Resource leakCaolán McNamara
Change-Id: Ibee999fada60eed067d0d4e44a94294084529294
2014-10-06vcl: FontCharMap to use intrusive_ptr ImplFontCharMapChris Sherlock
ImplFontCharMap was using it's own reference counting mechanism, however we can use intrusive_ptr more effectively. Added a unit test around FontCharMap. Change-Id: Ifab6ce002fd1df8feb7e017dea3012ff9ea7f18a Reviewed-on: https://gerrit.libreoffice.org/11804 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-09-25vcl: try to make clang tinderbox happy about new timer testMichael Stahl
Change-Id: I15ae1693e92e430c78b5d73c12a7bae297c098bb
2014-09-25fdo#84000 - unit test timers / main-loop bits.Michael Meeks
At least test Unix platforms. Change-Id: I960343cb9622474fe48687a5e458e1c6dbe55358
2014-09-24add test case for EDB-34720Caolán McNamara
Change-Id: I9ef73811b93dfff502a2430a1e3e9aa3b46c9935
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-08-22WaE: Unreferenced function declarationsTor Lillqvist
Change-Id: I86087bac83de9756a1645fef6f0d74306f8d010d
2014-08-22remove special casing for default theme in vclBjoern Michaelsen
Change-Id: I4d7a37ab9b31fcce7704f07d883d6f7806f066ec
2014-08-13valgrind + bff: don't add 0xffff oldcodeCaolán McNamara
Invalid read of size 1 at 0x9DC6247: GIFLZWDecompressor::AddToTable(unsigned short, unsigned short) (decode.cxx:117) Change-Id: I9cea8dcd4a5eeaa1e793b9be96f82854b9d088af
2014-07-20bnc#881024 test font size at world transformTomaž Vajngerl
Change-Id: If9b09b69ccd890e45d963422ccedb711585f6434
2014-06-10MetafileXmlDump: No need to specify the stream, simplify the API.Jan Holesovsky
Change-Id: Ia08f67e359bbd26cefdba8661f0b0c4ae2147382
2014-06-05WMF record size < 3 is clearly brokenStephan Bergmann
...so we should not attempt to (mis-)interpret such broken input. Change-Id: I97f4f46fdfc0dfe6f9aff42917d23634b844c7f0
2014-05-27mark QA file non-translatableAndras Timar
Change-Id: I19f10c40151ebfea9b02bfe5df7c31b157188351
2014-05-24cppcheck: redundantAssignmentThomas Arnhold
Change-Id: Ia53ac439c785e83de380fddd201ad4159f729cb2
2014-05-19Argh, *this* is what the compiler tried to tell meTor Lillqvist
Change-Id: Id5716bf6f9c86e7fa0d64b1bae9b69b4a5dadfe5
2014-05-19Fix 'non-const lvalue reference cannot bind to a temporary'Tor Lillqvist
Change-Id: Ic308a281f7b16c8924658be792216d3aba4444c5
2014-05-19WaE: passing OUString by value, rather pass by referenceTor Lillqvist
Change-Id: I6a7331ab3d87cc04021e92283db938c92b066e6b
2014-05-19vcl emf test: test clip region is correct for problematic filesTomaž Vajngerl
Change-Id: I60caf9ebcff417e0f87bae9c6b5d308b5e2f0b37
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-15vcl wmf test: null terminate streamTomaž Vajngerl
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
2014-05-15loplugin:unreffunStephan Bergmann
Change-Id: I10ca928ce30631b531a2549985b54ca071efb79c
2014-05-15wmf: test that non-placeable WMF uses correct sizesTomaž Vajngerl
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-04-18add some jpeg format testsCaolán McNamara
Change-Id: I17347c638b5c6c72e740aaa995339a8ff33609bc
2014-04-18add a testcase for CVE-2008-1097 bmpCaolán McNamara
Change-Id: I3b1b315654fbb2a35785a87540f7da03d2d7301c